Home
last modified time | relevance | path

Searched refs:Declarators (Results 1 - 23 of 23) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/test/unit/lowerings/
H A Dscopes_initialization.cpp63 ->Declarators() in BodyToFirstName()
97 auto parName = forNode->Init()->AsVariableDeclaration()->Declarators()[0]->Id()->AsIdentifier(); in TEST_F()
/arkcompiler/ets_frontend/ets2panda/parser/program/
H A DentityNameVisitor.cpp32 const auto &decls = varDecl->AsVariableDeclaration()->Declarators(); in VisitVariableDeclaration()
/arkcompiler/ets_frontend/es2panda/ir/statements/
H A DvariableDeclaration.h47 const ArenaVector<VariableDeclarator *> &Declarators() const in Declarators() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::VariableDeclaration
/arkcompiler/ets_frontend/ets2panda/ir/statements/
H A DvariableDeclaration.h43 const ArenaVector<VariableDeclarator *> &Declarators() const in Declarators() function in ark::es2panda::ir::VariableDeclaration
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
H A DobjectLiteralLowering.cpp85 !firstStatement->AsVariableDeclaration()->Declarators().front()->Init()->IsETSNewClassInstanceExpression()) { in AllowRequiredTypeInstantiation()
89 const auto *const varDecl = firstStatement->AsVariableDeclaration()->Declarators().front()->Init(); in AllowRequiredTypeInstantiation()
H A DoptionalLowering.cpp71 stmts[0]->AsVariableDeclaration()->Declarators()[0]->SetInit(getSource(expr)); in LowerOptionalExpr()
H A DobjectIterator.cpp111 loopVariableName = declaration->Declarators().at(0U)->Id()->AsIdentifier()->Name().Mutf8(); in ProcessObjectIterator()
/arkcompiler/ets_frontend/ets2panda/evaluate/debugInfoDeserialization/
H A DdebugInfoDeserializer.cpp253 ASSERT(varDecl->AsVariableDeclaration()->Declarators().size() == 1); in CreateLocalVarDecl()
254 return varDecl->AsVariableDeclaration()->Declarators()[0]->Id()->Variable(); in CreateLocalVarDecl()
/arkcompiler/ets_frontend/es2panda/compiler/base/
H A Dlreference.cpp171 ASSERT(node->AsVariableDeclaration()->Declarators().size() == 1); in CreateLRef()
172 return LReference::CreateLRef(pg, node->AsVariableDeclaration()->Declarators()[0]->Id(), true); in CreateLRef()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/topLevelStmts/
H A DglobalDeclTransformer.cpp66 for (auto declarator : varDecl->Declarators()) { in VisitVariableDeclaration()
H A DimportExportDecls.cpp172 for (const auto &decl : varDecl->Declarators()) { in VisitVariableDeclaration()
/arkcompiler/ets_frontend/ets2panda/compiler/base/
H A Dlreference.cpp53 ASSERT(node->AsVariableDeclaration()->Declarators().size() == 1); in CreateBase()
54 return CreateBase(cg, node->AsVariableDeclaration()->Declarators()[0]->Id(), true); in CreateBase()
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A DassignAnalyzer.cpp610 for (auto *var : varDef->Declarators()) { in AnalyzeVarDef()
755 for (auto *var : forOfStmt->Left()->AsVariableDeclaration()->Declarators()) { in AnalyzeForOfLoop()
861 for (auto *var : stmt->AsVariableDeclaration()->Declarators()) { in AnalyzeSwitch()
H A DaliveAnalyzer.cpp265 for (auto *it : varDef->Declarators()) { in AnalyzeVarDef()
/arkcompiler/ets_frontend/ets2panda/test/unit/public/
H A Dast_verifier_short_test.cpp304 ->Declarators()[0] in TEST_F()
/arkcompiler/ets_frontend/ets2panda/parser/
H A DstatementParser.cpp689 const ir::VariableDeclarator *varDecl = initNode->AsVariableDeclaration()->Declarators().front(); in ParseForInOf()
929 } else if (initNode->AsVariableDeclaration()->Declarators().size() > 1 && lexer_->GetToken().IsForInOf()) { in ParseForStatement()
930 ThrowSyntaxError(INVALID_LEFT_HAND_IN_FOR_OF, initNode->AsVariableDeclaration()->Declarators()[1]->Start()); in ParseForStatement()
/arkcompiler/ets_frontend/es2panda/parser/transformer/
H A Dtransformer.cpp1431 variableDeclarations[--pos]->AsVariableDeclaration()->Declarators().front()->Id(), in CreateParamDecorators()
1466 variableDeclarations[i]->AsVariableDeclaration()->Declarators().front()->Id(), in CreatePropertyDecorators()
1512 variableDeclarations[--pos]->AsVariableDeclaration()->Declarators().front()->Id(), in CreateMethodDecorators()
1617 variableDeclarations[--pos]->AsVariableDeclaration()->Declarators().front()->Id(), in CreateClassDecorators()
1767 auto declarators = decl->AsVariableDeclaration()->Declarators(); in VisitExportNamedVariable()
/arkcompiler/ets_frontend/ets2panda/checker/
H A DETSAnalyzer.cpp2088 ? st->Left()->AsVariableDeclaration()->Declarators().front()->Id() in ValidateAndProcessIteratorType()
2104 for (auto &declarator : st->Left()->AsVariableDeclaration()->Declarators()) { in ValidateAndProcessIteratorType()
2499 for (auto *it : st->Declarators()) { in Check()
H A DETSAnalyzerHelpers.cpp539 if (auto const &declarators = left->AsVariableDeclaration()->Declarators(); !declarators.empty()) { in GetIteratorType()
H A DTSAnalyzer.cpp1393 for (auto *it : st->Declarators()) { in Check()
/arkcompiler/ets_frontend/es2panda/parser/
H A DstatementParser.cpp1346 const ir::VariableDeclarator *varDecl = initNode->AsVariableDeclaration()->Declarators().front(); in ParseForInOf()
1582 canBeForInOf = initNode->AsVariableDeclaration()->Declarators().size() == 1; in ParseForStatement()
2420 auto declarators = declNode->AsVariableDeclaration()->Declarators(); in AddExportLocalEntryItem()
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DJSCompiler.cpp1697 for (const auto *it : st->Declarators()) { in Compile()
H A DETSCompiler.cpp1700 for (const auto *it : st->Declarators()) { in Compile()

Completed in 48 milliseconds