Home
last modified time | relevance | path

Searched defs:decl (Results 1 – 25 of 69) sorted by relevance

123

/arkcompiler/ets_frontend/ets2panda/compiler/base/
Dhoisting.cpp23 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/compiler/base/
Dhoisting.cpp23 …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
Dlexenv.cpp48 auto decl = result.variable->Declaration(); in ExpandLoadLexVar() local
97 const auto *decl = result.variable->Declaration(); in ExpandStoreLexVar() local
/arkcompiler/ets_frontend/es2panda/ir/module/
DexportDefaultDeclaration.h34 explicit ExportDefaultDeclaration(AstNode *decl, bool exportEquals) in ExportDefaultDeclaration()
49 void SetDecl(AstNode *decl) in SetDecl()
DexportNamedDeclaration.h49 explicit ExportNamedDeclaration(Statement *decl, ArenaVector<ExportSpecifier *> &&specifiers) in ExportNamedDeclaration()
69 void SetDecl(Statement *decl) in SetDecl()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/scopesInit/
DsavedBindingsCtx.cpp49 auto *decl = exportDecl->AsExportDefaultDeclaration(); in BindExportDecl() local
71 auto *decl = in BindExportDecl() local
DscopesInitPhase.cpp312 auto *decl = in VisitExportAllDeclaration() local
368 auto *decl = in VisitExportNamedDeclaration() local
482 …:BindVarDecl([[maybe_unused]] ir::Identifier *binding, ir::Expression *init, varbinder::Decl *decl, in BindVarDecl()
525 …auto *decl = AddOrGetDecl<varbinder::VarDecl>(VarBinder(), name, moduleDecl, moduleDecl->Name()->S… in VisitTSModuleDeclaration() local
544 auto *decl = VarBinder()->AddTsDecl<varbinder::TypeAliasDecl>(id->Start(), tsBinding.View()); in VisitTSTypeAliasDeclaration() local
563 varbinder::InterfaceDecl *decl {}; in VisitTSInterfaceDeclaration() local
610 … auto *decl = AddOrGetDecl<varbinder::EnumDecl>(VarBinder(), name, enumMember, key->Start(), name); in VisitTSEnumMember() local
620 varbinder::EnumLiteralDecl *decl {}; in VisitTSEnumDeclaration() local
643 …auto decl = AddOrGetDecl<varbinder::TypeParameterDecl>(VarBinder(), name, typeParam, typeParam->St… in VisitTSTypeParameter() local
700 varbinder::FunctionDecl *decl {}; in CreateFuncDecl() local
[all …]
/arkcompiler/ets_frontend/es2panda/binder/
Dvariable.h176 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()
Dvariable.cpp22 LocalVariable::LocalVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) in LocalVariable()
88 void EnumVariable::ResetDecl(Decl *decl) in ResetDecl()
Dbinder.h298 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/core/
DmoduleContext.cpp36 for (const auto *decl : decls) { in CompileImports() local
73 for (const auto *decl : decls) { in CompileExports() local
Dfunction.cpp197 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/linter/src/lib/utils/functions/
DIsStruct.ts23 for (const decl of symbol.declarations) { constant
/arkcompiler/ets_frontend/ets2panda/varbinder/
Dvariable.h204 explicit GlobalVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) {} in GlobalVariable()
216 explicit ModuleVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) {} in ModuleVariable()
253 : Variable(decl, VariableFlags::NONE), backReference_(backReference) in Variable() argument
Dvariable.cpp25 LocalVariable::LocalVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) in LocalVariable()
61 void EnumVariable::ResetDecl(Decl *decl) in ResetDecl()
Dvarbinder.h366 T *decl = Allocator()->New<T>(std::forward<Args>(args)...); in AddTsDecl() local
378 T *decl = Allocator()->New<T>(std::forward<Args>(args)...); in AddDecl() local
390 T *decl = Allocator()->New<T>(std::forward<Args>(args)...); in NewVarDecl() local
/arkcompiler/ets_frontend/ets2panda/ir/module/
DexportNamedDeclaration.h36 explicit ExportNamedDeclaration(ArenaAllocator *allocator, AstNode *decl, in ExportNamedDeclaration()
45 explicit ExportNamedDeclaration(ArenaAllocator *allocator, AstNode *decl) in ExportNamedDeclaration()
DexportDefaultDeclaration.h24 explicit ExportDefaultDeclaration(AstNode *decl, bool exportEquals) in ExportDefaultDeclaration()
/arkcompiler/ets_frontend/ets2panda/checker/ts/
Dhelpers.cpp370 void TSChecker::GetTypeVar(varbinder::Decl *decl) in GetTypeVar()
384 void TSChecker::GetTypeParam(varbinder::Variable *var, varbinder::Decl *decl) in GetTypeParam()
414 void TSChecker::GetTypeEnum(varbinder::Variable *var, varbinder::Decl *decl) in GetTypeEnum()
430 Type *TSChecker::GetDeclTsType(varbinder::Variable *var, varbinder::Decl *decl) in GetDeclTsType()
487 varbinder::Decl *decl = var->Declaration(); in GetTypeOfVariable() local
540 varbinder::Decl *decl = var->Declaration(); in GetTypeReferenceType() local
Dobject.cpp443 varbinder::InterfaceDecl *decl = type->Variable()->Declaration()->AsInterfaceDecl(); in GetBaseTypes() local
493 …ker::CheckExtendsBases(ObjectType *&baseObj, InterfaceType *&type, varbinder::InterfaceDecl *&decl) in CheckExtendsBases()
511 varbinder::InterfaceDecl *decl = type->Variable()->Declaration()->AsInterfaceDecl(); in ResolveDeclaredMembers() local
/arkcompiler/ets_frontend/ets2panda/util/ast-builders/
DexportDefaultDeclarationBuilder.h29 ExportDefaultDeclarationBuilder &SetDeclaration(AstNode *decl) in SetDeclaration()
/arkcompiler/ets_frontend/ets2panda/checker/types/ets/
DetsTypeParameter.h31 void SetDeclNode(ir::TSTypeParameter *decl) noexcept in SetDeclNode()
/arkcompiler/ets_frontend/es2panda/ir/expressions/
Didentifier.cpp80 const binder::Decl *decl = Variable()->Declaration(); in Check() local
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
DinterfacePropertyDeclarations.cpp112 auto *decl = checker->Allocator()->New<varbinder::VarDecl>(name); in GenerateGetterOrSetter() local
158 …auto *decl = checker->Allocator()->New<varbinder::FunctionDecl>(checker->Allocator(), name, getter… in UpdateInterfacePropertys() local
/arkcompiler/ets_frontend/es2panda/compiler/core/
Dfunction.cpp167 static void CompileClassInitializer(PandaGen *pg, const ir::ScriptFunction *decl, bool isStatic) in CompileClassInitializer()
214 const auto *decl = pg->RootNode()->AsScriptFunction(); in CompileFunction() local

123