| /arkcompiler/ets_frontend/es2panda/compiler/base/ |
| D | hoisting.cpp | 26 …d StoreModuleVarOrLocalVar(PandaGen *pg, binder::ScopeFindResult &result, const binder::Decl *decl) in StoreModuleVarOrLocalVar() 38 static void HoistVar(PandaGen *pg, binder::Variable *var, const binder::VarDecl *decl) in HoistVar() 59 static void HoistFunction(PandaGen *pg, binder::Variable *var, const binder::FunctionDecl *decl) in HoistFunction() 106 const auto *decl = var->Declaration(); in Hoist() local
|
| D | lexenv.cpp | 48 const auto *decl = result.variable->Declaration(); in ExpandLoadLexVar() local 81 const auto *decl = result.variable->Declaration(); in ExpandStoreLexVar() local
|
| /arkcompiler/ets_frontend/es2panda/binder/ |
| D | variable.h | 168 explicit GlobalVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) {} in GlobalVariable() 180 explicit ModuleVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) {} in ModuleVariable() 206 : Variable(decl, VariableFlags::NONE), backReference_(backReference) in Variable() argument 246 explicit NamespaceVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) {} in NamespaceVariable() 271 explicit ImportEqualsVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) {} in ImportEqualsVariable()
|
| D | variable.cpp | 24 LocalVariable::LocalVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) in LocalVariable() 74 void EnumVariable::ResetDecl(Decl *decl) in ResetDecl()
|
| D | binder.h | 262 T *decl = Allocator()->New<T>(std::forward<Args>(args)...); in AddTsDecl() local 275 T *decl = Allocator()->New<T>(std::forward<Args>(args)...); in AddDecl() local 288 T *decl = Allocator()->New<T>(std::forward<Args>(args)...); in AddDecl() local
|
| D | scope.h | 267 bool AddDecl(ArenaAllocator *allocator, Decl *decl, [[maybe_unused]] ScriptExtension extension) in AddDecl() 273 … bool AddTsDecl(ArenaAllocator *allocator, Decl *decl, [[maybe_unused]] ScriptExtension extension) in AddTsDecl() 880 T *decl = allocator->New<T>(std::forward<Args>(args)...); in NewDecl() local 893 auto *decl = allocator->New<DeclType>(name); in AddDecl() local 906 auto *decl = allocator->New<DeclType>(name); in CreateVar() local
|
| D | scope.cpp | 265 auto *decl = NewDecl<ParameterDecl>(allocator, name); in AddParamDecl() local 381 auto *decl = res->second->Declaration(); in ConvertLocalVariableToModuleVariable() local
|
| D | binder.cpp | 271 auto decl = res.variable->Declaration(); in LookupIdentReference() local 679 auto *decl = Allocator()->New<ParameterDecl>(name); in AddMandatoryParam() local
|
| D | declaration.h | 132 void Add(T *decl) in Add()
|
| /arkcompiler/ets_frontend/es2panda/ir/module/ |
| D | exportDefaultDeclaration.h | 34 explicit ExportDefaultDeclaration(AstNode *decl, bool exportEquals) in ExportDefaultDeclaration()
|
| D | exportNamedDeclaration.h | 45 explicit ExportNamedDeclaration(Statement *decl, ArenaVector<ExportSpecifier *> &&specifiers) in ExportNamedDeclaration()
|
| /arkcompiler/ets_frontend/es2panda/compiler/core/ |
| D | function.cpp | 120 static void CompileInstanceFields(PandaGen *pg, const ir::ScriptFunction *decl) in CompileInstanceFields() 150 const auto *decl = pg->RootNode()->AsScriptFunction(); in CompileFunction() local
|
| /arkcompiler/ets_frontend/es2panda/ir/expressions/ |
| D | identifier.cpp | 93 const binder::Decl *decl = Variable()->Declaration(); in Check() local
|
| /arkcompiler/ets_frontend/es2panda/parser/ |
| D | statementParser.cpp | 170 ir::TSModuleDeclaration *decl = ParseTsModuleDeclaration(isDeclare); in ParseStatement() local 414 auto *decl = Binder()->AddDecl<binder::ImportEqualsDecl>(id->Start(), declflag, id->Name()); in ParseTsImportEqualsDeclaration() local 585 auto *decl = Binder()->AddDecl<binder::ClassDecl>(location, flag, className); in ParseClassDeclaration() local 614 …auto *decl = Binder()->AddTsDecl<binder::TypeAliasDecl>(lexer_->GetToken().Start(), tsBinding.View… in ParseTsTypeAliasDeclaration() local 664 binder::InterfaceDecl *decl {}; in ParseTsInterfaceDeclaration() local 1091 binder::FunctionDecl *decl {}; in ParseFunctionDeclaration() local 1926 binder::Decl *decl = nullptr; in ParseVariableDeclarator() local 2124 … auto *decl = Binder()->AddDecl<binder::ConstDecl>(startLoc, binder::DeclarationFlags::EXPORT, in AddExportStarEntryItem() local 2183 for (auto *decl : declarators) { in AddExportLocalEntryItem() local 2369 ir::Statement *decl = nullptr; in ParseNamedExportDeclaration() local [all …]
|
| D | parserImpl.cpp | 2843 binder::EnumDecl *decl {}; in ParseEnumMembers() local 2907 binder::EnumLiteralDecl *decl {}; in ParseEnumDeclaration() local
|
| /arkcompiler/ets_frontend/es2panda/parser/transformer/ |
| D | transformer.cpp | 134 auto *decl = node->Decl(); in VisitTSNode() local 210 auto *decl = var->Declaration(); in IsInstantiatedTSModule() local 271 std::vector<ir::AstNode *> Transformer::VisitExportNamedVariable(ir::Statement *decl) in VisitExportNamedVariable() 359 binder::Decl *decl = nullptr; in CreateVariableDeclarationWithIdentify() local
|
| /arkcompiler/ets_frontend/es2panda/ir/statements/ |
| D | variableDeclarator.cpp | 49 const ir::VariableDeclaration *decl = parent_->AsVariableDeclaration(); in Compile() local
|
| /arkcompiler/ets_frontend/es2panda/ir/ts/ |
| D | tsEnumDeclaration.cpp | 269 auto *decl = checker->Allocator()->New<binder::EnumDecl>(memberStr); in AddEnumValueDeclaration() local 280 auto *decl = checker->Allocator()->New<binder::EnumDecl>(memberStr); in AddEnumValueDeclaration() local
|
| /arkcompiler/ets_frontend/es2panda/typescript/core/ |
| D | helpers.cpp | 363 const binder::Decl *decl = var->Declaration(); in GetTypeOfVariable() local 504 binder::Decl *decl = var->Declaration(); in GetTypeReferenceType() local
|
| D | object.cpp | 452 binder::InterfaceDecl *decl = type->Variable()->Declaration()->AsInterfaceDecl(); in GetBaseTypes() local 514 binder::InterfaceDecl *decl = type->Variable()->Declaration()->AsInterfaceDecl(); in ResolveDeclaredMembers() local
|
| D | function.cpp | 546 void Checker::InferFunctionDeclarationType(const binder::FunctionDecl *decl, binder::Variable *func… in InferFunctionDeclarationType()
|