Lines Matching full:scope
29 import { Scope } from "./scope";
137 private static scopeArray: Scope[] = [];
201 public static addScope(scope: Scope) {
202 DebugInfo.scopeArray.push(scope);
327 recordArray.forEach(scope => {
328 let name2variable = scope.getName2variable();
337 variableInfo.setStart(scope.getScopeStartInsIdx());
338 variableInfo.setLength(scope.getScopeEndInsIdx() - scope.getScopeStartInsIdx() + 1);
351 // clear scope array
374 public static addDebugIns(scope: Scope, pandaGen: PandaGen, isStart: boolean) {
382 placeHolder = new DebugInsStartPlaceHolder(scope);
383 DebugInfo.addScope(scope);
385 placeHolder = new DebugInsEndPlaceHolder(scope);