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.cpp325 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/ets2panda/varbinder/
Dscope.cpp595 Variable *ModuleScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDe… 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 *newDec… in AddImport()
671 bool ModuleScope::ExportAnalysis() in ExportAnalysis()
DvariableFlags.h68 _(MODULE, ModuleScope)
Dscope.h886 class ModuleScope : public GlobalScope {
894 explicit ModuleScope(ArenaAllocator *allocator) in ModuleScope() function
Dvarbinder.cpp67 topScope_ = Allocator()->New<ModuleScope>(Allocator()); in InitTopScope()
/arkcompiler/ets_frontend/es2panda/binder/
DvariableFlags.h62 _(MODULE, ModuleScope) \
Dscope.cpp740 void ModuleScope::ConvertLocalVariableToModuleVariable(ArenaAllocator *allocator, util::StringView … 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()
Dscope.h1042 class ModuleScope : public FunctionScope {
1044 …explicit ModuleScope(ArenaAllocator *allocator, parser::Program *program) : FunctionScope(allocato… in ModuleScope() function
Dbinder.cpp66 topScope_ = Allocator()->New<ModuleScope>(Allocator(), program_); 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…