Home
last modified time | relevance | path

Searched refs:outerScope (Results 1 – 3 of 3) sorted by relevance

/arkcompiler/ets_frontend/ts2panda/tests/
Dlexenv.test.ts490 let outerScope = outerPg!.getScope(); variable
491 let outerA = outerScope!.findLocal("a");
492 let outerB = outerScope!.findLocal("b");
495 …expect((<FunctionScope>outerScope).getNumLexEnv(), "number of lexvar at outer scope").to.be.equal(…
501 expect(searchRlt!.scope, "a is defined in outerscope").to.be.deep.equal(outerScope);
/arkcompiler/ets_frontend/es2panda/binder/
Dbinder.cpp391 void Binder::BuildScriptFunction(Scope *outerScope, const ir::ScriptFunction *scriptFunc) in BuildScriptFunction() argument
398 VariableScope *outerVarScope = outerScope->EnclosingVariableScope(); in BuildScriptFunction()
658 auto *outerScope = scope_; in ResolveReference() local
693 BuildScriptFunction(outerScope, scriptFunc); in ResolveReference()
Dbinder.h200 void BuildScriptFunction(Scope *outerScope, const ir::ScriptFunction *scriptFunc);