Home
last modified time | relevance | path

Searched full:definition (Results 1 – 25 of 1199) sorted by relevance

12345678910>>...48

/arkcompiler/ets_frontend/ets2panda/test/parser/js/
Dtest-class-definition-expected.txt6 "definition": {
15 "program": "test-class-definition.js"
20 "program": "test-class-definition.js"
36 "program": "test-class-definition.js"
41 "program": "test-class-definition.js"
66 "program": "test-class-definition.js"
71 "program": "test-class-definition.js"
83 "program": "test-class-definition.js"
88 "program": "test-class-definition.js"
100 "program": "test-class-definition.js"
[all …]
/arkcompiler/ets_frontend/ets2panda/test/parser/ts/
Dtest-class-definition-expected.txt6 "definition": {
15 "program": "test-class-definition.ts"
20 "program": "test-class-definition.ts"
36 "program": "test-class-definition.ts"
41 "program": "test-class-definition.ts"
65 "program": "test-class-definition.ts"
70 "program": "test-class-definition.ts"
78 "program": "test-class-definition.ts"
83 "program": "test-class-definition.ts"
91 "program": "test-class-definition.ts"
[all …]
/arkcompiler/runtime_core/libabckit/scripts/
Ddyn_inst_constructors_gen.rb136 definition = "extern \"C\" AbckitInst *Icreate#{inst.opcode}("
137 definition += "AbckitGraph *graph"
140 definition += ", AbckitInst *acc"
149 definition += ", AbckitInst *input#{inst_input}"
152 definition += ", AbckitCoreFunction *method"
154 definition += ", AbckitLiteralArray *literalArray"
156 definition += ", AbckitString *string"
160 definition += ", AbckitCoreModule *md"
162 definition += ", AbckitCoreImportDescriptor *id"
164 definition += ", AbckitCoreExportDescriptor *ed"
[all …]
/arkcompiler/ets_frontend/ets2panda/test/unit/lowerings/
Dnode_history.cpp295 auto definition = NewClassDefinition(Allocator()); in TEST_F() local
296 ASSERT_FALSE(definition->IsAbstract()); in TEST_F()
297 definition->ClearModifier(ir::ModifierFlags::ABSTRACT); in TEST_F()
298 ASSERT_FALSE(definition->IsAbstract()); in TEST_F()
299 definition->AddModifier(ir::ModifierFlags::FINAL); in TEST_F()
300 ASSERT_TRUE(definition->IsFinal()); in TEST_F()
303 definition->AddModifier(ir::ModifierFlags::ABSTRACT); in TEST_F()
304 ASSERT_TRUE(definition->IsAbstract()); in TEST_F()
305 definition->ClearModifier(ir::ModifierFlags::FINAL); in TEST_F()
306 ASSERT_FALSE(definition->IsFinal()); in TEST_F()
[all …]
Dtop_level_statements.cpp76 ASSERT_EQ(exportedClasses[0]->Definition()->InternalName().Mutf8(), "dummy.A"); in TEST_F()
98 ASSERT_EQ(exportedClasses[0]->Definition()->InternalName().Mutf8(), "dummy.A"); in TEST_F()
126 ASSERT_EQ(exportedClasses[0]->Definition()->InternalName().Mutf8(), "dummy.A.B"); in TEST_F()
127 ASSERT_EQ(exportedClasses[1]->Definition()->InternalName().Mutf8(), "dummy.A.D"); in TEST_F()
152 ASSERT_EQ(exportedClasses[0]->Definition()->InternalName().Mutf8(), "dummy.ETSGLOBAL"); in TEST_F()
153 ASSERT_EQ(exportedClasses[1]->Definition()->InternalName().Mutf8(), "dummy.Color"); in TEST_F()
/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/namespace_tests/
Dnamespace_execution_statements_test02.ets17 // 1. Variable definition and assignment
21 // 2. Function definition
26 // 3. Interface definition
31 // 4. Class definition implementing the interface
46 // 5. Enum definition
53 // 6. Annotations definition
/arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/annotation_tests/
Dambient_annotations_bad_type01.ets35 …eError: Initializer for field 'authorName' does not match the expected definition in the ambient a…
37 …peError: Initializer for field 'authorAge' does not match the expected definition in the ambient a…
39 …ypeError: Initializer for field 'testBool' does not match the expected definition in the ambient a…
41 …eError: Initializer for field 'favorColor' does not match the expected definition in the ambient a…
44 /* @@@ label8 Error TypeError: Initializer for field 'color' does not match the expected definition
47 …peError: Initializer for field 'reviewers' does not match the expected definition in the ambient a…
50 …rror: Initializer for field 'reviewersAge' does not match the expected definition in the ambient a…
53 …peError: Initializer for field 'testBools' does not match the expected definition in the ambient a…
Dambient_annotations_bad_type02.ets36 …peError: Initializer for field 'authorAge' does not match the expected definition in the ambient a…
38 …ypeError: Initializer for field 'testBool' does not match the expected definition in the ambient a…
39 …eError: Initializer for field 'favorColor' does not match the expected definition in the ambient a…
40 /* @@@ label6 Error TypeError: Initializer for field 'color' does not match the expected definition
/arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/FixedArray/annotation_tests/
Dambient_annotations_bad_type01.ets35 …eError: Initializer for field 'authorName' does not match the expected definition in the ambient a…
37 …peError: Initializer for field 'authorAge' does not match the expected definition in the ambient a…
39 …ypeError: Initializer for field 'testBool' does not match the expected definition in the ambient a…
41 …eError: Initializer for field 'favorColor' does not match the expected definition in the ambient a…
44 /* @@@ label8 Error TypeError: Initializer for field 'color' does not match the expected definition
47 …peError: Initializer for field 'reviewers' does not match the expected definition in the ambient a…
50 …rror: Initializer for field 'reviewersAge' does not match the expected definition in the ambient a…
53 …peError: Initializer for field 'testBools' does not match the expected definition in the ambient a…
Dambient_annotations_bad_type02.ets36 …peError: Initializer for field 'authorAge' does not match the expected definition in the ambient a…
38 …ypeError: Initializer for field 'testBool' does not match the expected definition in the ambient a…
39 …eError: Initializer for field 'favorColor' does not match the expected definition in the ambient a…
40 /* @@@ label6 Error TypeError: Initializer for field 'color' does not match the expected definition
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/declgen_ets2ts/namespace/
Dlib.ets55 // 1. Variable definition and assignment
59 // 2. Function definition
64 // 3. Interface definition
69 // 4. Class definition implementing the interface
84 // 5. Enum definition
91 // 6. Annotations definition
/arkcompiler/ets_frontend/ets2panda/ir/ets/
DetsStructDeclaration.cpp26 {"definition", Definition()}, in Dump()
32 if (Definition() != nullptr) { in Dump()
33 Definition()->Dump(dumper); in Dump()
/arkcompiler/runtime_core/tests/cts-generator/generator/
Ddefinitions.rb23 def definition(item_name) method in Generator.Definitions
24 LOG.debug "search for '#{item_name}' definition"
32 raise "Definition of '#{item_name}' is not found"
Dtest_base.rb80 content.puts @definitions.definition template
82 content.puts @predefined.definition template
86 content.puts @predefined.definition Generator::DEF_MAIN
94 content.puts @predefined.definition 'main-exitcode-wrapper'
/arkcompiler/runtime_core/static_core/tests/cts-generator/generator/
Ddefinitions.rb23 def definition(item_name) method in Generator.Definitions
24 LOG.debug "search for '#{item_name}' definition"
32 raise "Definition of '#{item_name}' is not found"
Dtest_base.rb80 content.puts @definitions.definition template
82 content.puts @predefined.definition template
86 content.puts @predefined.definition Generator::DEF_MAIN
94 content.puts @predefined.definition 'main-exitcode-wrapper'
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
DrestTupleLowering.cpp60 ir::AstNode *definition) in CreateMemberOrThisExpression() argument
64 if (definition->IsConstructor()) { in CreateMemberOrThisExpression()
72 if (definition->AsMethodDefinition()->IsStatic()) { in CreateMemberOrThisExpression()
73 …auto *parentClass = util::Helpers::FindAncestorGivenByType(definition, ir::AstNodeType::CLASS_DEFI… in CreateMemberOrThisExpression()
114 …reateNewCallExpression(public_lib::Context *ctx, ir::Expression *funcExpr, ir::AstNode *definition, in CreateNewCallExpression() argument
133 ir::Expression *memberExpr = CreateMemberOrThisExpression(ctx, funcExpr, definition); in CreateNewCallExpression()
319 …odDefinition *CreateNewMethodDefinition(public_lib::Context *ctx, ir::MethodDefinition *definition, in CreateNewMethodDefinition() argument
324 …auto *methodKey = definition->AsMethodDefinition()->Key()->AsIdentifier()->Clone(allocator, nullpt… in CreateNewMethodDefinition()
326 …ctx->AllocNode<ir::MethodDefinition>(definition->AsMethodDefinition()->Kind(), methodKey, function, in CreateNewMethodDefinition()
327definition->AsMethodDefinition()->Modifiers(), allocator, false); in CreateNewMethodDefinition()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
Dmplad_latency_type.def1 /* cortex_a55 latency type definition definition : */
/arkcompiler/ets_frontend/ets2panda/test/unit/public/
Dast_verifier_private_access_negative_test.cpp39 ->Definition() in TEST_F()
66 ->Definition() in TEST_F()
94 ->Definition() in TEST_F()
122 ->Definition() in TEST_F()
152 ->Definition() in TEST_F()
194 ->Definition() in TEST_F()
236 ->Definition() in TEST_F()
Dast_verifier_protected_access_negative_test.cpp40 ->Definition() in TEST_F()
68 ->Definition() in TEST_F()
96 ->Definition() in TEST_F()
126 ->Definition() in TEST_F()
168 ->Definition() in TEST_F()
210 ->Definition() in TEST_F()
/arkcompiler/ets_frontend/ets2panda/test/unit/plugin/
De2p_test_plugin_ets_benchmark_test.cpp78 es2panda_AstNode *definition = impl->ClassDeclarationDefinition(globalContext, ast); in FindClass() local
79 if (definition == nullptr) { in FindClass()
82 es2panda_AstNode *identifier = impl->ClassDefinitionIdent(globalContext, definition); in FindClass()
87 CreateNewFunctions(globalContext, definition); in FindClass()
Dplugin_proceed_to_state_member_expression.cpp71 es2panda_AstNode *definition = impl->ClassDeclarationDefinition(context, node); in FindClass() local
72 if (definition == nullptr) { in FindClass()
75 es2panda_AstNode *identifier = impl->ClassDefinitionIdent(context, definition); in FindClass()
80 classDef = definition; in FindClass()
160 // find class definition in main()
/arkcompiler/ets_frontend/ets2panda/lsp/src/
Dcreate_type_help_items.cpp69 typeParams = node->AsETSStructDeclaration()->Definition()->TypeParams(); in GetEffectiveTypeParameterDeclarations()
89 … CreateClassName(std::string(node->AsClassDeclaration()->Definition()->Ident()->Name()))); in GetTypeHelpItem()
90 typeParams = node->AsClassDeclaration()->Definition()->TypeParams(); in GetTypeHelpItem()
96 …SignatureCreateStructName(std::string(node->AsETSStructDeclaration()->Definition()->Ident()->Name(… in GetTypeHelpItem()
97 typeParams = node->AsETSStructDeclaration()->Definition()->TypeParams(); in GetTypeHelpItem()
Dget_definition_and_bound_span.cpp21 This api resolves the definition of a symbol at a given position in source code and returns:
22 The location of that definition (file + span)
/arkcompiler/runtime_core/static_core/plugins/ets/tests/napi/ets/
DFakeNativeTest.ets36 …hrow new Error("ERROR: nativeFake method was successfully called, but does not have a definition");
49 … Error("ERROR: nativeFakeCritical method was successfully called, but does not have a definition");

12345678910>>...48