Home
last modified time | relevance | path

Searched refs:ModuleScope (Results 1 – 15 of 15) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/compiler/core/
DmoduleContext.h25 class ModuleScope; variable
35 static void Compile(PandaGen *pg, varbinder::ModuleScope *scope);
DmoduleContext.cpp28 void CompileImports(PandaGen *pg, varbinder::ModuleScope *scope) in CompileImports()
51 void CompileExports(PandaGen *pg, const varbinder::ModuleScope *scope) in CompileExports()
81 void ModuleContext::Compile(PandaGen *pg, varbinder::ModuleScope *scope) in Compile()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/scopesInit/
DsavedBindingsCtx.cpp27 varbinder::ModuleScope::ImportDeclList declList(Allocator()->Adapter()); in BindImportDecl()
46 varbinder::ModuleScope::ExportDeclList declList(Allocator()->Adapter()); in BindExportDecl()
DscopesInitPhase.cpp374 varbinder::ModuleScope::ExportDeclList exportDecls(program_->Allocator()->Adapter()); in VisitExportNamedDeclaration()
/arkcompiler/ets_frontend/es2panda/parser/module/
DsourceTextModuleRecord.h22 class ModuleScope; variable
127 void AssignIndexToModuleVariable(binder::ModuleScope *moduleScope);
180 …binder::Variable *CheckAndAssignIndex(binder::ModuleScope *moduleScope, util::StringView name, uin…
DsourceTextModuleRecord.cpp175 void SourceTextModuleRecord::AssignIndexToModuleVariable(binder::ModuleScope *moduleScope) in AssignIndexToModuleVariable()
195 binder::Variable *SourceTextModuleRecord::CheckAndAssignIndex(binder::ModuleScope *moduleScope, in CheckAndAssignIndex()
/arkcompiler/ets_frontend/es2panda/binder/
DvariableFlags.h62 _(MODULE, ModuleScope) \
Dscope.cpp720 void ModuleScope::ConvertLocalVariableToModuleVariable(ArenaAllocator *allocator, util::StringView … in ConvertLocalVariableToModuleVariable()
734 void ModuleScope::AssignIndexToModuleVariable(util::StringView name, uint32_t index) in AssignIndexToModuleVariable()
742 bool ModuleScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddBinding()
796 void ModuleScope::SetSelfScopeName([[maybe_unused]] const util::StringView &ident) in SetSelfScopeName()
Dscope.h1042 class ModuleScope : public FunctionScope {
1044 …explicit ModuleScope(ArenaAllocator *allocator, parser::Program *program) : FunctionScope(allocato… in ModuleScope() function
Dbinder.cpp59 topScope_ = Allocator()->New<ModuleScope>(Allocator(), program_); in InitTopScope()
/arkcompiler/ets_frontend/ets2panda/varbinder/
DvariableFlags.h74 _(MODULE, ModuleScope)
Dscope.cpp709 Variable *ModuleScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDe… in AddBinding()
740 void ModuleScope::AddImportDecl(ir::ImportDeclaration *importDecl, ImportDeclList &&decls) in AddImportDecl()
749 void ModuleScope::AddExportDecl(ir::AstNode *exportDecl, ExportDecl *decl) in AddExportDecl()
760 void ModuleScope::AddExportDecl(ir::AstNode *exportDecl, ExportDeclList &&decls) in AddExportDecl()
769 Variable *ModuleScope::AddImport(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDec… in AddImport()
787 bool ModuleScope::ExportAnalysis() in ExportAnalysis()
Dscope.h910 class ModuleScope : public GlobalScope {
918 explicit ModuleScope(ArenaAllocator *allocator) in ModuleScope() function
Dvarbinder.cpp23 topScope_ = Allocator()->New<ModuleScope>(Allocator()); in InitTopScope()
/arkcompiler/ets_frontend/legacy_bin/api8/src/
Dindex.js2 …"SyntaxError: export function declaration cannot in other scope except ModuleScope");{let t=this.c…