Searched refs:ModuleScope (Results 1 – 15 of 15) sorted by relevance
| /arkcompiler/ets_frontend/ets2panda/compiler/core/ |
| D | moduleContext.h | 25 class ModuleScope; variable 35 static void Compile(PandaGen *pg, varbinder::ModuleScope *scope);
|
| 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/ |
| D | savedBindingsCtx.cpp | 27 varbinder::ModuleScope::ImportDeclList declList(Allocator()->Adapter()); in BindImportDecl() 46 varbinder::ModuleScope::ExportDeclList declList(Allocator()->Adapter()); in BindExportDecl()
|
| D | scopesInitPhase.cpp | 374 varbinder::ModuleScope::ExportDeclList exportDecls(program_->Allocator()->Adapter()); in VisitExportNamedDeclaration()
|
| /arkcompiler/ets_frontend/es2panda/parser/module/ |
| D | sourceTextModuleRecord.h | 22 class ModuleScope; variable 127 void AssignIndexToModuleVariable(binder::ModuleScope *moduleScope); 180 …binder::Variable *CheckAndAssignIndex(binder::ModuleScope *moduleScope, util::StringView name, uin…
|
| 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/es2panda/binder/ |
| D | variableFlags.h | 62 _(MODULE, ModuleScope) \
|
| D | scope.cpp | 720 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()
|
| D | scope.h | 1042 class ModuleScope : public FunctionScope { 1044 …explicit ModuleScope(ArenaAllocator *allocator, parser::Program *program) : FunctionScope(allocato… in ModuleScope() function
|
| D | binder.cpp | 59 topScope_ = Allocator()->New<ModuleScope>(Allocator(), program_); in InitTopScope()
|
| /arkcompiler/ets_frontend/ets2panda/varbinder/ |
| D | variableFlags.h | 74 _(MODULE, ModuleScope)
|
| D | scope.cpp | 709 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()
|
| D | scope.h | 910 class ModuleScope : public GlobalScope { 918 explicit ModuleScope(ArenaAllocator *allocator) in ModuleScope() function
|
| D | varbinder.cpp | 23 topScope_ = Allocator()->New<ModuleScope>(Allocator()); in InitTopScope()
|
| /arkcompiler/ets_frontend/legacy_bin/api8/src/ |
| D | index.js | 2 …"SyntaxError: export function declaration cannot in other scope except ModuleScope");{let t=this.c…
|