| /arkcompiler/ets_frontend/ets2panda/ir/ |
| D | typed.h | 31 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/ |
| D | optionalLowering.cpp | 98 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/ |
| 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/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
|
| D | recipe29.md | 15 - All typed arrays from the standard library (for example, ``Int32Array``), which
|
| /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/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/ets_runtime/test/moduletest/typedarrayrelease/ |
| D | typedarrayrelease.js | 23 …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/ |
| 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/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/linter/test/main/ |
| 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/test/ast/compiler/ets/ |
| D | objectLiteralInterface2.sts | 23 /* @@@ label Error TypeError: Object literal cannot be of typed interface type */
|
| /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/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 | 56 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/ |
| D | ets_stubs.h | 33 // Comparison slowpath for value-typed references
|
| /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:
|