Home
last modified time | relevance | path

Searched full:compile (Results 1 – 25 of 2525) sorted by relevance

12345678910>>...101

/arkcompiler/ets_frontend/ets2panda/compiler/core/
DJSCompilerUnreachable.cpp21 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 …]
DETSCompilerUnrechable.cpp20 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 …]
DJSCompiler.cpp35 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 …]
DETSCompiler.cpp35 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/
Dsequenced.params.yaml71 - { 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/
Dcode.test.ts21 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 },
Dcode.ts24 compile: { property
37 compile: { property
67compile: codeModel.fillDefaults(data.compile || {}, { output: '', error: '', exit_code: -1 }),
71compile: 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/
Daccess_modifier_over.params.yaml45 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 …]
Dconstructor_overload.params.yaml73 - 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/
DCMakeLists.txt20 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/
Dpos.params.yaml20 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/
Drecipe55.md7 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/
DControlPanel.test.tsx44 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/
Dcondition.cpp24 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/
Dfm.params.yaml33 - 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/
Dscope.params.yaml18 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/
Dct.params.yaml15 - 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/
Dfunctions_compatibility.params.yaml17 - { 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/
Dannotations.rst46 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/
Dtest_runner.py60 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/
Dconstructor_implementation.params.yaml17 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
Ddifferent_access_modifiers.params.yaml16 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/
Dimpl.params.yaml29 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/
Dcondition.cpp45 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/
Dfc.params.yaml30 - 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'

12345678910>>...101