Home
last modified time | relevance | path

Searched refs:declarators (Results 1 - 9 of 9) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/util/ast-builders/
H A DvariableDeclarationBuilder.h44 VariableDeclarationBuilder &SetDeclarators(ArenaVector<VariableDeclarator *> &&declarators) in SetDeclarators() argument
46 declarators_ = std::move(declarators); in SetDeclarators()
/arkcompiler/ets_frontend/es2panda/ir/statements/
H A DvariableDeclaration.h38 explicit VariableDeclaration(VariableDeclarationKind kind, ArenaVector<VariableDeclarator *> &&declarators, in VariableDeclaration() argument
42 declarators_(std::move(declarators)), in VariableDeclaration()
/arkcompiler/ets_frontend/ets2panda/ir/statements/
H A DvariableDeclaration.h32 ArenaVector<VariableDeclarator *> &&declarators, bool declare) in VariableDeclaration()
36 declarators_(std::move(declarators)), in VariableDeclaration()
31 VariableDeclaration(VariableDeclarationKind kind, ArenaAllocator *allocator, ArenaVector<VariableDeclarator *> &&declarators, bool declare) VariableDeclaration() argument
/arkcompiler/ets_frontend/ets2panda/test/unit/public/
H A Dast_builder_test.cpp394 ark::ArenaVector<ark::es2panda::ir::VariableDeclarator *> declarators(Allocator()->Adapter()); in TEST_F()
395 declarators.push_back(varDeclarator); in TEST_F()
397 .SetDeclarators(std::move(declarators)) in TEST_F()
/arkcompiler/ets_frontend/ets2panda/evaluate/
H A DscopedDebugInfoPlugin.cpp37 ArenaVector<ir::VariableDeclarator *> declarators(1, declarator, checker->Allocator()->Adapter()); in CreateVariableDeclaration()
39 ir::VariableDeclaration::VariableDeclarationKind::CONST, checker->Allocator(), std::move(declarators), false); in CreateVariableDeclaration()
/arkcompiler/ets_frontend/ets2panda/checker/
H A DETSAnalyzerHelpers.cpp539 if (auto const &declarators = left->AsVariableDeclaration()->Declarators(); !declarators.empty()) { in GetIteratorType()
540 iterType = getIterType(declarators.front()); in GetIteratorType()
/arkcompiler/ets_frontend/ets2panda/parser/
H A DstatementParser.cpp1409 ArenaVector<ir::VariableDeclarator *> declarators(Allocator()->Adapter()); in ParseVariableDeclaration()
1414 declarators.push_back(declarator); in ParseVariableDeclaration()
1430 lexer::SourcePosition endLoc = declarators.back()->End(); in ParseVariableDeclaration()
1432 AllocNode<ir::VariableDeclaration>(varKind, Allocator(), std::move(declarators), InAmbientContext()); in ParseVariableDeclaration()
/arkcompiler/ets_frontend/es2panda/parser/transformer/
H A Dtransformer.cpp1767 auto declarators = decl->AsVariableDeclaration()->Declarators(); in VisitExportNamedVariable() local
1768 for (auto *it : declarators) { in VisitExportNamedVariable()
1868 ArenaVector<ir::VariableDeclarator *> declarators(Allocator()->Adapter()); in CreateVariableDeclarationWithIdentify()
1869 declarators.push_back(declarator); in CreateVariableDeclarationWithIdentify()
1878 auto *declaration = AllocNode<ir::VariableDeclaration>(varKind, std::move(declarators), false); in CreateVariableDeclarationWithIdentify()
/arkcompiler/ets_frontend/es2panda/parser/
H A DstatementParser.cpp2170 ArenaVector<ir::VariableDeclarator *> declarators(Allocator()->Adapter()); in ParseVariableDeclaration()
2175 declarators.push_back(declarator); in ParseVariableDeclaration()
2191 lexer::SourcePosition endLoc = declarators.back()->End(); in ParseVariableDeclaration()
2192 auto *declaration = AllocNode<ir::VariableDeclaration>(varKind, std::move(declarators), isDeclare); in ParseVariableDeclaration()
2420 auto declarators = declNode->AsVariableDeclaration()->Declarators(); in AddExportLocalEntryItem() local
2421 for (auto *decl : declarators) { in AddExportLocalEntryItem()

Completed in 18 milliseconds