Lines Matching full:scope
42 Scope,
44 } from "./scope";
60 readonly scope: Scope,
119 addCompilationUnit(decl: ts.FunctionLikeDeclaration, scope: Scope, recorder: Recorder): string {
122 new PendingCompilationUnit(decl, scope, internalName)
143 postOrderAnalysis(scope: GlobalScope): VariableScope[] {
147 stack.push(scope);
207 this.compileImpl(unit.decl, unit.scope, unit.internalName, recorder);
239 this.compileImpl(unit.decl, unit.scope, unit.internalName, recorder);
253 private compileImpl(node: ts.SourceFile | ts.FunctionLikeDeclaration, scope: Scope,
256 let pandaGen = new PandaGen(internalName, node, this.getParametersCount(node), scope);
264 DebugInfo.addDebugIns(scope, pandaGen, true);
270 setModuleNamespaceImports(compiler, scope, pandaGen);
276 DebugInfo.addDebugIns(scope, pandaGen, false);
299 this.compileUnitTestImpl(unit.decl, unit.scope, unit.internalName, recorder);
308 private compileUnitTestImpl(node: ts.SourceFile | ts.FunctionLikeDeclaration, scope: Scope,
310 let pandaGen = new PandaGen(internalName, node, this.getParametersCount(node), scope);
318 setModuleNamespaceImports(compiler, scope, pandaGen);
458 // each function and global scope accepts three parameters - funcObj + newTarget + this.
459 // the runtime passes these to global scope when calls it
463 // global scope accepts 5 additional parameters: