Home
last modified time | relevance | path

Searched refs:VariableDeclaratorFlag (Results 1 - 11 of 11) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/ir/statements/
H A DvariableDeclarator.h27 enum class VariableDeclaratorFlag { class
36 explicit VariableDeclarator(VariableDeclaratorFlag flag, Expression *ident) in VariableDeclarator()
41 explicit VariableDeclarator(VariableDeclaratorFlag flag, Expression *ident, Expression *init) in VariableDeclarator()
75 VariableDeclaratorFlag Flag() in Flag()
99 const VariableDeclaratorFlag flag_;
/arkcompiler/ets_frontend/ets2panda/util/ast-builders/
H A DvariableDeclaratorBuilder.h48 ark::es2panda::ir::VariableDeclaratorFlag flag_ = ark::es2panda::ir::VariableDeclaratorFlag::LET;
/arkcompiler/ets_frontend/ets2panda/test/unit/
H A Dnode_creator.h39 auto varDecl = alloc_->New<ir::VariableDeclarator>(ir::VariableDeclaratorFlag::LET, CreateId(name)); in CreateVarDecl()
/arkcompiler/ets_frontend/ets2panda/parser/
H A DforwardDeclForParserImpl.h86 enum class VariableDeclaratorFlag;
H A DstatementParser.cpp1341 ir::VariableDeclaratorFlag ParserImpl::GetFlag(VariableParsingFlags flags) in GetFlag()
1347 return ir::VariableDeclaratorFlag::CONST; in GetFlag()
1349 return ir::VariableDeclaratorFlag::VAR; in GetFlag()
1351 return ir::VariableDeclaratorFlag::LET; in GetFlag()
H A DparserImpl.h104 static ir::VariableDeclaratorFlag GetFlag(VariableParsingFlags flags);
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/scopesInit/
H A DscopesInitPhase.cpp434 std::tuple<varbinder::Decl *, varbinder::Variable *> ScopesInitPhase::AddOrGetVarDecl(ir::VariableDeclaratorFlag flag, in AddOrGetVarDecl()
443 case ir::VariableDeclaratorFlag::LET: in AddOrGetVarDecl()
445 case ir::VariableDeclaratorFlag::VAR: in AddOrGetVarDecl()
447 case ir::VariableDeclaratorFlag::CONST: in AddOrGetVarDecl()
H A DscopesInitPhase.h187 std::tuple<varbinder::Decl *, varbinder::Variable *> AddOrGetVarDecl(ir::VariableDeclaratorFlag flag,
/arkcompiler/ets_frontend/ets2panda/evaluate/
H A DscopedDebugInfoPlugin.cpp35 auto *declarator = checker->AllocNode<ir::VariableDeclarator>(ir::VariableDeclaratorFlag::CONST, ident, init); in CreateVariableDeclaration()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
H A DboxingForLocals.cpp143 allocator, ir::VariableDeclaratorFlag::CONST, allocator->New<ir::Identifier>(id->Name(), allocator), newInit); in HandleFunctionParam()
H A DenumLowering.cpp749 checker->AllocNode<ir::VariableDeclarator>(ir::VariableDeclaratorFlag::LET, loopIdentifier, init);

Completed in 13 milliseconds