| /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() 281 func->Compile(pg); in CompilePropertyKind() 300 prop->Value()->Compile(pg); in CompilePropertyKind() 388 void JSCompiler::Compile(const ir::ClassDefinition *node) const in Compile() function in ark::es2panda::compiler::JSCompiler 424 void JSCompiler::Compile(const ir::MetaProperty *expr) const in Compile() function in ark::es2panda::compiler::JSCompiler 438 // JSCompiler::compile methods for EXPRESSIONS in alphabetical order 439 void JSCompiler::Compile(const ir::ArrayExpression *expr) const in Compile() function in ark::es2panda::compiler::JSCompiler [all …]
|
| D | ETSCompiler.cpp | 35 void ETSCompiler::Compile(const ir::CatchClause *st) const in Compile() function in ark::es2panda::compiler::ETSCompiler 42 st->Body()->Compile(etsg); in Compile() 45 void ETSCompiler::Compile(const ir::ClassProperty *st) const in Compile() function in ark::es2panda::compiler::ETSCompiler 58 st->Value()->Compile(etsg); in Compile() 69 void ETSCompiler::Compile(const ir::TemplateElement *expr) const in Compile() function in ark::es2panda::compiler::ETSCompiler 77 void ETSCompiler::Compile(const ir::ETSClassLiteral *expr) const in Compile() function in ark::es2panda::compiler::ETSCompiler 86 literal->Compile(etsg); in Compile() 96 void ETSCompiler::Compile(const ir::ETSFunctionType *node) const in Compile() function in ark::es2panda::compiler::ETSCompiler 103 void ETSCompiler::Compile([[maybe_unused]] const ir::ETSLaunchExpression *expr) const in Compile() function in ark::es2panda::compiler::ETSCompiler 118 expr->expr_->Callee()->AsMemberExpression()->Object()->Compile(etsg); in Compile() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/04.casting_contexts_and_conversions/ |
| D | sequenced.params.yaml | 71 - { stype: Byte, sval: 'new Byte()', dtype: Short, tags: 'compile-only, negative' } 72 - { stype: Byte, sval: 'new Byte()', dtype: Char, tags: 'compile-only, negative' } 73 - { stype: Byte, sval: 'new Byte()', dtype: Int, tags: 'compile-only, negative' } 74 - { stype: Byte, sval: 'new Byte()', dtype: Long, tags: 'compile-only, negative' } 75 - { stype: Byte, sval: 'new Byte()', dtype: Float, tags: 'compile-only, negative' } 76 - { stype: Byte, sval: 'new Byte()', dtype: Double, tags: 'compile-only, negative' } 84 - { stype: Char, sval: "new Char(c'X')", dtype: Byte, tags: 'compile-only, negative' } 85 - { stype: Char, sval: "new Char(c'X')", dtype: Short, tags: 'compile-only, negative' } 86 - { stype: Char, sval: "new Char(c'X')", dtype: Int, tags: 'compile-only, negative' } 87 - { stype: Char, sval: "new Char(c'X')", dtype: Long, tags: 'compile-only, negative' } [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 }, 30 compile: { output: 'compile output', error: 'compile error', exit_code: 1 }, 40 compile: { output: '', error: '', exit_code: -1 }, 47 it('should correctly map compile, disassembly, and run fields from API response', () => { 49 compile: { output: 'compile output', error: 'compile error', exit_code: 1 }, 57 compile: { output: 'compile output', error: 'compile error', exit_code: 1 }, 68 compile: { output: '', error: '', exit_code: -1 },
|
| D | code.ts | 24 compile: { property 37 compile: { property 67 … compile: codeModel.fillDefaults(data.compile || {}, { output: '', error: '', exit_code: -1 }), 71 … compile: codeModel.fillDefaults(data.compile || {}, { output: '', error: '', exit_code: -1 }),
|
| /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 54 tags: negative, compile-only 63 tags: negative, compile-only 72 tags: negative, compile-only 81 tags: negative, compile-only 90 tags: negative, compile-only 109 tags: negative, compile-only 117 - tags: negative, compile-only 125 - tags: negative, compile-only 153 tags: negative, compile-only [all …]
|
| D | constructor_overload.params.yaml | 73 - tags: negative, compile-only 79 - tags: negative, compile-only 83 - tags: negative, compile-only 93 - tags: negative, compile-only 105 - tags: negative, compile-only 117 - tags: negative, compile-only 127 - tags: negative, compile-only 137 - tags: negative, compile-only 147 - tags: negative, compile-only
|
| /arkcompiler/ets_frontend/ets2panda/test/unit/plugin/ |
| D | CMakeLists.txt | 20 set(COMPILE_MODE "COMPILE") 30 "e2p_test_plugin_dump_json compile.sts ${RUNTIME_MODE} c ${LIBRARY_PLUGIN}" 31 "e2p_test_plugin_ets_src compile.sts ${RUNTIME_MODE} c ${LIBRARY_PLUGIN}" 32 "e2p_test_plugin_ets_benchmark_test compile.sts ${RUNTIME_MODE} cpp ${LIBRARY_PLUGIN}" 33 …# 20756 "e2p_test_plugin_ets_benchmark_with_checker_func_test compile.sts ${RUNTIME_MODE} cpp ${LI… 34 "e2p_test_plugin_ets_node_types compile.sts ${RUNTIME_MODE} c ${LIBRARY_PLUGIN}" 35 "e2p_test_plugin_ets_varibles_and_types compile.sts ${RUNTIME_MODE} c ${LIBRARY_PLUGIN}" 37 "e2p_test_plugin compile.sts ${EXPECTED_MODE} c ${LIBRARY_PLUGIN}" 38 "e2p_test_plugin_is compile.sts ${EXPECTED_MODE} c ${LIBRARY_PLUGIN}" 39 "plugin_proceed_to_state compile.sts ${EXPECTED_MODE} cpp ${EXECUTABLE_PLUGIN}" [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/07.overloading_and_overriding/02.override-compatible_signatures/ |
| D | pos.params.yaml | 20 tags: [compile-only] 25 tags: [compile-only] 35 tags: [compile-only, negative] 41 tags: [compile-only, negative] 47 tags: [compile-only, negative] 52 tags: [compile-only] 59 tags: [compile-only] 69 tags: [compile-only] 78 tags: [compile-only] 87 tags: [compile-only] [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/playground/frontend/src/components/controlPanel/ |
| D | ControlPanel.test.tsx | 44 expect(screen.getByText('Compile')).toBeInTheDocument(); 46 expect(screen.getByText('Compile options')).toBeInTheDocument(); 49 it('dispatches compile action on Compile button click', () => { 51 const compileButton = screen.getByText('Compile'); 70 it('opens and closes the Compile Options popover on click', () => { 72 const compileOptionsButton = screen.getByText('Compile options'); 74 expect(screen.getByTestId('compile-options-content')).toBeInTheDocument(); 77 it('disables Compile button when compile is loading', () => { 85 const compileButton = screen.getByText('Compile');
|
| /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/09.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/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/17.experimental_features/05.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/tests/ets-templates/15.semantic_rules/04.type_compatibility/ |
| 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/doc/annotations/ |
| D | annotations.rst | 46 ClassAuthor({authorName: "Bob"}) // compile-time error, no '@' 47 @ ClassAuthor({authorName: "Bob"}) // compile-time error, space is forbidden 49 A compile-time error occurs if the annotation 95 using *initializer* as *constant expression*. A compile-time occurs in the value 96 of this expression cannot be evaluated in compile-time. 99 otherwise a compile-time error occurs. 110 class Position {/*body*/} // compile-time error: duplicate identifier 119 type Pos = Position // compile-time error 121 class A implements Position {} // compile-time error 138 A compile-time error occurs if any other type is used as type of an *annotation [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/playground/backend/tests/ |
| D | test_runner.py | 60 expected = {"compile": {"error": "", "exit_code": 0, "output": "executed"}, "disassembly": None} 95 stdout=b"run and compile", 108 "compile": { 115 "error": "", "exit_code": 0, "output": "run and compile" 134 stdout=b"compile error", 142 "compile": { 145 "output": "compile error" 159 stdout=b"compile error", 167 "compile": { 170 "output": "compile error" [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/09.constructor_declaration/02.constructor_overload_signatures/ |
| D | constructor_implementation.params.yaml | 17 negative, compile-only 25 negative, compile-only 34 negative, compile-only 41 negative, compile-only 114 negative, compile-only 125 negative, compile-only 136 negative, compile-only 147 negative, compile-only
|
| D | different_access_modifiers.params.yaml | 16 negative, compile-only 24 negative, compile-only 32 negative, compile-only 40 negative, compile-only 48 negative, compile-only 56 negative, compile-only 65 negative, compile-only
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/04.casting_contexts_and_conversions/04.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' 151 tags: 'compile-only, negative' 161 tags: 'compile-only, negative' [all …]
|
| /arkcompiler/ets_frontend/ets2panda/compiler/base/ |
| D | condition.cpp | 45 binExpr->Left()->Compile(pg); in CompileBinaryExpr() 47 binExpr->Right()->Compile(pg); in CompileBinaryExpr() 52 binExpr->Left()->Compile(pg); in CompileBinaryExpr() 56 binExpr->Right()->Compile(pg); in CompileBinaryExpr() 64 binExpr->Left()->Compile(pg); in CompileBinaryExpr() 68 binExpr->Right()->Compile(pg); in CompileBinaryExpr() 81 void Condition::Compile(PandaGen *pg, const ir::Expression *expr, Label *falseLabel) in Compile() function in ark::es2panda::compiler::Condition 89 expr->AsUnaryExpression()->Argument()->Compile(pg); in Compile() 97 expr->Compile(pg); in Compile() 139 binExpr->Left()->Compile(etsg); in CompileLogicalOrExpr() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/09.final_classes_and_methods/01.final_classes/ |
| D | fc.params.yaml | 30 - tags: 'compile-only, negative' 38 - tags: 'compile-only, negative' 46 - tags: 'compile-only, negative' 55 - tags: 'compile-only, negative' 63 - tags: 'compile-only, negative' 80 - tags: 'compile-only, negative'
|