| /arkcompiler/ets_frontend/es2panda/compiler/base/ |
| D | hoisting.cpp | 27 …d StoreModuleVarOrLocalVar(PandaGen *pg, binder::ScopeFindResult &result, const binder::Decl *decl) in StoreModuleVarOrLocalVar() 40 static void HoistVar(PandaGen *pg, binder::Variable *var, const binder::VarDecl *decl) in HoistVar() 65 static void HoistFunction(PandaGen *pg, binder::Variable *var, const binder::FunctionDecl *decl) in HoistFunction() 115 const auto *decl = var->Declaration(); in Hoist() local
|
| D | lexenv.cpp | 52 auto decl = result.variable->Declaration(); in ExpandLoadLexVar() local 101 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/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/es2panda/binder/ |
| D | variable.h | 176 explicit GlobalVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) {} in GlobalVariable() 188 explicit ModuleVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) {} in ModuleVariable() 214 : Variable(decl, VariableFlags::NONE), backReference_(backReference) in Variable() argument 276 explicit NamespaceVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) {} in NamespaceVariable() 306 explicit EnumLiteralVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) {} in EnumLiteralVariable() 340 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() 88 void EnumVariable::ResetDecl(Decl *decl) in ResetDecl()
|
| D | binder.h | 292 T *decl = Allocator()->New<T>(std::forward<Args>(args)...); in AddTsDecl() local 309 T *decl = Allocator()->New<T>(std::forward<Args>(args)...); in AddTsDecl() local 327 T *decl = Allocator()->New<T>(std::forward<Args>(args)...); in AddDecl() local 344 T *decl = Allocator()->New<T>(std::forward<Args>(args)...); in AddDecl() local
|
| /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 | 272 auto *decl = in VisitExportAllDeclaration() local 328 auto *decl = in VisitExportNamedDeclaration() local 441 …:BindVarDecl([[maybe_unused]] ir::Identifier *binding, ir::Expression *init, varbinder::Decl *decl, in BindVarDecl() 484 …auto *decl = AddOrGetDecl<varbinder::VarDecl>(VarBinder(), name, moduleDecl, moduleDecl->Name()->S… in VisitTSModuleDeclaration() local 503 auto *decl = VarBinder()->AddTsDecl<varbinder::TypeAliasDecl>(id->Start(), tsBinding.View()); in VisitTSTypeAliasDeclaration() local 522 varbinder::InterfaceDecl *decl {}; in VisitTSInterfaceDeclaration() local 565 … auto *decl = AddOrGetDecl<varbinder::EnumDecl>(VarBinder(), name, enumMember, key->Start(), name); in VisitTSEnumMember() local 575 varbinder::EnumLiteralDecl *decl {}; in VisitTSEnumDeclaration() local 598 …auto decl = AddOrGetDecl<varbinder::TypeParameterDecl>(VarBinder(), name, typeParam, typeParam->St… in VisitTSTypeParameter() local 655 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 | 197 void Function::CompileInstanceFields(PandaGen *pg, const ir::ScriptFunction *decl) in CompileInstanceFields() 227 const auto *decl = pg->RootNode()->AsScriptFunction(); in CompileFunction() local
|
| /arkcompiler/ets_frontend/ets2panda/varbinder/ |
| D | variable.h | 207 explicit GlobalVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) {} in GlobalVariable() 219 explicit ModuleVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) {} in ModuleVariable() 256 : Variable(decl, VariableFlags::NONE), backReference_(backReference) in Variable() argument
|
| D | variable.cpp | 25 LocalVariable::LocalVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) in LocalVariable() 61 void EnumVariable::ResetDecl(Decl *decl) in ResetDecl()
|
| D | varbinder.h | 357 T *decl = Allocator()->New<T>(std::forward<Args>(args)...); in AddTsDecl() local 369 T *decl = Allocator()->New<T>(std::forward<Args>(args)...); in AddDecl() local 381 T *decl = Allocator()->New<T>(std::forward<Args>(args)...); in NewVarDecl() local
|
| /arkcompiler/ets_frontend/ets2panda/linter/lib/utils/functions/ |
| D | IsStruct.ts | 23 for (const decl of symbol.declarations) { constant
|
| /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/checker/ts/ |
| D | helpers.cpp | 357 void TSChecker::GetTypeVar(varbinder::Decl *decl) in GetTypeVar() 371 void TSChecker::GetTypeParam(varbinder::Variable *var, varbinder::Decl *decl) in GetTypeParam() 401 void TSChecker::GetTypeEnum(varbinder::Variable *var, varbinder::Decl *decl) in GetTypeEnum() 417 Type *TSChecker::GetDeclTsType(varbinder::Variable *var, varbinder::Decl *decl) in GetDeclTsType() 474 varbinder::Decl *decl = var->Declaration(); in GetTypeOfVariable() local 521 varbinder::Decl *decl = var->Declaration(); in GetTypeReferenceType() local
|
| /arkcompiler/ets_frontend/ets2panda/util/ast-builders/ |
| D | exportDefaultDeclarationBuilder.h | 35 ExportDefaultDeclarationBuilder &SetDeclaration(AstNode *decl) in SetDeclaration()
|
| D | variableDeclarationBuilder.h | 44 VariableDeclarationBuilder &SetDeclare(bool decl) in SetDeclare()
|
| /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/ets2panda/compiler/lowering/ets/ |
| D | interfacePropertyDeclarations.cpp | 113 auto *decl = checker->Allocator()->New<varbinder::VarDecl>(name); in GenerateGetterOrSetter() local 159 …auto *decl = checker->Allocator()->New<varbinder::FunctionDecl>(checker->Allocator(), name, getter… in UpdateInterfacePropertys() local
|
| /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
|