Home
last modified time | relevance | path

Searched refs:ModuleScope (Results 1 - 14 of 14) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DmoduleContext.h25 class ModuleScope;
35 static void Compile(PandaGen *pg, varbinder::ModuleScope *scope);
H A 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/
H A DsavedBindingsCtx.cpp27 varbinder::ModuleScope::ImportDeclList declList(Allocator()->Adapter()); in BindImportDecl()
46 varbinder::ModuleScope::ExportDeclList declList(Allocator()->Adapter()); in BindExportDecl()
H A DscopesInitPhase.cpp338 varbinder::ModuleScope::ExportDeclList exportDecls(program_->Allocator()->Adapter()); in VisitExportNamedDeclaration()
/arkcompiler/ets_frontend/es2panda/parser/module/
H A DsourceTextModuleRecord.h22 class ModuleScope;
127 void AssignIndexToModuleVariable(binder::ModuleScope *moduleScope);
180 binder::Variable *CheckAndAssignIndex(binder::ModuleScope *moduleScope, util::StringView name, uint32_t *idx) const;
H A DsourceTextModuleRecord.cpp175 void SourceTextModuleRecord::AssignIndexToModuleVariable(binder::ModuleScope *moduleScope) in AssignIndexToModuleVariable()
195 binder::Variable *SourceTextModuleRecord::CheckAndAssignIndex(binder::ModuleScope *moduleScope, in CheckAndAssignIndex()
/arkcompiler/ets_frontend/ets2panda/varbinder/
H A Dscope.cpp593 // ModuleScope
595 Variable *ModuleScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddBinding()
626 void ModuleScope::AddImportDecl(ir::ImportDeclaration *importDecl, ImportDeclList &&decls) in AddImportDecl()
635 void ModuleScope::AddExportDecl(ir::AstNode *exportDecl, ExportDecl *decl) in AddExportDecl()
645 void ModuleScope::AddExportDecl(ir::AstNode *exportDecl, ExportDeclList &&decls) in AddExportDecl()
654 Variable *ModuleScope::AddImport(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl) in AddImport()
671 bool ModuleScope::ExportAnalysis() in ExportAnalysis()
H A DvariableFlags.h68 _(MODULE, ModuleScope)
H A Dscope.h892 class ModuleScope : public GlobalScope { class
900 explicit ModuleScope(ArenaAllocator *allocator) in ModuleScope() function in ark::es2panda::ark::es2panda::ark::es2panda::varbinder::ModuleScope
H A Dvarbinder.cpp67 topScope_ = Allocator()->New<ModuleScope>(Allocator()); in InitTopScope()
/arkcompiler/ets_frontend/es2panda/binder/
H A DvariableFlags.h62 _(MODULE, ModuleScope) \
H A Dscope.cpp738 // ModuleScope
740 void ModuleScope::ConvertLocalVariableToModuleVariable(ArenaAllocator *allocator, util::StringView localName) in ConvertLocalVariableToModuleVariable()
754 void ModuleScope::AssignIndexToModuleVariable(util::StringView name, uint32_t index) in AssignIndexToModuleVariable()
762 bool ModuleScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddBinding()
816 void ModuleScope::SetSelfScopeName([[maybe_unused]] const util::StringView &ident) in SetSelfScopeName()
H A Dscope.h1042 class ModuleScope : public FunctionScope { class
1044 explicit ModuleScope(ArenaAllocator *allocator, parser::Program *program) : FunctionScope(allocator, nullptr) in ModuleScope() function in ModuleScope
1071 // only func_main_0 will call BindNameWithScopeInfo() of ModuleScope
H A Dbinder.cpp69 topScope_ = Allocator()->New<ModuleScope>(Allocator(), program_); in InitTopScope()

Completed in 16 milliseconds