| /arkcompiler/ets_frontend/ets2panda/ir/ |
| D | typed.h | 32 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 …]
|
| D | astNode.h | 71 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/ |
| D | optionalLowering.cpp | 99 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/ |
| D | ldobjbyname_typed_path.ts | 27 // 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/ |
| D | rationale-for-bytecode.md | 199 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/ |
| D | rationale-for-bytecode.md | 199 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/ |
| D | recipe151.md | 12 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
|
| D | recipe143.md | 9 in runtime does not make sense for the statically typed language. Use ordinary
|
| D | recipe146.md | 8 correctly typed to be compiled and run. "Suppressing" type checker in-place
|
| D | recipe2.md | 9 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.ets | 34 * 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/ |
| D | options.yaml | 34 - typed 39 typed - same as full but without dynamic methods
|
| /arkcompiler/runtime_core/static_core/tests/cts-coverage-tool/config/ |
| D | non_testable.yaml | 21 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/ |
| D | typeTagWithGenericSignature.txt | 1 … 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/ |
| D | intro.rst | 40 |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/ |
| D | es_object.sts | 177 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/ |
| D | rule151.sts | 177 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/ |
| D | objectLiteralInterface2.sts | 23 /* @@? 21:28 Error TypeError: Object literal cannot be of typed interface type */
|
| /arkcompiler/runtime_core/tests/cts-coverage-tool/config/ |
| D | non_testable.yaml | 21 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/ |
| D | nodeHasType.cpp | 55 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/ |
| D | expect_output.txt | 56 after change obj(typed array).__proto__
|
| D | pgo_expect_output.txt | 56 after change obj(typed array).__proto__
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/ |
| D | ets_stubs.h | 29 // Comparison slowpath for value-typed references
|
| /arkcompiler/ets_frontend/test262/ |
| D | ignored-test262-debug-x64-aot-pgo.txt | 8 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/ |
| D | escape_analysis.md | 17 …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:
|