• Home
  • Raw
  • Download

Lines Matching full:this

4  * you may not use this file except in compliance with the License.
47 this.node = node;
48 this.compiler = compiler;
49 this.isDeclaration = isDeclaration;
50 this.refKind = refKind;
53 this.destructuringTarget = <ts.BindingOrAssignmentPattern>node;
55 this.variable = variable!;
57 this.obj = compiler.getPandaGen().getTemp();
58 this.prop = compiler.getPandaGen().getTemp();
63 let pandaGen = this.compiler.getPandaGen();
64 switch (this.refKind) {
67 if (this.propLiteral === undefined) {
68 prop = <VReg>this.prop!;
70 prop = this.propLiteral;
72 pandaGen.loadObjProperty(this.node, <VReg>this.obj, prop);
75 this.compiler.loadTarget(this.node, this.variable!);
85 let pandaGen = this.compiler.getPandaGen();
86 switch (this.refKind) {
89 if (this.propLiteral === undefined) {
90 prop = <VReg>this.prop!;
92 prop = this.propLiteral;
94 … (jshelpers.isSuperProperty(<ts.ElementAccessExpression | ts.PropertyAccessExpression>this.node)) {
96 this.compiler.getThis(this.node, thisReg);
97 pandaGen.storeSuperProperty(this.node, thisReg, prop);
100 pandaGen.storeObjProperty(this.node, <VReg>this.obj, prop);
102 pandaGen.freeTemps(...[<VReg>this.obj, <VReg>this.prop]);
106 this.compiler.storeTarget(this.node, this.variable!, this.isDeclaration);
109 …compileDestructuring(<ts.BindingOrAssignmentPattern>this.destructuringTarget, pandaGen, this.compi…
117 if (!jshelpers.isSuperProperty(this.node)) {
118 pandaGen.moveVreg(this.node, <VReg>this.obj, obj);
122 pandaGen.moveVreg(this.node, <VReg>this.prop, prop);
126 this.propLiteral = <string | number>prop;