Home
last modified time | relevance | path

Searched full:typed (Results 1 – 25 of 107) sorted by relevance

12345

/arkcompiler/ets_frontend/ets2panda/ir/
Dtyped.h31 class Typed : public T {
33 Typed() = delete;
34 ~Typed() override = default;
36 NO_COPY_OPERATOR(Typed);
37 NO_MOVE_SEMANTIC(Typed);
60 explicit Typed(AstNodeType const type) : T(type) {} in Typed() function
61 explicit Typed(AstNodeType const type, ModifierFlags const flags) : T(type, flags) {} in Typed() function
64 Typed(Typed const &other) : T(static_cast<T const &>(other)) {} in Typed() function
70 class TypedAstNode : public Typed<AstNode> {
79 explicit TypedAstNode(AstNodeType const type) : Typed<AstNode>(type) {} in TypedAstNode()
[all …]
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
DoptionalLowering.cpp98 auto typed = expr->AsMemberExpression(); in FindOptionalInChain() local
99 return typed->IsOptional() ? typed : FindOptionalInChain(typed->Object()); in FindOptionalInChain()
102 auto typed = expr->AsCallExpression(); in FindOptionalInChain() local
103 return typed->IsOptional() ? typed : FindOptionalInChain(typed->Callee()); in FindOptionalInChain()
/arkcompiler/ets_runtime/test/aottest/ldobjbyname_typed_path/
Dldobjbyname_typed_path.ts27 // Expects AOT typed path.
35 // Expects AOT typed path
44 // Expects AOT typed path.
52 // Expects AOT typed path.
65 // Expects AOT typed path.
74 // Expects AOT typed path.
89 // Expects AOT typed path
125 // Expects AOT Typed path (if array stability is kept) since HClass of Array.prototype is not chang…
134 // Expects AOT Typed path (if array stability is kept) since HClass of Array.prototype is still not…
/arkcompiler/ets_frontend/ets2panda/linter/docs/rules/
Drecipe151.md12 with values that originate from interop: other ``ESObject`` typed variables,
14 initialize ``ESObject`` typed variable with statically typed value. Varaible
28 let e0: ESObject = foo(); // CTE - ``ESObject`` typed variable can only be local
Drecipe143.md9 in runtime does not make sense for the statically typed language. Use ordinary
Drecipe146.md8 correctly typed to be compiled and run. "Suppressing" type checker in-place
Drecipe2.md9 because its most popular use cases make no sense in the statically typed
Drecipe29.md15 - All typed arrays from the standard library (for example, ``Int32Array``), which
/arkcompiler/runtime_core/static_core/docs/
Drationale-for-bytecode.md199 It may seem that the dynamically typed approach is better for dynamically typed languages, but it
208 Thus, as we are required to support multiple languages (both statically and dynamically typed),
209 **Panda uses statically-typed bytecode**.
211 There may be a concern: Does a statically typed bytecode forbid us to support a dynamically typed
212 language? No, it does not. In practice, it is always possible to compile a dynamically typed
213 language to some statically typed instruction set: after all, all native hardware instructions
214 sets are "statically-typed" in our terminology.
216 There may be another concern: Does a statically-typed bytecode imply statically-typed registers?
/arkcompiler/runtime_core/docs/
Drationale-for-bytecode.md199 It may seem that the dynamically typed approach is better for dynamically typed languages, but it
208 Thus, as we are required to support multiple languages (both statically and dynamically typed),
209 **Panda uses statically-typed bytecode**.
211 There may be a concern: Does a statically typed bytecode forbid us to support a dynamically typed
212 language? No, it does not. In practice, it is always possible to compile a dynamically typed
213 language to some statically typed instruction set: after all, all native hardware instructions
214 sets are "statically-typed" in our terminology.
216 There may be another concern: Does a statically-typed bytecode imply statically-typed registers?
/arkcompiler/ets_frontend/ets2panda/linter/test/extended_features/
D@arkts.collections.d.ets34 * Callback function used in the typed Array's 'from' function.
47 * Callback function used in typed Array functions which needs to determine
63 * Callback function used in typed Array functions that perform specific action for each element.
77 …* Callback function used in typed Array functions that perform specific action for each element and
91 * Callback function used in typed Array functions that require a reduction.
107 * Callback function used in the typed Array's 'sort' function.
948 * different typed arrays. ArrayBuffers cannot be read from or written to directly,
949 * but can be passed to a typed array or DataView Object to interpret the raw
1004 * A typed array of 8-bit integer values. The contents are initialized to 0.
1111 * that will be exposed by the typed array view.
[all …]
/arkcompiler/runtime_core/static_core/irtoc/backend/
Doptions.yaml34 - typed
39 typed - same as full but without dynamic methods
/arkcompiler/ets_runtime/test/moduletest/typedarrayrelease/
Dtypedarrayrelease.js23 …ims to check whether proto modifying causes out-of-bounds write of the newly generated typed array.
37 // This case aims to check while proto was modified, type conversion of the newly generated typed a…
/arkcompiler/runtime_core/static_core/tests/cts-coverage-tool/config/
Dnon_testable.yaml21 description: In dynamically-typed language context load string as 'any' value.
24 description: In dynamically-typed language context accept 'any' values in source
/arkcompiler/ets_frontend/testTs/expect/jsdoc/
DtypeTagWithGenericSignature.txt1 … 3}, {'tag': 2, 'value': 0}, {'tag': 2, 'value': 0}, {'tag': 5, 'value': 'typed'}, {'tag': 2, 'val…
/arkcompiler/runtime_core/static_core/plugins/ets/doc/tutorial/
Dintro.rst40 |LANG| imposes stricter limitations on the |TS|'s dynamically typed features,
41 reducing runtime overhead, and allowing faster execution. As dynamically typed
/arkcompiler/ets_frontend/ets2panda/linter/test/rules/
Drule151.sts177 let q1: ESObject = 1; // CTE - ``ESObject`` typed variable can only be local
178 let q2: ESObject = fooOh(); // CTE - ``ESObject`` typed variable can only be local
179 let q3: ESObject = q2; // CTE - ``ESObject`` typed variable can only be local
/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Des_object.sts177 let q1: ESObject = 1; // CTE - ``ESObject`` typed variable can only be local
178 let q2: ESObject = fooOh(); // CTE - ``ESObject`` typed variable can only be local
179 let q3: ESObject = q2; // CTE - ``ESObject`` typed variable can only be local
/arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/
DobjectLiteralInterface2.sts23 /* @@@ label Error TypeError: Object literal cannot be of typed interface type */
/arkcompiler/ets_runtime/test/aottest/pgo_forof_set_prototype/
Dexpect_output.txt56 after change obj(typed array).__proto__
Dpgo_expect_output.txt56 after change obj(typed array).__proto__
/arkcompiler/runtime_core/tests/cts-coverage-tool/config/
Dnon_testable.yaml21 description: In dynamically-typed language context load string as 'any' value.
24 description: In dynamically-typed language context accept 'any' values in source
/arkcompiler/ets_frontend/ets2panda/ast_verifier/
DnodeHasType.cpp56 const auto *typed = static_cast<const ir::TypedAstNode *>(ast); in operator ()() local
57 if (typed->TsType() == nullptr) { in operator ()()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/
Dets_stubs.h33 // Comparison slowpath for value-typed references
/arkcompiler/runtime_core/static_core/compiler/docs/
Descape_analysis.md17 …ate to each basic block (BasicBlockState) that binds an object state to each ref-typed instruction.
66 for each ref-typed instruction inst from block's live ins:

12345