Lines Matching refs:compiler
32 private compiler: Compiler; property in LReference
43 compiler: Compiler,
48 this.compiler = compiler;
57 this.obj = compiler.getPandaGen().getTemp();
58 this.prop = compiler.getPandaGen().getTemp();
63 let pandaGen = this.compiler.getPandaGen();
75 this.compiler.loadTarget(this.node, this.variable!);
85 let pandaGen = this.compiler.getPandaGen();
96 this.compiler.getThis(this.node, thisReg);
106 this.compiler.storeTarget(this.node, this.variable!, this.isDeclaration);
109 …ileDestructuring(<ts.BindingOrAssignmentPattern>this.destructuringTarget, pandaGen, this.compiler);
129 … static generateLReference(compiler: Compiler, node: ts.Node, isDeclaration: boolean): LReference {
130 let pandaGen = compiler.getPandaGen();
142 let variable = compiler.getCurrentScope().find(name);
146 variable.v = compiler.getCurrentScope().add(name, VarDeclarationKind.VAR);
148 variable.v = compiler.getCurrentScope().add(name, VarDeclarationKind.NONE);
152 … return new LReference(realNode, compiler, isDeclaration, ReferenceKind.LOCAL_OR_GLOBAL, variable);
156 … let lref = new LReference(realNode, compiler, false, ReferenceKind.MEMBER_ACCESS, undefined);
159 … let { obj: object, prop: property } = getObjAndProp(realNode, objReg, propReg, compiler);
170 return LReference.generateLReference(compiler, decls[0].name, true);
174 … return new LReference(realNode, compiler, isDeclaration, ReferenceKind.DESTRUCTURING, undefined);