| /arkcompiler/ets_frontend/ets2panda/compiler/core/ |
| D | JSCompilerUnreachable.cpp | 21 void JSCompiler::Compile([[maybe_unused]] const ir::NamedType *node) const in Compile() function in ark::es2panda::compiler::JSCompiler 26 void JSCompiler::Compile([[maybe_unused]] const ir::PrefixAssertionExpression *expr) const in Compile() function in ark::es2panda::compiler::JSCompiler 31 void JSCompiler::Compile([[maybe_unused]] const ir::ClassProperty *st) const in Compile() function in ark::es2panda::compiler::JSCompiler 36 void JSCompiler::Compile([[maybe_unused]] const ir::ClassStaticBlock *st) const in Compile() function in ark::es2panda::compiler::JSCompiler 41 void JSCompiler::Compile([[maybe_unused]] const ir::Decorator *st) const in Compile() function in ark::es2panda::compiler::JSCompiler 46 void JSCompiler::Compile([[maybe_unused]] const ir::MethodDefinition *node) const in Compile() function in ark::es2panda::compiler::JSCompiler 51 void JSCompiler::Compile([[maybe_unused]] const ir::Property *expr) const in Compile() function in ark::es2panda::compiler::JSCompiler 56 void JSCompiler::Compile([[maybe_unused]] const ir::ScriptFunction *node) const in Compile() function in ark::es2panda::compiler::JSCompiler 61 void JSCompiler::Compile([[maybe_unused]] const ir::SpreadElement *expr) const in Compile() function in ark::es2panda::compiler::JSCompiler 66 void JSCompiler::Compile([[maybe_unused]] const ir::TemplateElement *expr) const in Compile() function in ark::es2panda::compiler::JSCompiler [all …]
|
| D | ETSCompilerUnrechable.cpp | 20 void ETSCompiler::Compile([[maybe_unused]] const ir::NamedType *node) const in Compile() function in ark::es2panda::compiler::ETSCompiler 25 void ETSCompiler::Compile([[maybe_unused]] const ir::PrefixAssertionExpression *expr) const in Compile() function in ark::es2panda::compiler::ETSCompiler 30 void ETSCompiler::Compile([[maybe_unused]] const ir::ClassDefinition *node) const in Compile() function in ark::es2panda::compiler::ETSCompiler 35 void ETSCompiler::Compile([[maybe_unused]] const ir::ClassStaticBlock *st) const in Compile() function in ark::es2panda::compiler::ETSCompiler 40 void ETSCompiler::Compile([[maybe_unused]] const ir::Decorator *st) const in Compile() function in ark::es2panda::compiler::ETSCompiler 45 void ETSCompiler::Compile([[maybe_unused]] const ir::MetaProperty *expr) const in Compile() function in ark::es2panda::compiler::ETSCompiler 50 void ETSCompiler::Compile([[maybe_unused]] const ir::MethodDefinition *node) const in Compile() function in ark::es2panda::compiler::ETSCompiler 55 void ETSCompiler::Compile([[maybe_unused]] const ir::Property *expr) const in Compile() function in ark::es2panda::compiler::ETSCompiler 60 void ETSCompiler::Compile([[maybe_unused]] const ir::ScriptFunction *node) const in Compile() function in ark::es2panda::compiler::ETSCompiler 65 void ETSCompiler::Compile([[maybe_unused]] const ir::SpreadElement *expr) const in Compile() function in ark::es2panda::compiler::ETSCompiler [all …]
|
| D | JSCompiler.cpp | 35 void JSCompiler::Compile(const ir::CatchClause *st) const in Compile() function in ark::es2panda::compiler::JSCompiler 46 st->Body()->Compile(pg); in Compile() 54 node->Super()->Compile(pg); in CompileHeritageClause() 260 prop->Value()->Compile(pg); in CompileStaticFieldInitializers() 282 func->Compile(pg); in CompilePropertyKind() 301 prop->Value()->Compile(pg); in CompilePropertyKind() 389 void JSCompiler::Compile(const ir::ClassDefinition *node) const in Compile() function in ark::es2panda::compiler::JSCompiler 426 void JSCompiler::Compile(const ir::MetaProperty *expr) const in Compile() function in ark::es2panda::compiler::JSCompiler 440 // JSCompiler::compile methods for EXPRESSIONS in alphabetical order 441 void JSCompiler::Compile(const ir::ArrayExpression *expr) const in Compile() function in ark::es2panda::compiler::JSCompiler [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/unit/plugin/ |
| D | CMakeLists.txt | 20 set(COMPILE_MODE "COMPILE") 34 "e2p_test_plugin_dump_json compile.ets ${RUNTIME_MODE} c ${LIBRARY_PLUGIN}" 35 "e2p_test_plugin_ets_src compile.ets ${RUNTIME_MODE} c ${LIBRARY_PLUGIN}" 36 "e2p_test_plugin_ets_benchmark_test compile.ets ${RUNTIME_MODE} cpp ${LIBRARY_PLUGIN}" 37 "e2p_test_plugin_ets_node_types compile.ets ${RUNTIME_MODE} c ${LIBRARY_PLUGIN}" 38 "e2p_test_plugin_ets_varibles_and_types compile.ets ${RUNTIME_MODE} c ${LIBRARY_PLUGIN}" 40 "e2p_test_plugin_recheck compile.ets ${COMPILE_MODE} c ${LIBRARY_PLUGIN}" 41 "e2p_test_plugin compile.ets ${EXPECTED_MODE} c ${LIBRARY_PLUGIN}" 42 "e2p_test_plugin_is compile.ets ${EXPECTED_MODE} c ${LIBRARY_PLUGIN}" 43 "e2p_test_plugin_after_bind compile.ets ${EXPECTED_MODE} cpp ${LIBRARY_PLUGIN}" [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/playground/frontend/src/models/ |
| D | code.test.ts | 21 it('should correctly map compile and disassembly fields from API response', () => { 23 compile: { output: 'compile output', error: 'compile error', exit_code: 1 }, 31 compile: { output: 'compile output', error: 'compile error', exit_code: 1 }, 42 compile: { output: '', error: '', exit_code: undefined }, 50 it('should correctly map compile, disassembly, and run fields from API response', () => { 52 compile: { output: 'compile output', error: 'compile error', exit_code: 1 }, 61 compile: { output: 'compile output', error: 'compile error', exit_code: 1 }, 73 compile: { output: '', error: '', exit_code: undefined },
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/01.assignment-like_contexts/ |
| D | widening_refs_call.params.yaml | 25 - { totype: "B[]", fromtype: "C[]", fromval: "new C[1]", tags: 'compile-only, negative' } 26 - { totype: "A[]", fromtype: "B[]", fromval: "new B[2]", tags: 'compile-only, negative' } 27 - { totype: "A[][]", fromtype: "C[][]", fromval: "new C[3][3]", tags: 'compile-only, negative' } 28 - { totype: "J[]", fromtype: "B[]", fromval: "new B[4]", tags: 'compile-only, negative' } 29 …- { totype: "J[][][][]", fromtype: "C[][][][]", fromval: "new C[5][5][5][5]", tags: 'compile-only,… 30 - { totype: "I[]", fromtype: "A[]", fromval: "new A[6]", tags: 'compile-only, negative' } 31 - { totype: "I[]", fromtype: "B[]", fromval: "new B[7]", tags: 'compile-only, negative' } 32 - { totype: "I[]", fromtype: "C[]", fromval: "new C[8]", tags: 'compile-only, negative' } 34 - { totype: "Object[]", fromtype: "C[]", fromval: "new C[0]", tags: 'compile-only, negative' } 35 - { totype: "Object[]", fromtype: "B[]", fromval: "new B[0]", tags: 'compile-only, negative' } [all …]
|
| D | widening_refs_unbox_call.params.yaml | 16 …- { tags: "compile-only, negative", ptype: [short, int, long, float, double], type: Short, val: "4… 18 …- { tags: "compile-only, negative", ptype: [int, long, float, double], type: Int, val: "0x5A as by… 19 …- { tags: "compile-only, negative", ptype: [int, long, float, double], type: Int, val: "-128 as sh… 21 …- { tags: "compile-only, negative", ptype: [long, float, double], type: Long, val: "0o177 as byte"… 22 …- { tags: "compile-only, negative", ptype: [long, float, double], type: Long, val: "0x0000 as shor… 23 - { tags: "compile-only, negative", ptype: [long, float, double], type: Long, val: "0x7AFAFBFB" } 25 - { tags: "compile-only, negative", ptype: [float, double], type: Float, val: "127 as byte" } 26 - { tags: "compile-only, negative", ptype: [float, double], type: Float, val: "128 as short" } 27 - { tags: "compile-only, negative", ptype: [float, double], type: Float, val: "Long.MAX_VALUE" }
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/05.object_literal/03.object_literal_of_record_type/ |
| D | re_n.params.yaml | 15 - tags: ['compile-only', 'negative'] 26 - tags: ['compile-only', 'negative'] 35 - tags: ['compile-only', 'negative'] 43 - tags: ['compile-only', 'negative'] 51 - tags: ['compile-only', 'negative'] 58 - tags: ['compile-only', 'negative'] 65 - tags: ['compile-only', 'negative'] 72 - tags: ['compile-only', 'negative'] 76 - tags: ['compile-only', 'negative'] 83 - tags: ['compile-only', 'negative'] [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/07.overloading_and_overriding/01.overload-equivalent_signatures/ |
| D | pos.params.yaml | 20 tags: [compile-only] 25 tags: [compile-only] 35 tags: [compile-only] 41 tags: [compile-only] 47 tags: [compile-only] 52 tags: [compile-only] 59 tags: [compile-only] 69 tags: [compile-only] 78 tags: [compile-only] 87 tags: [compile-only] [all …]
|
| /arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/ |
| D | ldstatic.64.yaml | 78 runner-options: [compile-failure] 81 runner-options: [compile-failure] 84 runner-options: [compile-failure] 87 runner-options: [compile-failure] 90 runner-options: [compile-failure] 93 runner-options: [compile-failure] 96 runner-options: [compile-failure] 99 runner-options: [compile-failure] 102 runner-options: [compile-failure] 105 runner-options: [compile-failure] [all …]
|
| D | ldstatic.obj.yaml | 90 runner-options: [compile-failure] 93 runner-options: [compile-failure] 96 runner-options: [compile-failure] 99 runner-options: [compile-failure] 102 runner-options: [compile-failure] 105 runner-options: [compile-failure] 108 runner-options: [compile-failure] 111 runner-options: [compile-failure] 114 runner-options: [compile-failure] 117 runner-options: [compile-failure] [all …]
|
| D | ldstatic.yaml | 79 runner-options: [compile-failure] 82 runner-options: [compile-failure] 85 runner-options: [compile-failure] 88 runner-options: [compile-failure] 91 runner-options: [compile-failure] 94 runner-options: [compile-failure] 97 runner-options: [compile-failure] 100 runner-options: [compile-failure] 103 runner-options: [compile-failure] 106 runner-options: [compile-failure] [all …]
|
| D | ststatic.64.yaml | 100 runner-options: ['compile-failure'] 103 runner-options: ['compile-failure'] 106 runner-options: ['compile-failure'] 109 runner-options: ['compile-failure'] 112 runner-options: ['compile-failure'] 115 runner-options: ['compile-failure'] 118 runner-options: ['compile-failure'] 121 runner-options: ['compile-failure'] 124 runner-options: ['compile-failure'] 127 runner-options: ['compile-failure'] [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/docs/rules/ |
| D | recipe55.md | 7 ArkTS allows unary operators to work on numeric types only. A compile-time 45 let b = +"5" // Compile-time error 47 let d = -"5" // Compile-time error 49 let f = ~"5" // Compile-time error 50 let g = +"string" // Compile-time error 60 let x = +returnTen() // Compile-time error 61 let y = +returnString() // Compile-time error
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/06.method_declarations/06.overriding_methods/ |
| D | different_access_modifiers.params.yaml | 16 negative, compile-only 24 compile-only 32 compile-only 40 compile-only 48 compile-only 56 compile-only 65 compile-only
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/07.overloading_and_overriding/04.overloading_and_overriding_in_classes/ |
| D | access_modifier_over.params.yaml | 45 tags: negative, compile-only 52 tags: negative, compile-only 59 tags: negative, compile-only 66 tags: negative, compile-only 73 tags: negative, compile-only 80 tags: negative, compile-only 97 tags: negative, compile-only 103 - tags: negative, compile-only 109 - tags: negative, compile-only 136 tags: negative, compile-only [all …]
|
| /arkcompiler/ets_frontend/es2panda/compiler/base/ |
| D | condition.cpp | 24 void Condition::Compile(PandaGen *pg, const ir::Expression *expr, Label *falseLabel) in Compile() function in panda::es2panda::compiler::Condition 46 binExpr->Left()->Compile(pg); in Compile() 48 binExpr->Right()->Compile(pg); in Compile() 53 binExpr->Left()->Compile(pg); in Compile() 56 binExpr->Right()->Compile(pg); in Compile() 63 binExpr->Left()->Compile(pg); in Compile() 66 binExpr->Right()->Compile(pg); in Compile() 77 expr->AsUnaryExpression()->Argument()->Compile(pg); in Compile() 85 expr->Compile(pg); in Compile()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/10.final_classes_and_methods/02.final_methods/ |
| D | fm.params.yaml | 33 - tags: 'compile-only, negative' 44 - tags: 'compile-only, negative' 75 - tags: 'compile-only, negative' 91 - tags: 'compile-only, negative' 107 - tags: 'compile-only, negative' 125 - tags: 'compile-only, negative' 134 - tags: 'compile-only, negative' 143 - tags: 'compile-only, negative' 155 - tags: 'compile-only, negative' 166 - tags: 'compile-only, negative' [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/04.casting_contexts_and_conversions/06.casting_conversions_from_union/ |
| D | impl.params.yaml | 29 tags: 'compile-only, negative' 39 tags: 'compile-only, negative' 82 tags: 'compile-only, negative' 94 tags: 'compile-only, negative' 113 tags: 'compile-only, negative' 118 tags: 'compile-only, negative' 129 tags: 'compile-only, negative' 134 tags: 'compile-only, negative' 140 tags: 'compile-only, negative' 152 tags: 'compile-only, negative' [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/01.subtyping/04.subtyping_for_function_types/ |
| D | negative.params.yaml | 17 let f: () => Base = bb // Compile-time error: too less parameters 19 bb = dd // Compile-time error: parameter type are not contravariant 21 bd = db // Compile-time error: return types are not covariant 24 let f: (p?: Base) => void = foo // Compile-time error: subtype parameter isn't optional 27 let f: (...p: Base[]) => void = foo // Compile-time error: subtype parameter isn't rest
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/03.assignability/ |
| D | functions_compatibility.params.yaml | 17 - { assign: bars, call: 1, res: -1, tags: "compile-only, negative" } 18 - { assign: bars, call: "1, \"some str\"", res: -1, tags: "compile-only, negative" } 19 - { assign: barf, call: 1, res: -1, tags: "compile-only, negative" } 20 - { assign: barl, call: 1, res: -1, tags: "compile-only, negative" } 21 - { assign: barretstr, call: 1, res: "\"str\"", tags: "compile-only, negative" }
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/06.callable_types/ |
| D | ct.params.yaml | 15 - tags: 'compile-only, negative' 25 - tags: 'compile-only, negative' 38 - tags: 'compile-only, negative' 51 - tags: 'compile-only, negative' 64 - tags: 'compile-only, negative' 75 - tags: 'compile-only, negative' 86 - tags: 'compile-only, negative' 97 - tags: 'compile-only, negative'
|
| /arkcompiler/runtime_core/static_core/plugins/ets/playground/frontend/src/components/controlPanel/ |
| D | ControlPanel.test.tsx | 44 expect(screen.getByTestId('compile-btn')).toBeInTheDocument(); 49 it('dispatches compile action on Compile button click', () => { 58 const runButton = screen.getByTestId('compile-btn'); 70 it('opens and closes the Compile Options popover on click', () => { 74 expect(screen.getByTestId('compile-options-content')).toBeInTheDocument(); 77 it('disables Compile button when compile is loading', () => { 85 const compileButton = screen.getByTestId('compile-btn');
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/06.type_declarations/01.type_alias_declaration/ |
| D | scope.params.yaml | 18 tags: 'compile-only, negative' 26 tags: 'compile-only, negative' 34 tags: 'compile-only, negative' 51 tags: 'compile-only, negative' 75 tags: 'compile-only, negative' 99 tags: 'compile-only, negative' 116 tags: 'compile-only, negative' 124 tags: 'compile-only, negative' 132 tags: 'compile-only, negative' 142 tags: 'compile-only, negative' [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/04.casting_contexts_and_conversions/02.class_or_interface_casting_conversions/ |
| D | userdef_ref.params.yaml | 123 tags: 'compile-only, negative' 150 tags: 'compile-only, negative' 158 tags: 'compile-only, negative' 166 tags: 'compile-only, negative' 175 tags: 'compile-only, negative' 183 tags: 'compile-only, negative' 190 tags: 'compile-only, negative' 203 tags: 'compile-only, negative' 212 tags: 'compile-only, negative' 220 tags: 'compile-only, negative' [all …]
|