| /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() 113 const auto *decl = var->Declaration(); in Hoist() local
|
| D | lexenv.cpp | 58 const auto *decl = result.variable->Declaration(); in ExpandLoadLexVar() local 100 const auto *decl = result.variable->Declaration(); in ExpandStoreLexVar() local
|
| /arkcompiler/ets_frontend/ets2panda/compiler/base/ |
| D | hoisting.cpp | 23 static void HoistVar(PandaGen *pg, varbinder::Variable *var, const varbinder::VarDecl *decl) in HoistVar() 39 …tic void HoistFunction(PandaGen *pg, varbinder::Variable *var, const varbinder::FunctionDecl *decl) in HoistFunction() 69 const auto *decl = var->Declaration(); in Hoist() local
|
| /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() 81 void EnumVariable::ResetDecl(Decl *decl) in ResetDecl()
|
| D | binder.h | 283 T *decl = Allocator()->New<T>(std::forward<Args>(args)...); in AddTsDecl() local 297 T *decl = Allocator()->New<T>(std::forward<Args>(args)...); in AddTsDecl() local 312 T *decl = Allocator()->New<T>(std::forward<Args>(args)...); in AddDecl() local 326 T *decl = Allocator()->New<T>(std::forward<Args>(args)...); in AddDecl() 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 | 49 explicit ExportNamedDeclaration(Statement *decl, ArenaVector<ExportSpecifier *> &&specifiers) in ExportNamedDeclaration() 69 void SetDecl(Statement *decl) in SetDecl()
|
| /arkcompiler/ets_frontend/ets2panda/compiler/lowering/scopesInit/ |
| D | savedBindingsCtx.cpp | 49 auto *decl = exportDecl->AsExportDefaultDeclaration(); in BindExportDecl() local 71 auto *decl = in BindExportDecl() local
|
| D | scopesInitPhase.cpp | 227 auto *decl = VarBinder()->AddDecl<varbinder::ExportDecl>(exportAllDecl->Start(), name, "*"); in VisitExportAllDeclaration() local 280 …auto *decl = VarBinder()->AddDecl<varbinder::ExportDecl>(exportDecl->Start(), spec->Exported()->Na… in VisitExportNamedDeclaration() local 389 …:BindVarDecl([[maybe_unused]] ir::Identifier *binding, ir::Expression *init, varbinder::Decl *decl, in BindVarDecl() 429 auto *decl = VarBinder()->AddDecl<varbinder::VarDecl>(moduleDecl->Name()->Start(), in VisitTSModuleDeclaration() local 449 auto *decl = VarBinder()->AddTsDecl<varbinder::TypeAliasDecl>(id->Start(), tsBinding.View()); in VisitTSTypeAliasDeclaration() local 468 varbinder::InterfaceDecl *decl {}; in VisitTSInterfaceDeclaration() local 510 auto *decl = VarBinder()->AddDecl<varbinder::EnumDecl>(key->Start(), name); in VisitTSEnumMember() local 520 varbinder::EnumLiteralDecl *decl {}; in VisitTSEnumDeclaration() local 542 …auto decl = VarBinder()->AddDecl<varbinder::TypeParameterDecl>(typeParam->Start(), typeParam->Name… in VisitTSTypeParameter() local 595 varbinder::FunctionDecl *decl {}; in CreateFuncDecl() local [all …]
|
| /arkcompiler/ets_frontend/ets2panda/compiler/core/ |
| D | moduleContext.cpp | 36 for (const auto *decl : decls) { in CompileImports() local 73 for (const auto *decl : decls) { in CompileExports() local
|
| D | function.cpp | 146 void Function::CompileInstanceFields(PandaGen *pg, const ir::ScriptFunction *decl) in CompileInstanceFields() 221 const auto *decl = pg->RootNode()->AsScriptFunction(); in CompileFunction() local
|
| /arkcompiler/ets_frontend/ets2panda/varbinder/ |
| D | variable.h | 193 explicit GlobalVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) {} in GlobalVariable() 205 explicit ModuleVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) {} in ModuleVariable() 242 : Variable(decl, VariableFlags::NONE), backReference_(backReference) in Variable() argument
|
| D | variable.cpp | 23 LocalVariable::LocalVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) in LocalVariable() 59 void EnumVariable::ResetDecl(Decl *decl) in ResetDecl()
|
| D | varbinder.h | 346 T *decl = Allocator()->New<T>(std::forward<Args>(args)...); in AddTsDecl() local 358 T *decl = Allocator()->New<T>(std::forward<Args>(args)...); in AddDecl() local 370 T *decl = Allocator()->New<T>(std::forward<Args>(args)...); in NewVarDecl() local
|
| D | scope.cpp | 340 auto *decl = NewDecl<ParameterDecl>(allocator, name); in AddParamDecl() local 543 for (auto &decl : res.second) { in AddImportDecl() local 548 void ModuleScope::AddExportDecl(ir::AstNode *exportDecl, ExportDecl *decl) in AddExportDecl() 562 for (auto &decl : res.second) { in AddExportDecl() local 612 for (const auto *decl : decls) { in ExportAnalysis() local
|
| /arkcompiler/ets_frontend/ets2panda/ir/module/ |
| D | exportNamedDeclaration.h | 36 explicit ExportNamedDeclaration(ArenaAllocator *allocator, AstNode *decl, in ExportNamedDeclaration() 45 explicit ExportNamedDeclaration(ArenaAllocator *allocator, AstNode *decl) in ExportNamedDeclaration()
|
| D | exportDefaultDeclaration.h | 24 explicit ExportDefaultDeclaration(AstNode *decl, bool exportEquals) in ExportDefaultDeclaration()
|
| /arkcompiler/ets_frontend/ets2panda/linter/src/utils/functions/ |
| D | IsStruct.ts | 23 for (const decl of symbol.declarations) { constant
|
| /arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/ |
| D | interfacePropertyDeclarations.cpp | 77 … auto *decl = checker->Allocator()->New<varbinder::VarDecl>(field->Key()->AsIdentifier()->Name()); in GenerateGetterOrSetter() local 123 …auto *decl = checker->Allocator()->New<varbinder::FunctionDecl>(checker->Allocator(), name, getter… in UpdateInterfacePropertys() local
|
| /arkcompiler/ets_frontend/ets2panda/checker/types/ets/ |
| D | etsTypeParameter.h | 31 void SetDeclNode(ir::TSTypeParameter *decl) in SetDeclNode()
|
| /arkcompiler/ets_frontend/es2panda/ir/expressions/ |
| D | identifier.cpp | 88 const binder::Decl *decl = Variable()->Declaration(); in Check() local
|
| /arkcompiler/ets_frontend/es2panda/parser/ |
| D | statementParser.cpp | 235 ir::TSModuleDeclaration *decl = ParseTsModuleDeclaration(isDeclare); in ParseStatement() local 485 …auto *decl = Binder()->AddDecl<binder::ImportEqualsDecl>(id->Start(), declflag, false, id->Name()); in ParseTsImportEqualsDeclaration() local 683 …auto *decl = Binder()->AddDecl<binder::ClassDecl>(location, flag, classDefinition->Declare(), clas… in ParseClassDeclaration() local 713 …auto *decl = Binder()->AddTsDecl<binder::TypeAliasDecl>(lexer_->GetToken().Start(), isDeclare, tsB… in ParseTsTypeAliasDeclaration() local 755 binder::InterfaceDecl *decl {}; in ParseTsInterfaceDeclaration() local 1222 binder::FunctionDecl *decl {}; in AddFunctionToBinder() local 2038 binder::Decl *decl = nullptr; in ParseVariableDeclarator() local 2323 … auto *decl = Binder()->AddDecl<binder::ConstDecl>(startLoc, binder::DeclarationFlags::EXPORT, in AddExportStarEntryItem() local 2383 for (auto *decl : declarators) { in AddExportLocalEntryItem() local 2640 ir::Statement *decl = nullptr; in ParseNamedExportDeclaration() local [all …]
|
| /arkcompiler/ets_frontend/es2panda/compiler/core/ |
| D | function.cpp | 171 static void CompileClassInitializer(PandaGen *pg, const ir::ScriptFunction *decl, bool isStatic) in CompileClassInitializer() 218 const auto *decl = pg->RootNode()->AsScriptFunction(); in CompileFunction() local
|
| /arkcompiler/ets_frontend/es2panda/ir/statements/ |
| D | variableDeclarator.cpp | 51 const ir::VariableDeclaration *decl = parent_->AsVariableDeclaration(); in Compile() local
|