Home
last modified time | relevance | path

Searched refs:ModuleScope (Results 1 – 16 of 16) sorted by relevance

/arkcompiler/ets_frontend/ts2panda/src/
DecmaModule.ts19 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)) {
Dhoisting.ts28 ModuleScope,
59 } else if (scope instanceof FunctionScope || scope instanceof ModuleScope) {
80 …ope instanceof FunctionScope) || (scope instanceof LocalScope) || (scope instanceof ModuleScope)) {
DsyntaxCheckerForStrcitMode.ts22 import { ModuleScope, Scope } from "./scope";
192 if (!(scope instanceof ModuleScope)) {
214 if (!(scope instanceof ModuleScope)) {
224 if (!(scope instanceof ModuleScope)) {
Drecorder.ts42 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);
DcompilerDriver.ts41 ModuleScope,
336 let topLevelScope: GlobalScope | ModuleScope;
338 topLevelScope = new ModuleScope(node);
348 if (topLevelScope instanceof ModuleScope) {
Dts2panda.ts54 import { ModuleScope } from "./scope";
390 if (pg.getScope() instanceof ModuleScope) {
392 makeModuleRecord((<ModuleScope>pg.getScope()).module())
Dscope.ts419 export class ModuleScope extends VariableScope { class
DsyntaxChecker.ts38 ModuleScope,
89 if (ts.isFunctionDeclaration(decls[i].node) && scope instanceof ModuleScope) {
165 if (scope instanceof LocalScope && isStrictMode(decl1.node) || scope instanceof ModuleScope) {
Dcompiler.ts82 ModuleScope,
727 if (hasExportKeywordModifier(decl) && this.scope instanceof ModuleScope) {
/arkcompiler/ets_frontend/es2panda/parser/module/
DsourceTextModuleRecord.h22 class ModuleScope; variable
100 void AssignIndexToModuleVariable(binder::ModuleScope *moduleScope);
DsourceTextModuleRecord.cpp166 void SourceTextModuleRecord::AssignIndexToModuleVariable(binder::ModuleScope *moduleScope) in AssignIndexToModuleVariable()
/arkcompiler/ets_frontend/es2panda/binder/
Dscope.cpp374 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()
DvariableFlags.h59 _(MODULE, ModuleScope) \
Dscope.h676 class ModuleScope : public FunctionScope {
678 explicit ModuleScope(ArenaAllocator *allocator) : FunctionScope(allocator, nullptr) in ModuleScope() function
Dbinder.cpp59 topScope_ = Allocator()->New<ModuleScope>(Allocator()); 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…