Home
last modified time | relevance | path

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

1234

/arkcompiler/ets_frontend/ets2panda/ir/
Dtyped.h32 class Typed : public T {
34 Typed() = delete;
35 ~Typed() override = default;
37 NO_COPY_OPERATOR(Typed);
38 NO_MOVE_SEMANTIC(Typed);
77 explicit Typed(AstNodeType const type) : T(type) {} in Typed() function
78 explicit Typed(AstNodeType const type, ModifierFlags const flags) : T(type, flags) {} in Typed() function
81 Typed(Typed const &other) : T(static_cast<T const &>(other)) {} in Typed() function
87 class TypedAstNode : public Typed<AstNode> {
96 explicit TypedAstNode(AstNodeType const type) : Typed<AstNode>(type) {} in TypedAstNode()
[all …]
DastNode.h71 class Typed; variable
135 Typed<AstNode> *AsTyped() in AST_NODE_REINTERPRET_MAPPING()
138 return reinterpret_cast<Typed<AstNode> *>(this); in AST_NODE_REINTERPRET_MAPPING()
141 Typed<AstNode> const *AsTyped() const in AST_NODE_REINTERPRET_MAPPING()
144 return reinterpret_cast<Typed<AstNode> const *>(this); in AST_NODE_REINTERPRET_MAPPING()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
DoptionalLowering.cpp99 auto typed = expr->AsMemberExpression(); in FindOptionalInChain() local
100 return typed->IsOptional() ? typed : FindOptionalInChain(typed->Object()); in FindOptionalInChain()
103 auto typed = expr->AsCallExpression(); in FindOptionalInChain() local
104 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/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/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
/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/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/
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/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/test/ast/compiler/ets/
DobjectLiteralInterface2.sts23 /* @@? 21:28 Error TypeError: Object literal cannot be of typed interface type */
/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.cpp55 const auto *typed = static_cast<const ir::TypedAstNode *>(ast); in operator ()() local
56 if (typed->TsType() == nullptr) { in operator ()()
/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/static_core/plugins/ets/runtime/
Dets_stubs.h29 // Comparison slowpath for value-typed references
/arkcompiler/ets_frontend/test262/
Dignored-test262-debug-x64-aot-pgo.txt8 test262/data/test_es2021/built-ins/Array/prototype/concat/Array.prototype.concat_large-typed-array.…
9 test262/data/test_es2021/built-ins/Array/prototype/concat/Array.prototype.concat_small-typed-array.…
/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:

1234