Searched refs:declarators (Results 1 - 9 of 9) sorted by relevance
/arkcompiler/ets_frontend/ets2panda/util/ast-builders/ |
H A D | variableDeclarationBuilder.h | 44 VariableDeclarationBuilder &SetDeclarators(ArenaVector<VariableDeclarator *> &&declarators) in SetDeclarators() argument 46 declarators_ = std::move(declarators); in SetDeclarators()
|
/arkcompiler/ets_frontend/es2panda/ir/statements/ |
H A D | variableDeclaration.h | 38 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 D | variableDeclaration.h | 32 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 D | ast_builder_test.cpp | 394 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 D | scopedDebugInfoPlugin.cpp | 37 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 D | ETSAnalyzerHelpers.cpp | 539 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 D | statementParser.cpp | 1409 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 D | transformer.cpp | 1767 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 D | statementParser.cpp | 2170 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