/arkcompiler/ets_frontend/ets2panda/compiler/lowering/scopesInit/ |
H A D | savedBindingsCtx.cpp | 58 VarBinder()->AddDecl<varbinder::ConstDecl>(rhs->Start(), util::StringView(DEFAULT_EXPORT)); in BindExportDecl()
|
H A D | scopesInitPhase.cpp | 136 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 D | declaration.h | 288 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 D | variableFlags.h | 27 _(CONST, ConstDecl) \
|
H A D | varbinder.cpp | 172 (*scope)->AddDecl<ConstDecl, LocalVariable>(Allocator(), FUNCTION_ARGUMENTS, VariableFlags::INITIALIZED); in InstantiateArgumentsImpl()
|
H A D | scope.cpp | 435 nameVar_ = AddDecl<ConstDecl, LocalVariable>(allocator, name, VariableFlags::INITIALIZED); in BindName()
|
/arkcompiler/ets_frontend/es2panda/binder/ |
H A D | declaration.h | 296 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 D | variableFlags.h | 28 _(CONST, ConstDecl) \
|
H A D | scope.cpp | 525 nameVar_ = AddDecl<ConstDecl, LocalVariable>(allocator, name, VariableFlags::INITIALIZED); in BindName()
|
H A D | binder.cpp | 291 scope->AddDecl<ConstDecl, LocalVariable>(Allocator(), FUNCTION_ARGUMENTS, VariableFlags::INITIALIZED); in InstantiateArguments()
|
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/ |
H A D | boxingForLocals.cpp | 147 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 D | enumLowering.cpp | 151 varbinder_->NewVarDecl<varbinder::ConstDecl>(arrayIdent->Start(), arrayIdent->Name(), arrayClassProp); in MakeArray()
|
/arkcompiler/ets_frontend/ets2panda/checker/ets/ |
H A D | utilityTypeHandlers.cpp | 174 ? static_cast<varbinder::Decl *>(Allocator()->New<varbinder::ConstDecl>(propClone->Id()->Name())) in CreateNullishProperty()
|
/arkcompiler/ets_frontend/es2panda/parser/ |
H A D | parserImpl.h | 336 ir::Identifier *SetIdentNodeInClassDefinition(bool isDeclare, binder::ConstDecl **decl);
|
H A D | parserImpl.cpp | 3132 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 D | statementParser.cpp | 2087 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 D | transformer.cpp | 1894 decl = Binder()->AddDecl<binder::ConstDecl>(startPos, declflag, false, name); in CreateVariableDeclarationWithIdentify()
|