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) { 215 setExportedDecls(moduleScope: ModuleScope) { 222 setModuleEnvironment(moduleScope: ModuleScope) { 229 if (!(moduleScope instanceof ModuleScope)) { 241 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, 467 …private recordEcmaNamedBindings(namedBindings: ts.NamedImportBindings, scope: ModuleScope, moduleR… 490 …private recordEcmaImportClause(importClause: ts.ImportClause, scope: ModuleScope, moduleRequest: s… 504 if (!(scope instanceof ModuleScope)) { 519 private recordEcmaExportDecl(node: ts.ExportDeclaration, scope: ModuleScope) { 559 if (!(scope instanceof ModuleScope)) { 623 if (scope instanceof GlobalScope || scope instanceof ModuleScope) { 624 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 | 54 import { ModuleScope } from "./scope"; 390 if (pg.getScope() instanceof ModuleScope) { 392 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, 727 if (hasExportKeywordModifier(decl) && this.scope instanceof ModuleScope) {
|
| /arkcompiler/ets_frontend/es2panda/parser/module/ |
| D | sourceTextModuleRecord.h | 22 class ModuleScope; variable 100 void AssignIndexToModuleVariable(binder::ModuleScope *moduleScope);
|
| D | sourceTextModuleRecord.cpp | 166 void SourceTextModuleRecord::AssignIndexToModuleVariable(binder::ModuleScope *moduleScope) in AssignIndexToModuleVariable()
|
| /arkcompiler/ets_frontend/es2panda/binder/ |
| D | scope.cpp | 374 void ModuleScope::ConvertLocalVariableToModuleVariable(ArenaAllocator *allocator, util::StringView … in ConvertLocalVariableToModuleVariable() 388 void ModuleScope::AssignIndexToModuleVariable(util::StringView name, uint32_t index) in AssignIndexToModuleVariable() 396 bool ModuleScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddBinding()
|
| D | variableFlags.h | 59 _(MODULE, ModuleScope) \
|
| D | scope.h | 676 class ModuleScope : public FunctionScope { 678 explicit ModuleScope(ArenaAllocator *allocator) : FunctionScope(allocator, nullptr) in ModuleScope() function
|
| D | binder.cpp | 59 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…
|