Searched refs:moduleScope (Results 1 – 4 of 4) sorted by relevance
/arkcompiler/ets_frontend/ts2panda/src/ |
D | ecmaModule.ts | 197 validateModuleRecordEntries(moduleScope: ModuleScope): void { 209 if (!moduleScope.hasDecl(localName) && localName != '*default*') { 219 setExportedDecls(moduleScope: ModuleScope): void { 222 moduleScope.setExportDecl(localName); 226 setModuleEnvironment(moduleScope: ModuleScope): void { 227 this.validateModuleRecordEntries(moduleScope); 228 this.setExportedDecls(moduleScope); 232 export function setModuleNamespaceImports(compiler: Compiler, moduleScope: Scope, pandagen: PandaGe… 233 if (!(moduleScope instanceof ModuleScope)) { 237 moduleScope.module().getNamespaceImportEntries().forEach(entry => { [all …]
|
/arkcompiler/ets_frontend/es2panda/parser/module/ |
D | sourceTextModuleRecord.cpp | 166 void SourceTextModuleRecord::AssignIndexToModuleVariable(binder::ModuleScope *moduleScope) in AssignIndexToModuleVariable() argument 172 CheckAndAssignIndex(moduleScope, it->first, &index); in AssignIndexToModuleVariable() 177 CheckAndAssignIndex(moduleScope, elem.first, &index); in AssignIndexToModuleVariable() 181 void SourceTextModuleRecord::CheckAndAssignIndex(binder::ModuleScope *moduleScope, in CheckAndAssignIndex() argument 185 if (moduleScope->FindLocal(name) != nullptr) { in CheckAndAssignIndex() 186 moduleScope->AssignIndexToModuleVariable(name, *index); in CheckAndAssignIndex()
|
D | sourceTextModuleRecord.h | 101 void AssignIndexToModuleVariable(binder::ModuleScope *moduleScope); 153 …void CheckAndAssignIndex(binder::ModuleScope *moduleScope, util::StringView name, uint32_t *inde) …
|
/arkcompiler/toolchain/tooling/agent/ |
D | debugger_impl.cpp | 1213 auto moduleScope = std::make_unique<Scope>(); in GetModuleScopeChain() local 1221 moduleScope->SetType(Scope::Type::Module()).SetObject(std::move(module)); in GetModuleScopeChain() 1229 return moduleScope; in GetModuleScopeChain()
|