Home
last modified time | relevance | path

Searched refs:ConstDecl (Results 1 - 17 of 17) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/compiler/lowering/scopesInit/
H A DsavedBindingsCtx.cpp58 VarBinder()->AddDecl<varbinder::ConstDecl>(rhs->Start(), util::StringView(DEFAULT_EXPORT)); in BindExportDecl()
H A DscopesInitPhase.cpp136 AddOrGetDecl<varbinder::ConstDecl>(VarBinder(), classDef->PrivateId(), classDef, classDef->Start(), in VisitClassDefinition()
406 auto identDecl = AddOrGetDecl<varbinder::ConstDecl>(VarBinder(), identNode->Name(), classDef, identNode->Start(), in BindClassName()
448 return VarBinder()->NewVarDecl<varbinder::ConstDecl>(startLoc, name); in AddOrGetVarDecl()
556 AddOrGetDecl<varbinder::ConstDecl>(VarBinder(), ident->Name(), interfDecl, ident->Start(), ident->Name()); in VisitTSInterfaceDeclaration()
629 AddOrGetDecl<varbinder::ConstDecl>(VarBinder(), classDef->PrivateId(), classDef, classDef->Start(), in VisitClassDefinition()
1170 AddOrGetDecl<varbinder::ConstDecl>(VarBinder(), name, classProp, classProp->Key()->Start(), name, classProp); in VisitClassProperty()
/arkcompiler/ets_frontend/ets2panda/varbinder/
H A Ddeclaration.h288 class ConstDecl : public Decl { class
290 explicit ConstDecl(util::StringView name) : Decl(name) {} in ConstDecl() function in ark::es2panda::ark::es2panda::varbinder::ConstDecl
291 explicit ConstDecl(util::StringView name, ir::AstNode *declNode) : Decl(name, declNode) {} in ConstDecl() function in ark::es2panda::ark::es2panda::varbinder::ConstDecl
H A DvariableFlags.h27 _(CONST, ConstDecl) \
H A Dvarbinder.cpp172 (*scope)->AddDecl<ConstDecl, LocalVariable>(Allocator(), FUNCTION_ARGUMENTS, VariableFlags::INITIALIZED); in InstantiateArgumentsImpl()
H A Dscope.cpp435 nameVar_ = AddDecl<ConstDecl, LocalVariable>(allocator, name, VariableFlags::INITIALIZED); in BindName()
/arkcompiler/ets_frontend/es2panda/binder/
H A Ddeclaration.h296 class ConstDecl : public Decl { class
298 explicit ConstDecl(util::StringView name) : Decl(name) {} in ConstDecl() function in panda::es2panda::panda::es2panda::binder::ConstDecl
H A DvariableFlags.h28 _(CONST, ConstDecl) \
H A Dscope.cpp525 nameVar_ = AddDecl<ConstDecl, LocalVariable>(allocator, name, VariableFlags::INITIALIZED); in BindName()
H A Dbinder.cpp291 scope->AddDecl<ConstDecl, LocalVariable>(Allocator(), FUNCTION_ARGUMENTS, VariableFlags::INITIALIZED); in InstantiateArguments()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
H A DboxingForLocals.cpp147 auto *newDecl = allocator->New<varbinder::ConstDecl>(id->Name(), newDeclarator); in HandleFunctionParam()
199 auto *newDecl = allocator->New<varbinder::ConstDecl>(oldVar->Name(), newDeclarator); in HandleVariableDeclarator()
H A DenumLowering.cpp151 varbinder_->NewVarDecl<varbinder::ConstDecl>(arrayIdent->Start(), arrayIdent->Name(), arrayClassProp); in MakeArray()
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A DutilityTypeHandlers.cpp174 ? static_cast<varbinder::Decl *>(Allocator()->New<varbinder::ConstDecl>(propClone->Id()->Name())) in CreateNullishProperty()
/arkcompiler/ets_frontend/es2panda/parser/
H A DparserImpl.h336 ir::Identifier *SetIdentNodeInClassDefinition(bool isDeclare, binder::ConstDecl **decl);
H A DparserImpl.cpp3132 ir::Identifier *ParserImpl::SetIdentNodeInClassDefinition(bool isDeclare, binder::ConstDecl **decl) in SetIdentNodeInClassDefinition()
3140 *decl = Binder()->AddDecl<binder::ConstDecl>(lexer_->GetToken().Start(), isDeclare, identStr); in SetIdentNodeInClassDefinition()
3157 binder::ConstDecl *decl = nullptr; in ParseClassDefinition()
H A DstatementParser.cpp2087 decl = Binder()->AddDecl<binder::ConstDecl>(startLoc, declflag, isDeclare, binding->Name()); in ParseVariableDeclarator()
2361 auto *decl = Binder()->AddDecl<binder::ConstDecl>(startLoc, binder::DeclarationFlags::EXPORT, in AddExportStarEntryItem()
2945 return Binder()->AddDecl<binder::ConstDecl>(startPos, flag, false, name); in AddImportDecl()
/arkcompiler/ets_frontend/es2panda/parser/transformer/
H A Dtransformer.cpp1894 decl = Binder()->AddDecl<binder::ConstDecl>(startPos, declflag, false, name); in CreateVariableDeclarationWithIdentify()

Completed in 30 milliseconds