Home
last modified time | relevance | path

Searched refs:GlobalScope (Results 1 – 15 of 15) sorted by relevance

/arkcompiler/ets_frontend/ts2panda/tests/
Dscope.test.ts22 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 …]
Dlexenv.test.ts48 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/
DvariableDeclaration.test.ts35 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/
Dhoisting.ts26 GlobalScope,
56 if (scope instanceof GlobalScope) {
77 if (scope instanceof GlobalScope) {
DcompilerDriver.ts40 GlobalScope,
143 postOrderAnalysis(scope: GlobalScope): VariableScope[] {
336 let topLevelScope: GlobalScope | ModuleScope;
340 topLevelScope = new GlobalScope(node);
DlexicalBinder.ts22 GlobalScope,
150 if (declPosInfo.scope instanceof GlobalScope) {
Drecorder.ts38 GlobalScope,
627 if (scope instanceof GlobalScope || scope instanceof ModuleScope) {
628 this.collectHoistDecls(node, <GlobalScope | ModuleScope>hoistScope, funcDecl);
779 if (isGlobalIdentifier(declName) && (scope instanceof GlobalScope)) {
Dcompiler.ts80 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) {
Dscope.ts399 export class GlobalScope extends VariableScope { class
DsyntaxChecker.ts35 GlobalScope,
249 if (!(scope instanceof GlobalScope)) {
/arkcompiler/ets_frontend/es2panda/binder/
DvariableFlags.h58 _(GLOBAL, GlobalScope) \
Dscope.h682 class GlobalScope : public FunctionScope {
684 explicit GlobalScope(ArenaAllocator *allocator) : FunctionScope(allocator, nullptr) in GlobalScope() function
Dscope.cpp340 bool GlobalScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddBinding()
Dbinder.cpp66 topScope_ = Allocator()->New<GlobalScope>(Allocator()); in InitTopScope()
/arkcompiler/ets_frontend/ts2panda/src/statement/
DclassStatement.ts46 GlobalScope,
145 if (!ts.isClassExpression(stmt) && classScope.getParent() instanceof GlobalScope) {