Searched refs:ModuleScope (Results 1 – 16 of 16) sorted by relevance
/arkcompiler/ets_frontend/ts2panda/src/ |
D | ecmaModule.ts | 19 import { ModuleScope, Scope } from "./scope"; 197 validateModuleRecordEntries(moduleScope: ModuleScope): void { 219 setExportedDecls(moduleScope: ModuleScope): void { 226 setModuleEnvironment(moduleScope: ModuleScope): void { 233 if (!(moduleScope instanceof ModuleScope)) { 245 if (!(moduleScope instanceof ModuleScope)) {
|
D | hoisting.ts | 28 ModuleScope, 59 } else if (scope instanceof FunctionScope || scope instanceof ModuleScope) { 80 …ope instanceof FunctionScope) || (scope instanceof LocalScope) || (scope instanceof ModuleScope)) {
|
D | syntaxCheckerForStrcitMode.ts | 22 import { ModuleScope, Scope } from "./scope"; 192 if (!(scope instanceof ModuleScope)) { 214 if (!(scope instanceof ModuleScope)) { 224 if (!(scope instanceof ModuleScope)) {
|
D | recorder.ts | 42 ModuleScope, 470 …private recordEcmaNamedBindings(namedBindings: ts.NamedImportBindings, scope: ModuleScope, moduleR… 493 …private recordEcmaImportClause(importClause: ts.ImportClause, scope: ModuleScope, moduleRequest: s… 507 if (!(scope instanceof ModuleScope)) { 522 private recordEcmaExportDecl(node: ts.ExportDeclaration, scope: ModuleScope): void { 563 if (!(scope instanceof ModuleScope)) { 627 if (scope instanceof GlobalScope || scope instanceof ModuleScope) { 628 this.collectHoistDecls(node, <GlobalScope | ModuleScope>hoistScope, funcDecl);
|
D | compilerDriver.ts | 41 ModuleScope, 336 let topLevelScope: GlobalScope | ModuleScope; 338 topLevelScope = new ModuleScope(node); 348 if (topLevelScope instanceof ModuleScope) {
|
D | ts2panda.ts | 59 import { ModuleScope } from "./scope"; 411 if (pg.getScope() instanceof ModuleScope) { 413 makeModuleRecord((<ModuleScope>pg.getScope()).module())
|
D | scope.ts | 419 export class ModuleScope extends VariableScope { class
|
D | syntaxChecker.ts | 38 ModuleScope, 89 if (ts.isFunctionDeclaration(decls[i].node) && scope instanceof ModuleScope) { 165 if (scope instanceof LocalScope && isStrictMode(decl1.node) || scope instanceof ModuleScope) {
|
D | compiler.ts | 82 ModuleScope, 728 if (hasExportKeywordModifier(decl) && this.scope instanceof ModuleScope) {
|
/arkcompiler/ets_frontend/es2panda/parser/module/ |
D | sourceTextModuleRecord.h | 22 class ModuleScope; variable 101 void AssignIndexToModuleVariable(binder::ModuleScope *moduleScope); 153 …void CheckAndAssignIndex(binder::ModuleScope *moduleScope, util::StringView name, uint32_t *inde) …
|
D | sourceTextModuleRecord.cpp | 166 void SourceTextModuleRecord::AssignIndexToModuleVariable(binder::ModuleScope *moduleScope) in AssignIndexToModuleVariable() 180 void SourceTextModuleRecord::CheckAndAssignIndex(binder::ModuleScope *moduleScope, in CheckAndAssignIndex()
|
/arkcompiler/ets_frontend/es2panda/binder/ |
D | scope.cpp | 375 void ModuleScope::ConvertLocalVariableToModuleVariable(ArenaAllocator *allocator, util::StringView … in ConvertLocalVariableToModuleVariable() 389 void ModuleScope::AssignIndexToModuleVariable(util::StringView name, uint32_t index) in AssignIndexToModuleVariable() 397 bool ModuleScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddBinding()
|
D | variableFlags.h | 59 _(MODULE, ModuleScope) \
|
D | scope.h | 698 class ModuleScope : public FunctionScope { 700 explicit ModuleScope(ArenaAllocator *allocator) : FunctionScope(allocator, nullptr) in ModuleScope() function
|
D | binder.cpp | 64 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…
|