Searched refs:GlobalScope (Results 1 – 15 of 15) sorted by relevance
/arkcompiler/ets_frontend/ts2panda/tests/ |
D | scope.test.ts | 22 GlobalScope, 33 let scope = new GlobalScope(); 43 let scope = new GlobalScope(); 53 let scope = new GlobalScope(); 63 let scope = new GlobalScope(); 73 let scope = new GlobalScope(); 80 let globalScope = new GlobalScope(); 121 let globalScope = new GlobalScope(); 129 let parent = new GlobalScope(); 137 expect(spParent instanceof GlobalScope).to.be.true; [all …]
|
D | lexenv.test.ts | 48 GlobalScope, 69 let globalScope = new GlobalScope(sourceFile); 97 let globalScope = new GlobalScope(sourceFile); 144 let globalScope = new GlobalScope(sourceFile); 168 let globalScope = new GlobalScope(sourceFile); 222 let globalScope = new GlobalScope(sourceFile); 240 let globalScope = new GlobalScope(); 262 let globalScope = new GlobalScope(); 282 let globalScope = new GlobalScope(); 301 let globalScope = new GlobalScope(); [all …]
|
/arkcompiler/ets_frontend/ts2panda/tests/statements/ |
D | variableDeclaration.test.ts | 35 GlobalScope 52 let globalScope = <GlobalScope>snippetCompiler.getGlobalScope(); 69 let globalScope = <GlobalScope>snippetCompiler.getGlobalScope(); 85 let globalScope = <GlobalScope>snippetCompiler.getGlobalScope(); 101 let globalScope = <GlobalScope>snippetCompiler.getGlobalScope(); 119 let globalScope = <GlobalScope>snippetCompiler.getGlobalScope(); 135 let globalScope = <GlobalScope>snippetCompiler.getGlobalScope(); 146 let globalScope = <GlobalScope>snippetCompiler.getGlobalScope(); 157 let globalScope = <GlobalScope>snippetCompiler.getGlobalScope();
|
/arkcompiler/ets_frontend/ts2panda/src/ |
D | hoisting.ts | 26 GlobalScope, 56 if (scope instanceof GlobalScope) { 77 if (scope instanceof GlobalScope) {
|
D | compilerDriver.ts | 40 GlobalScope, 143 postOrderAnalysis(scope: GlobalScope): VariableScope[] { 336 let topLevelScope: GlobalScope | ModuleScope; 340 topLevelScope = new GlobalScope(node);
|
D | lexicalBinder.ts | 22 GlobalScope, 150 if (declPosInfo.scope instanceof GlobalScope) {
|
D | recorder.ts | 38 GlobalScope, 627 if (scope instanceof GlobalScope || scope instanceof ModuleScope) { 628 this.collectHoistDecls(node, <GlobalScope | ModuleScope>hoistScope, funcDecl); 779 if (isGlobalIdentifier(declName) && (scope instanceof GlobalScope)) {
|
D | compiler.ts | 80 GlobalScope, 1021 if (!v || ((scope instanceof GlobalScope) && (v instanceof GlobalVariable))) { 1424 if (variable.scope instanceof GlobalScope) { 1434 if (variable.v.isLetOrConst() && variable.scope instanceof GlobalScope) { 1479 if (variable.scope instanceof GlobalScope) {
|
D | scope.ts | 399 export class GlobalScope extends VariableScope { class
|
D | syntaxChecker.ts | 35 GlobalScope, 249 if (!(scope instanceof GlobalScope)) {
|
/arkcompiler/ets_frontend/es2panda/binder/ |
D | variableFlags.h | 58 _(GLOBAL, GlobalScope) \
|
D | scope.h | 682 class GlobalScope : public FunctionScope { 684 explicit GlobalScope(ArenaAllocator *allocator) : FunctionScope(allocator, nullptr) in GlobalScope() function
|
D | scope.cpp | 340 bool GlobalScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddBinding()
|
D | binder.cpp | 66 topScope_ = Allocator()->New<GlobalScope>(Allocator()); in InitTopScope()
|
/arkcompiler/ets_frontend/ts2panda/src/statement/ |
D | classStatement.ts | 46 GlobalScope, 145 if (!ts.isClassExpression(stmt) && classScope.getParent() instanceof GlobalScope) {
|