Searched refs:ModuleScope (Results 1 - 14 of 14) sorted by relevance
/arkcompiler/ets_frontend/ets2panda/compiler/core/ |
H A D | moduleContext.h | 25 class ModuleScope; 35 static void Compile(PandaGen *pg, varbinder::ModuleScope *scope);
|
H A D | moduleContext.cpp | 28 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 D | savedBindingsCtx.cpp | 27 varbinder::ModuleScope::ImportDeclList declList(Allocator()->Adapter()); in BindImportDecl() 46 varbinder::ModuleScope::ExportDeclList declList(Allocator()->Adapter()); in BindExportDecl()
|
H A D | scopesInitPhase.cpp | 338 varbinder::ModuleScope::ExportDeclList exportDecls(program_->Allocator()->Adapter()); in VisitExportNamedDeclaration()
|
/arkcompiler/ets_frontend/es2panda/parser/module/ |
H A D | sourceTextModuleRecord.h | 22 class ModuleScope; 127 void AssignIndexToModuleVariable(binder::ModuleScope *moduleScope); 180 binder::Variable *CheckAndAssignIndex(binder::ModuleScope *moduleScope, util::StringView name, uint32_t *idx) const;
|
H A D | sourceTextModuleRecord.cpp | 175 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 D | scope.cpp | 593 // 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 D | variableFlags.h | 68 _(MODULE, ModuleScope)
|
H A D | scope.h | 892 class ModuleScope : public GlobalScope { class 900 explicit ModuleScope(ArenaAllocator *allocator) in ModuleScope() function in ark::es2panda::ark::es2panda::ark::es2panda::varbinder::ModuleScope
|
H A D | varbinder.cpp | 67 topScope_ = Allocator()->New<ModuleScope>(Allocator()); in InitTopScope()
|
/arkcompiler/ets_frontend/es2panda/binder/ |
H A D | variableFlags.h | 62 _(MODULE, ModuleScope) \
|
H A D | scope.cpp | 738 // 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 D | scope.h | 1042 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 D | binder.cpp | 69 topScope_ = Allocator()->New<ModuleScope>(Allocator(), program_); in InitTopScope()
|
Completed in 16 milliseconds