Searched refs:GlobalVariable (Results 1 – 11 of 11) sorted by relevance
/arkcompiler/ets_frontend/ts2panda/tests/statements/ |
D | variableDeclaration.test.ts | 38 GlobalVariable, 62 expect(v instanceof GlobalVariable).to.be.true; 112 expect(v instanceof GlobalVariable).to.be.true; 137 expect(i instanceof GlobalVariable).to.be.true; 139 expect(j instanceof GlobalVariable).to.be.true;
|
D | functionDeclaration.test.ts | 37 GlobalVariable, 61 expect(foo instanceof GlobalVariable).to.be.true; 81 expect(foo instanceof GlobalVariable).to.be.true;
|
/arkcompiler/ets_frontend/ts2panda/tests/ |
D | scope.test.ts | 26 GlobalVariable, 35 expect(variable instanceof GlobalVariable).to.be.true; 45 expect(variable instanceof GlobalVariable).to.be.true; 83 expect(variable instanceof GlobalVariable).to.be.true; 132 expect(variable instanceof GlobalVariable).to.be.true; 188 expect(y instanceof GlobalVariable).to.be.true;
|
D | lexenv.test.ts | 52 GlobalVariable, 506 expect(globalA instanceof GlobalVariable, "globalA is GlobalVariable").to.be.true;
|
/arkcompiler/ets_frontend/es2panda/binder/ |
D | variable.cpp | 68 void GlobalVariable::SetLexical([[maybe_unused]] Scope *scope, [[maybe_unused]] util::PatchFix *pat… in SetLexical()
|
D | variable.h | 169 class GlobalVariable : public Variable { 171 explicit GlobalVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) {} in GlobalVariable() function
|
D | scope.cpp | 207 … scope->Bindings().insert({newDecl->Name(), allocator->New<GlobalVariable>(newDecl, varFlags)}); in AddLocal() 345 return AddVar<GlobalVariable>(allocator, currentVariable, newDecl); in AddBinding() 348 return AddFunction<GlobalVariable>(allocator, currentVariable, newDecl, extension); in AddBinding()
|
D | variableFlags.h | 88 _(GLOBAL, GlobalVariable) \
|
/arkcompiler/ets_frontend/ts2panda/src/ |
D | variable.ts | 184 export class GlobalVariable extends Variable { class
|
D | scope.ts | 20 GlobalVariable, 410 v = new GlobalVariable(declKind, name); 451 v = new GlobalVariable(declKind, name);
|
D | compiler.ts | 115 GlobalVariable, 1021 if (!v || ((scope instanceof GlobalScope) && (v instanceof GlobalVariable))) { 1440 } else if (variable.v instanceof GlobalVariable) { 1486 } else if (variable.v instanceof GlobalVariable) {
|