| /arkcompiler/ets_frontend/ets2panda/test/parser/ts/ |
| D | test-ts-type-predicate.ts | 10 * distributed under the License is distributed on an "AS IS" BASIS, 24 function function2(asserts: number | string): asserts is number { return }; 25 var var2: (asserts: number | string) => asserts is number; 28 (asserts: number | string): asserts is number; property 29 (asserts: { a: number | string }): asserts is this; property 32 function function3(is: number | string): is is number { return }; 33 var var3: (is: number | string) => is is number; 36 (is: number | string): is is number; property 37 (is: { a: number | string }): is is this; property 40 function function4(a: number | string): a is number { return }; [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/parser/ts/ |
| D | test-ts-type-predicate.ts | 10 * distributed under the License is distributed on an "AS IS" BASIS, 24 function function2(asserts: number | string): asserts is number { return }; 25 var var2: (asserts: number | string) => asserts is number; 28 (asserts: number | string): asserts is number; property 29 (asserts: { a: number | string }): asserts is this; property 32 function function3(is: number | string): is is number { return }; 33 var var3: (is: number | string) => is is number; 36 (is: number | string): is is number; property 37 (is: { a: number | string }): is is this; property 40 function function4(a: number | string): a is number { return }; [all …]
|
| /arkcompiler/ets_runtime/test/aottest/tryldglobalbyname_global_object/ |
| D | expect_output.txt | 9 # distributed under the License is distributed on an "AS IS" BASIS, 16 ReferenceError: Function is not defined 19 ReferenceError: RangeError is not defined 22 ReferenceError: Error is not defined 25 ReferenceError: Object is not defined 28 ReferenceError: SyntaxError is not defined 31 ReferenceError: TypeError is not defined 34 ReferenceError: ReferenceError is not defined 37 ReferenceError: URIError is not defined 40 ReferenceError: Symbol is not defined [all …]
|
| /arkcompiler/runtime_core/static_core/docs/ |
| D | doxygen.config | 6 # All text after a double hash (##) is considered a comment and is placed in 7 # front of the TAG it is preceding. 9 # All text after a single hash (#) is considered a comment and will be ignored. 10 # The format is: 21 # that follow. The default is UTF-8 which is also the encoding used for all text 25 # The default value is: UTF-8. 29 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded by 31 # project for which the documentation is generated. This name is used in the 33 # The default value is: My Project. 39 # control system is used. [all …]
|
| D | glossary.md | 6 development of compilers and interpreters is confusing in some cases. This document describes what 12 compilation" are used to indicate that the source code or bytecode is compiled before actual 13 execution. In case of Panda Runtime, AOT compilation is used to compile Panda Bytecode into 17 * **Compiler** is a tool that performs source code or bytecode translation, optimization and 19 * **IR** stands for **Intermediate Representation**. IR is an internal compiler data structure 25 compilation" are used to indicate that the source code or bytecode is compiled during program 26 execution. In case of Panda Runtime, JIT compilation is used to compile Panda Bytecode into 29 * **Panda Assembler** is a tool that translates **Panda Assembly Language** 31 * **Panda Assembly Language** is a low-level programming language retaining very strong 34 * **Panda Binary File** or **Panda File** or **PF** is a binary representation of Panda Bytecode. [all …]
|
| /arkcompiler/runtime_core/docs/ |
| D | doxygen.config | 6 # All text after a double hash (##) is considered a comment and is placed in 7 # front of the TAG it is preceding. 9 # All text after a single hash (#) is considered a comment and will be ignored. 10 # The format is: 21 # that follow. The default is UTF-8 which is also the encoding used for all text 25 # The default value is: UTF-8. 29 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded by 31 # project for which the documentation is generated. This name is used in the 33 # The default value is: My Project. 39 # control system is used. [all …]
|
| D | glossary.md | 6 development of compilers and interpreters is confusing in some cases. This document describes what 12 compilation" are used to indicate that the source code or bytecode is compiled before actual 13 execution. In case of Panda Runtime, AOT compilation is used to compile Panda Bytecode into 17 * **Compiler** is a tool that performs source code or bytecode translation, optimization and 19 * **IR** stands for **Intermediate Representation**. IR is an internal compiler data structure 25 compilation" are used to indicate that the source code or bytecode is compiled during program 26 execution. In case of Panda Runtime, JIT compilation is used to compile Panda Bytecode into 29 * **Panda Assembler** is a tool that translates **Panda Assembly Language** 31 * **Panda Assembly Language** is a low-level programming language retaining very strong 34 * **Panda Binary File** or **Panda File** or **PF** is a binary representation of Panda Bytecode. [all …]
|
| /arkcompiler/runtime_core/compiler/docs/ |
| D | reg_alloc_graph_coloring_doc.md | 17 This paper describes register allocation algorithm that is based on ideas of Chordal-graph coloring… 18 …is described in works of Sebastian Hack and Fernando Pereira. It is based on observation that prog… 19 …hs") to construct PEO is used Max Cardinality Search (MCS) algorithm. In this implementation was u… 23 …is built by liveness-intervals, algorithm under the hood is the same as in Linear-scan from works … 26 If interval is pre-colored, this value is set as pre-color for node. And input parameters is marked… 27 Here additionally to the built graph with regular edges that represent interference, it is built af… 31 … MCS or LexBFS (that is reverse PEO), one by one is colored by a Greedy coloring algorithm. Greedy… 36 There are two classes of approaches for coalescing, that is: 37 …is known to potentially can increase register pressure, and make graph G’ not K-colorable as origi… 38 …is a way when in front of coloring nodes are “hinted” with preferred colors. And on stage of color… [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/docs/ |
| D | reg_alloc_graph_coloring_doc.md | 17 This paper describes register allocation algorithm that is based on ideas of Chordal-graph coloring… 18 …is described in works of Sebastian Hack and Fernando Pereira. It is based on observation that prog… 19 …hs") to construct PEO is used Max Cardinality Search (MCS) algorithm. In this implementation was u… 23 …is built by liveness-intervals, algorithm under the hood is the same as in Linear-scan from works … 26 If interval is pre-colored, this value is set as pre-color for node. And input parameters is marked… 27 Here additionally to the built graph with regular edges that represent interference, it is built af… 31 … MCS or LexBFS (that is reverse PEO), one by one is colored by a Greedy coloring algorithm. Greedy… 36 There are two classes of approaches for coalescing, that is: 37 …is known to potentially can increase register pressure, and make graph G’ not K-colorable as origi… 38 …is a way when in front of coloring nodes are “hinted” with preferred colors. And on stage of color… [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter-4.2/test/ |
| D | structural_identity.ts.relax.json | 11 "distributed under the License is distributed on an 'AS IS' BASIS,", 22 "rule": "Structural typing is not supported (arkts-no-structural-typing)" 29 "rule": "Structural typing is not supported (arkts-no-structural-typing)" 36 "rule": "Structural typing is not supported (arkts-no-structural-typing)" 43 "rule": "Structural typing is not supported (arkts-no-structural-typing)" 50 "rule": "Structural typing is not supported (arkts-no-structural-typing)" 57 "rule": "Structural typing is not supported (arkts-no-structural-typing)" 64 "rule": "Structural typing is not supported (arkts-no-structural-typing)" 71 "rule": "Structural typing is not supported (arkts-no-structural-typing)" 78 "rule": "Structural typing is not supported (arkts-no-structural-typing)" [all …]
|
| D | structural_identity.ts.strict.json | 11 "distributed under the License is distributed on an 'AS IS' BASIS,", 22 "rule": "Structural typing is not supported (arkts-no-structural-typing)" 29 "rule": "Structural typing is not supported (arkts-no-structural-typing)" 36 "rule": "Structural typing is not supported (arkts-no-structural-typing)" 43 "rule": "Structural typing is not supported (arkts-no-structural-typing)" 50 "rule": "Structural typing is not supported (arkts-no-structural-typing)" 57 "rule": "Structural typing is not supported (arkts-no-structural-typing)" 64 "rule": "Structural typing is not supported (arkts-no-structural-typing)" 71 "rule": "Structural typing is not supported (arkts-no-structural-typing)" 78 "rule": "Structural typing is not supported (arkts-no-structural-typing)" [all …]
|
| D | es_object.ts.strict.json | 11 "distributed under the License is distributed on an 'AS IS' BASIS,", 29 "rule": "Usage of \"ESObject\" type is restricted (arkts-limited-esobject)" 36 "rule": "Usage of \"ESObject\" type is restricted (arkts-limited-esobject)" 43 "rule": "Usage of \"ESObject\" type is restricted (arkts-limited-esobject)" 50 "rule": "Usage of \"ESObject\" type is restricted (arkts-limited-esobject)" 57 "rule": "Usage of \"ESObject\" type is restricted (arkts-limited-esobject)" 64 "rule": "Usage of \"ESObject\" type is restricted (arkts-limited-esobject)" 71 "rule": "Usage of \"ESObject\" type is restricted (arkts-limited-esobject)" 78 "rule": "Usage of \"ESObject\" type is restricted (arkts-limited-esobject)" 85 "rule": "Usage of \"ESObject\" type is restricted (arkts-limited-esobject)" [all …]
|
| D | es_object.ts.relax.json | 11 "distributed under the License is distributed on an 'AS IS' BASIS,", 29 "rule": "Usage of \"ESObject\" type is restricted (arkts-limited-esobject)" 36 "rule": "Usage of \"ESObject\" type is restricted (arkts-limited-esobject)" 43 "rule": "Usage of \"ESObject\" type is restricted (arkts-limited-esobject)" 50 "rule": "Usage of \"ESObject\" type is restricted (arkts-limited-esobject)" 57 "rule": "Usage of \"ESObject\" type is restricted (arkts-limited-esobject)" 64 "rule": "Usage of \"ESObject\" type is restricted (arkts-limited-esobject)" 71 "rule": "Usage of \"ESObject\" type is restricted (arkts-limited-esobject)" 78 "rule": "Usage of \"ESObject\" type is restricted (arkts-limited-esobject)" 85 "rule": "Usage of \"ESObject\" type is restricted (arkts-limited-esobject)" [all …]
|
| D | limited_stdlib_api.ts.relax.json | 11 "distributed under the License is distributed on an 'AS IS' BASIS,", 22 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 29 "rule": "\"globalThis\" is not supported (arkts-no-globalthis)" 36 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 43 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 50 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 57 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 71 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 78 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 85 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" [all …]
|
| D | limited_stdlib_api.ts.strict.json | 11 "distributed under the License is distributed on an 'AS IS' BASIS,", 22 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 29 "rule": "\"globalThis\" is not supported (arkts-no-globalthis)" 36 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 43 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 50 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 57 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 71 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 78 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 85 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" [all …]
|
| D | limited_stdlib_api.ts.autofix.json | 11 "distributed under the License is distributed on an 'AS IS' BASIS,", 23 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 31 "rule": "\"globalThis\" is not supported (arkts-no-globalthis)" 39 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 47 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 55 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 63 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 79 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 87 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 95 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/ |
| D | structural_identity.ts.relax.json | 11 "distributed under the License is distributed on an 'AS IS' BASIS,", 22 "rule": "Structural typing is not supported (arkts-no-structural-typing)" 29 "rule": "Structural typing is not supported (arkts-no-structural-typing)" 36 "rule": "Structural typing is not supported (arkts-no-structural-typing)" 43 "rule": "Structural typing is not supported (arkts-no-structural-typing)" 50 "rule": "Structural typing is not supported (arkts-no-structural-typing)" 57 "rule": "Structural typing is not supported (arkts-no-structural-typing)" 64 "rule": "Structural typing is not supported (arkts-no-structural-typing)" 71 "rule": "Structural typing is not supported (arkts-no-structural-typing)" 78 "rule": "Structural typing is not supported (arkts-no-structural-typing)" [all …]
|
| D | structural_identity.ts.strict.json | 11 "distributed under the License is distributed on an 'AS IS' BASIS,", 22 "rule": "Structural typing is not supported (arkts-no-structural-typing)" 29 "rule": "Structural typing is not supported (arkts-no-structural-typing)" 36 "rule": "Structural typing is not supported (arkts-no-structural-typing)" 43 "rule": "Structural typing is not supported (arkts-no-structural-typing)" 50 "rule": "Structural typing is not supported (arkts-no-structural-typing)" 57 "rule": "Structural typing is not supported (arkts-no-structural-typing)" 64 "rule": "Structural typing is not supported (arkts-no-structural-typing)" 71 "rule": "Structural typing is not supported (arkts-no-structural-typing)" 78 "rule": "Structural typing is not supported (arkts-no-structural-typing)" [all …]
|
| D | es_object.ts.relax.json | 11 "distributed under the License is distributed on an 'AS IS' BASIS,", 29 "rule": "Usage of \"ESObject\" type is restricted (arkts-limited-esobject)" 36 "rule": "Usage of \"ESObject\" type is restricted (arkts-limited-esobject)" 43 "rule": "Usage of \"ESObject\" type is restricted (arkts-limited-esobject)" 50 "rule": "Usage of \"ESObject\" type is restricted (arkts-limited-esobject)" 57 "rule": "Usage of \"ESObject\" type is restricted (arkts-limited-esobject)" 64 "rule": "Usage of \"ESObject\" type is restricted (arkts-limited-esobject)" 71 "rule": "Usage of \"ESObject\" type is restricted (arkts-limited-esobject)" 78 "rule": "Usage of \"ESObject\" type is restricted (arkts-limited-esobject)" 85 "rule": "Usage of \"ESObject\" type is restricted (arkts-limited-esobject)" [all …]
|
| D | es_object.ts.strict.json | 11 "distributed under the License is distributed on an 'AS IS' BASIS,", 29 "rule": "Usage of \"ESObject\" type is restricted (arkts-limited-esobject)" 36 "rule": "Usage of \"ESObject\" type is restricted (arkts-limited-esobject)" 43 "rule": "Usage of \"ESObject\" type is restricted (arkts-limited-esobject)" 50 "rule": "Usage of \"ESObject\" type is restricted (arkts-limited-esobject)" 57 "rule": "Usage of \"ESObject\" type is restricted (arkts-limited-esobject)" 64 "rule": "Usage of \"ESObject\" type is restricted (arkts-limited-esobject)" 71 "rule": "Usage of \"ESObject\" type is restricted (arkts-limited-esobject)" 78 "rule": "Usage of \"ESObject\" type is restricted (arkts-limited-esobject)" 85 "rule": "Usage of \"ESObject\" type is restricted (arkts-limited-esobject)" [all …]
|
| D | limited_stdlib_api.ts.strict.json | 11 "distributed under the License is distributed on an 'AS IS' BASIS,", 22 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 29 "rule": "\"globalThis\" is not supported (arkts-no-globalthis)" 36 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 43 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 50 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 57 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 71 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 78 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 85 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" [all …]
|
| D | limited_stdlib_api.ts.relax.json | 11 "distributed under the License is distributed on an 'AS IS' BASIS,", 22 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 29 "rule": "\"globalThis\" is not supported (arkts-no-globalthis)" 36 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 43 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 50 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 57 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 71 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 78 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 85 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" [all …]
|
| D | limited_stdlib_api.ts.autofix.json | 11 "distributed under the License is distributed on an 'AS IS' BASIS,", 23 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 31 "rule": "\"globalThis\" is not supported (arkts-no-globalthis)" 39 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 47 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 55 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 63 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 79 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 87 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" 95 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)" [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/templates/stdlib/ |
| D | search.ets.j2 | 10 * distributed under the License is distributed on an "AS IS" BASIS, 28 …* Lower bound is an index of a first element, where (element < key) is false. If no such element i… 30 …* @param arr array to find a lower bound of a key. Has to be sorted, otherwise the answer is imple… 36 * @param endIndex a last index to stop search in arr, i.e. arr[endIndex] is not checked 38 * @returns index such (arr[index] < key) is false. If no such index is found than endIndex 66 …* Lower bound is an index of a first element, where (element < key) is false. If no such element i… 68 …* @param arr array to find a lower bound of a key. Has to be sorted, otherwise the answer is imple… 72 * @returns index such (arr[index] < key) is false. If no such index is found than arr.length 78 …// TODO(ivan-tyulyandin): code below is an overcheck, but will be helpful in case of strange excep… 87 …* Upper bound is an index of a first element, where (key < element) is true. If no such element is… [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/doc/spec/ |
| D | 7_expressions.rst | 8 distributed under the License is distributed on an "AS IS" BASIS, 104 If the expression is evaluated to a nullish value, then: 106 - The evaluation of the entire surrounding expression is omitted; and 107 - The result of the entire surrounding expression is immediately evaluated 110 Otherwise, the evaluation of the expression is guaranteed to produce a 126 *potentiallyNullishExpression* is evaluated to *undefined*. 152 The term *optional chaining operator* (*'?.'*) is used as it effectively 154 to the left of (*'?.'*) is *undefined* or *null*, then the evaluation of the 155 entire surrounding expression is omitted. The result of the expression is 180 - A variable (the term *variable* is used here in the general, non-terminological [all …]
|