| /arkcompiler/ets_frontend/es2panda/compiler/base/ |
| D | hoisting.cpp | 23 …d StoreModuleVarOrLocalVar(PandaGen *pg, binder::ScopeFindResult &result, const binder::Decl *decl) in StoreModuleVarOrLocalVar() 36 static void HoistVar(PandaGen *pg, binder::Variable *var, const binder::VarDecl *decl) in HoistVar() 61 static void HoistFunction(PandaGen *pg, binder::Variable *var, const binder::FunctionDecl *decl) in HoistFunction() 111 const auto *decl = var->Declaration(); in Hoist() local
|
| D | lexenv.cpp | 48 auto decl = result.variable->Declaration(); in ExpandLoadLexVar() local 97 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() 70 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 | 22 LocalVariable::LocalVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) in LocalVariable() 88 void EnumVariable::ResetDecl(Decl *decl) in ResetDecl()
|
| D | binder.h | 298 T *decl = Allocator()->New<T>(std::forward<Args>(args)...); in AddTsDecl() local 315 T *decl = Allocator()->New<T>(std::forward<Args>(args)...); in AddTsDecl() local 333 T *decl = Allocator()->New<T>(std::forward<Args>(args)...); in AddDecl() local 350 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 | 321 auto *decl = in VisitExportAllDeclaration() local 377 auto *decl = in VisitExportNamedDeclaration() local 506 …:BindVarDecl([[maybe_unused]] ir::Identifier *binding, ir::Expression *init, varbinder::Decl *decl, in BindVarDecl() 572 …auto *decl = AddOrGetDecl<varbinder::VarDecl>(VarBinder(), name, moduleDecl, moduleDecl->Name()->S… in VisitTSModuleDeclaration() local 592 auto *decl = VarBinder()->AddTsDecl<varbinder::TypeAliasDecl>(id->Start(), tsBinding.View()); in VisitTSTypeAliasDeclaration() local 611 varbinder::InterfaceDecl *decl {}; in VisitTSInterfaceDeclaration() local 661 …if (auto *decl = AddOrGetDecl<varbinder::EnumDecl>(VarBinder(), name, enumMember, key->Start(), na… in VisitTSEnumMember() local 671 varbinder::EnumLiteralDecl *decl {}; in VisitTSEnumDeclaration() local 695 …if (auto *decl = AddOrGetDecl<varbinder::TypeParameterDecl>(VarBinder(), name, typeParam, typePara… in VisitTSTypeParameter() local 754 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 | 198 void Function::CompileInstanceFields(PandaGen *pg, const ir::ScriptFunction *decl) in CompileInstanceFields() 228 const auto *decl = pg->RootNode()->AsScriptFunction(); in CompileFunction() local
|
| /arkcompiler/ets_frontend/ets2panda/varbinder/ |
| D | variable.h | 200 explicit GlobalVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) {} in GlobalVariable() 212 explicit ModuleVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) {} in ModuleVariable() 249 : Variable(decl, VariableFlags::NONE), backReference_(backReference) in Variable() argument
|
| D | variable.cpp | 25 LocalVariable::LocalVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) in LocalVariable() 62 void EnumVariable::ResetDecl(Decl *decl) in ResetDecl()
|
| /arkcompiler/ets_frontend/ets2panda/linter/src/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 | 367 void TSChecker::GetTypeVar(varbinder::Decl *decl) in GetTypeVar() 382 void TSChecker::GetTypeParam(varbinder::Variable *var, varbinder::Decl *decl) in GetTypeParam() 413 void TSChecker::GetTypeEnum(varbinder::Variable *var, varbinder::Decl *decl) in GetTypeEnum() 429 Type *TSChecker::GetDeclTsType(varbinder::Variable *var, varbinder::Decl *decl) in GetDeclTsType() 486 varbinder::Decl *decl = var->Declaration(); in GetTypeOfVariable() local 536 varbinder::Decl *decl = var->Declaration(); in GetTypeReferenceType() local
|
| /arkcompiler/ets_frontend/ets2panda/util/ast-builders/ |
| D | exportDefaultDeclarationBuilder.h | 29 ExportDefaultDeclarationBuilder &SetDeclaration(AstNode *decl) in SetDeclaration()
|
| /arkcompiler/ets_frontend/ets2panda/lsp/src/ |
| D | script_element_kind.cpp | 313 auto decl = compiler::DeclarationFromIdentifier(node->AsIdentifier()); in GetAliasDeclFromCurrentToken() local 339 auto decl = compiler::DeclarationFromIdentifier(targetIdent); in GetAliasScriptElementKindImpl() local
|
| D | completions.cpp | 395 std::vector<CompletionEntry> GetCompletionFromClassDefinition(ir::ClassDefinition *decl, const std:… in GetCompletionFromClassDefinition() 442 …::vector<CompletionEntry> GetCompletionFromTSInterfaceDeclaration(ir::TSInterfaceDeclaration *decl, in GetCompletionFromTSInterfaceDeclaration() 473 std::vector<CompletionEntry> GetCompletionFromMethodDefinition(ir::MethodDefinition *decl, in GetCompletionFromMethodDefinition() 589 auto decl = compiler::DeclarationFromIdentifier(preNode->AsIdentifier()); in GetPropertyCompletions() local 622 std::string GetDeclName(const ir::AstNode *decl) in GetDeclName() 674 bool IsValidDecl(const ir::AstNode *decl) in IsValidDecl() 680 CompletionEntry InitEntry(const ir::AstNode *decl) in InitEntry() 741 auto decl = compiler::DeclarationFromIdentifier(node->AsIdentifier()); in GetDeclByScopePath() local 767 for (auto decl : decls) { in GetGlobalCompletions() local
|
| /arkcompiler/ets_frontend/ets2panda/checker/types/ets/ |
| D | etsTypeParameter.h | 31 void SetDeclNode(ir::TSTypeParameter *decl) noexcept in SetDeclNode()
|
| /arkcompiler/ets_frontend/es2panda/ir/expressions/ |
| D | identifier.cpp | 80 const binder::Decl *decl = Variable()->Declaration(); in Check() local
|
| /arkcompiler/ets_frontend/ets2panda/linter/src/lib/utils/ |
| D | TsUtils.ts | 360 const decl = TsUtils.getDeclaration(symbol); constant 1908 const decl = TsUtils.getDeclaration(sym); constant 1924 const decl = TsUtils.getDeclaration(sym); constant 1942 const decl = TsUtils.getDeclaration(sym); constant 2562 const decl = sym.declarations[0]; constant 3162 const decl = this.getDeclarationNode(node); constant 3171 const decl = this.getDeclarationNode(node); constant 3226 const decl = callSigns[0].declaration; constant 3234 const decl = this.getTypsAliasOriginalDecl(type); constant 3248 const decl = this.getTypsAliasOriginalDecl(type); constant [all …]
|
| /arkcompiler/ets_frontend/es2panda/compiler/core/ |
| D | function.cpp | 167 static void CompileClassInitializer(PandaGen *pg, const ir::ScriptFunction *decl, bool isStatic) in CompileClassInitializer() 214 const auto *decl = pg->RootNode()->AsScriptFunction(); in CompileFunction() local
|