/arkcompiler/ets_frontend/es2panda/compiler/base/ |
D | hoisting.cpp | 27 …d StoreModuleVarOrLocalVar(PandaGen *pg, binder::ScopeFindResult &result, const binder::Decl *decl) in StoreModuleVarOrLocalVar() 39 static void HoistVar(PandaGen *pg, binder::Variable *var, const binder::VarDecl *decl) in HoistVar() 63 static void HoistFunction(PandaGen *pg, binder::Variable *var, const binder::FunctionDecl *decl) in HoistFunction() 112 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/ir/module/ |
D | exportDefaultDeclaration.h | 34 explicit ExportDefaultDeclaration(AstNode *decl, bool exportEquals) in ExportDefaultDeclaration() 49 void SetDecl(AstNode *decl) in SetDecl()
|
D | exportNamedDeclaration.h | 46 explicit ExportNamedDeclaration(Statement *decl, ArenaVector<ExportSpecifier *> &&specifiers) in ExportNamedDeclaration() 65 void SetDecl(Statement *decl) in SetDecl()
|
/arkcompiler/ets_frontend/es2panda/binder/ |
D | variable.h | 171 explicit GlobalVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) {} in GlobalVariable() 183 explicit ModuleVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) {} in ModuleVariable() 209 : Variable(decl, VariableFlags::NONE), backReference_(backReference) in Variable() argument 271 explicit NamespaceVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) {} in NamespaceVariable() 301 explicit EnumLiteralVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) {} in EnumLiteralVariable() 335 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() 76 void EnumVariable::ResetDecl(Decl *decl) in ResetDecl()
|
D | binder.h | 281 T *decl = Allocator()->New<T>(std::forward<Args>(args)...); in AddTsDecl() local 295 T *decl = Allocator()->New<T>(std::forward<Args>(args)...); in AddTsDecl() local 310 T *decl = Allocator()->New<T>(std::forward<Args>(args)...); in AddDecl() local 324 T *decl = Allocator()->New<T>(std::forward<Args>(args)...); in AddDecl() local
|
D | scope.cpp | 261 auto *decl = NewDecl<ParameterDecl>(allocator, name); in AddParamDecl() local 382 auto *decl = res->second->Declaration(); in ConvertLocalVariableToModuleVariable() local 414 auto decl = currentVariable->Declaration(); in AddBinding() local
|
D | scope.h | 277 bool AddDecl(ArenaAllocator *allocator, Decl *decl, [[maybe_unused]] ScriptExtension extension) in AddDecl() 283 … bool AddTsDecl(ArenaAllocator *allocator, Decl *decl, [[maybe_unused]] ScriptExtension extension) in AddTsDecl() 873 auto decl = currentVariable->Declaration(); in AddFunction() local 910 auto decl = currentVariable->Declaration(); in AddClass() local 972 T *decl = allocator->New<T>(std::forward<Args>(args)...); in NewDecl() local 985 auto *decl = allocator->New<DeclType>(name); in AddDecl() local 998 auto *decl = allocator->New<DeclType>(name); in CreateVar() local
|
D | binder.cpp | 311 auto decl = res.variable->Declaration(); in LookupIdentReference() local 813 auto *decl = Allocator()->New<ParameterDecl>(name); in AddMandatoryParam() local 941 void Binder::ReplaceConstReferenceWithInitialization(const ir::Identifier *ident, const Decl *decl) in ReplaceConstReferenceWithInitialization()
|
D | declaration.h | 150 void Add(T *decl) in Add()
|
/arkcompiler/ets_frontend/es2panda/ir/expressions/ |
D | identifier.cpp | 88 const binder::Decl *decl = Variable()->Declaration(); in Check() local
|
/arkcompiler/ets_frontend/es2panda/compiler/core/ |
D | function.cpp | 140 static void CompileInstanceFields(PandaGen *pg, const ir::ScriptFunction *decl) in CompileInstanceFields() 173 const auto *decl = pg->RootNode()->AsScriptFunction(); in CompileFunction() local
|
/arkcompiler/ets_frontend/es2panda/parser/ |
D | statementParser.cpp | 232 ir::TSModuleDeclaration *decl = ParseTsModuleDeclaration(isDeclare); in ParseStatement() local 476 …auto *decl = Binder()->AddDecl<binder::ImportEqualsDecl>(id->Start(), declflag, false, id->Name()); in ParseTsImportEqualsDeclaration() local 674 …auto *decl = Binder()->AddDecl<binder::ClassDecl>(location, flag, classDefinition->Declare(), clas… in ParseClassDeclaration() local 703 …auto *decl = Binder()->AddTsDecl<binder::TypeAliasDecl>(lexer_->GetToken().Start(), isDeclare, tsB… in ParseTsTypeAliasDeclaration() local 754 binder::InterfaceDecl *decl {}; in ParseTsInterfaceDeclaration() local 1198 binder::FunctionDecl *decl {}; in AddFunctionToBinder() local 2050 binder::Decl *decl = nullptr; in ParseVariableDeclarator() local 2260 … auto *decl = Binder()->AddDecl<binder::ConstDecl>(startLoc, binder::DeclarationFlags::EXPORT, in AddExportStarEntryItem() local 2320 for (auto *decl : declarators) { in AddExportLocalEntryItem() local 2540 ir::Statement *decl = nullptr; in ParseNamedExportDeclaration() local [all …]
|
D | parserImpl.cpp | 2792 ir::Identifier *ParserImpl::SetIdentNodeInClassDefinition(bool isDeclare, binder::ConstDecl **decl) in SetIdentNodeInClassDefinition() 2820 binder::ConstDecl *decl = nullptr; in ParseClassDefinition() local 3088 binder::EnumDecl *decl {}; in ParseEnumMembers() local
|
/arkcompiler/ets_frontend/es2panda/ir/statements/ |
D | variableDeclarator.cpp | 51 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 | 450 binder::InterfaceDecl *decl = type->Variable()->Declaration()->AsInterfaceDecl(); in GetBaseTypes() local 512 binder::InterfaceDecl *decl = type->Variable()->Declaration()->AsInterfaceDecl(); in ResolveDeclaredMembers() local
|
D | function.cpp | 544 void Checker::InferFunctionDeclarationType(const binder::FunctionDecl *decl, binder::Variable *func… in InferFunctionDeclarationType()
|
/arkcompiler/ets_frontend/es2panda/parser/transformer/ |
D | transformer.cpp | 241 auto *decl = node->Decl(); in VisitTSNode() local 279 auto *decl = node->Decl(); in VisitTSNode() local 345 auto *decl = node->Decl(); in VisitExportClassDeclaration() local 1182 auto *decl = var->Declaration(); in IsInstantiatedImportEquals() local 1271 std::vector<ir::AstNode *> Transformer::VisitExportNamedVariable(ir::Statement *decl) in VisitExportNamedVariable() 1377 binder::Decl *decl = nullptr; in CreateVariableDeclarationWithIdentify() local 1879 auto *decl = var->AsNamespaceVariable()->Declaration(); in IsInstantiatedNamespaceVariable() local 2288 auto *decl = var->Declaration()->AsNamespaceDecl(); in IsValueReference() local
|
/arkcompiler/ets_frontend/es2panda/typescript/extractor/ |
D | typeExtractor.cpp | 795 auto decl = originalNode->AsExportNamedDeclaration()->Decl(); in HandleNewlyGenFuncExpression() local
|