Home
last modified time | relevance | path

Searched refs:_this (Results 1 - 25 of 238) sorted by relevance

12345678910

/third_party/typescript/tests/baselines/reference/
H A DderivedClassSuperProperties.js435 var _this = this;
436 _super.prototype.receivesAnything.call(_this);
437 _this = _super.call(this) || this;
438 _this.prop = true;
439 return _this;
446 var _this = this;
447 _super.prototype.receivesAnything.call(_this, _this);
448 _this = _super.call(this) || this;
449 _this
[all...]
H A DcollisionThisExpressionAndParameter.js4 var _this = 10; // Local var. No this capture in x(), so no conflict.
5 function inner(_this: number) { // Error
6 return x => this; // New scope. So should inject new _this capture into function inner
10 var lamda = (_this: number) => { // Error
11 return x => this; // New scope. So should inject new _this capture
14 z(_this: number) { // Error
16 return x => this; // New scope. So should inject new _this capture
21 var _this = 10; // Local var. No this capture in x(), so no conflict.
22 function inner(_this: number) { // No Error
26 var lamda = (_this
[all...]
H A DderivedClassParameterProperties.js130 var _this = this;
132 _this = _super.call(this) || this;
133 _this.y = y;
134 return _this;
141 var _this = _super.call(this) || this;
142 _this.y = y;
144 return _this;
151 var _this = this;
153 _this = _super.call(this) || this;
154 _this
[all...]
H A DresolvingClassDeclarationWhenInBaseTypeResolution.js1046 var _this = this;
1048 (function () { var y = _this; });
1052 var _this = this;
1054 (function () { var y = _this; });
1058 var _this = this;
1060 (function () { var y = _this; });
1064 var _this = this;
1066 (function () { var y = _this; });
1070 var _this = this;
1072 (function () { var y = _this; });
[all...]
H A DassignmentCompatWithGenericCallSignaturesWithOptionalParameters.js139 var _this = this;
141 _this.a = function () { return null; }; // ok, same T of required params
142 _this.a = function (x) { return null; }; // ok, same T of required params
143 _this.a = function (x) { return null; }; // error, too many required params
144 _this.a2 = function () { return null; }; // ok, same T of required params
145 _this.a2 = function (x) { return null; }; // ok, same T of required params
146 _this.a2 = function (x) { return null; }; // ok, same number of params
147 _this.a3 = function () { return null; }; // ok, fewer required params
148 _this.a3 = function (x) { return null; }; // ok, fewer required params
149 _this
[all...]
H A DnoCollisionThisExpressionAndLocalVarInAccessors.js6 var _this = 2;
7 return callback(_this);
16 var _this = 2;
17 return callback(_this);
26 var _this = 2;
29 return callback(_this);
36 var _this = 2;
39 return callback(_this);
54 var _this = 2;
55 return callback(_this);
[all...]
H A DnoCollisionThisExpressionAndLocalVarInMethod.js2 var _this = 2; variable
7 var _this = 2;
8 return callback(_this);
13 var _this = 2;
16 return callback(_this);
23 var _this = 2; variable
30 var _this = 2;
31 return callback(_this);
36 var _this = 2;
39 return callback(_this);
[all...]
H A DcollisionThisExpressionAndEnumInGlobal.js2 enum _this { // Error
10 var _this; variable
11 (function (_this) {
12 _this[_this["_thisVal1"] = 0] = "_thisVal1";
13 _this[_this["_thisVal2"] = 1] = "_thisVal2";
14 })(_this || (_this = {}));
H A DconstructorWithCapturedSuper.js81 var _this = _super.call(this) || this;
83 return _this;
86 return _this;
89 return _this;
92 return _this;
95 return _this;
97 return _this;
104 var _this = _super.call(this) || this;
108 return { value: _this };
116 return _this;
[all...]
H A DderivedClassConstructorWithoutSuperCall.js60 var _this = this;
61 return _this;
73 var _this = this;
74 var r2 = function () { return _this = _super.call(this) || this; }; // error for misplaced super call (nested function)
75 return _this;
82 var _this = this;
83 var r = function () { _this = _super.call(this) || this; }; // error
84 return _this;
91 var _this = this;
92 var r = _this
[all...]
H A DcollisionSuperAndParameter.js5 return x => this; // New scope. So should inject new _this capture
10 return x => this; // New scope. So should inject new _this capture
19 return x => this; // New scope. So should inject new _this capture
24 return x => this; // New scope. So should inject new _this capture
60 return x => this; // New scope. So should inject new _this capture
85 var _this = this;
87 return function (x) { return _this; }; // New scope. So should inject new _this capture
91 var _this = this;
93 return function (x) { return _this; }; // Ne
[all...]
H A DnoCollisionThisExpressionAndLocalVarInConstructor.js6 var _this = 2;
7 return callback(_this);
15 var _this = 2;
18 return callback(_this);
29 var _this = 2;
30 return callback(_this);
38 var _this = 2;
41 return callback(_this);
H A DparserRealSource11.js71 emitter.writeToOutput("_this");
2399 var _this = _super.call(this) || this;
2400 _this.nodeType = nodeType;
2401 _this.type = null;
2402 _this.flags = ASTFlags.Writeable;
2404 _this.passCreated = CompilerDiagnostics.analysisPass;
2405 _this.preComments = null;
2406 _this.postComments = null;
2407 _this.isParenthesized = false;
2408 return _this;
[all...]
H A DarrowFunctionContexts.js114 var _this = this;
117 var p = function () { return _this; };
128 var _this = _super.call(this, function () { return _this; }) || this;
129 return _this;
143 var _this = this;
145 E[E["y"] = (function () { return _this; }).length] = "y"; // error, can't use this in enum
156 var _this = this;
159 var p = function () { return _this; };
170 var _this
[all...]
H A DbaseCheck.js73 var _this = _super.call(this, _this.z) || this;
74 _this.z = z;
75 return _this;
82 var _this = _super.call(this, 0, _this.z) || this;
83 _this.z = z;
84 return _this;
91 var _this = _super.call(this, "hello", _this
[all...]
H A DthisInPropertyBoundDeclarations.js91 var _this = this;
95 (function () { return _this; });
115 var _this = this;
117 this.prop2 = function () { return _this; };
118 this.prop3 = function () { return function () { return function () { return function () { return _this; }; }; }; };
123 (function () { return function () { return function () { return _this; }; }; });
125 a: function () { return _this; }
129 a: function () { return _this; }
H A DcollisionThisExpressionAndLocalVarInAccessors.js6 var _this = 2;
16 var _this = 2;
26 var _this = 2;
36 var _this = 2;
55 var _this = 2;
65 var _this = 2;
81 var _this = 2;
91 var _this = 2;
H A DmixinClassesAnonymous.js94 var _this = _super.call(this, x, y) || this;
95 _this.z = z;
96 return _this;
120 var _this = _super.apply(this, args) || this;
121 _this._tag = "hello";
122 return _this;
145 var _this = _super.call(this, 10, 20, 30) || this;
146 _this._tag = tag;
147 return _this;
159 var _this
[all...]
H A DnoCollisionThisExpressionAndClassInGlobal.js2 class _this {
4 var f = () => _this;
7 var _this = /** @class */ (function () {
8 function _this() {
10 return _this;
12 var f = function () { return _this; };
H A DnoCollisionThisExpressionAndLocalVarInProperty.js5 var _this = 2;
6 return callback(_this);
13 var _this = 2;
27 var _this = 2;
28 return callback(_this);
41 var _this = 2;
H A DillegalSuperCallsInConstructor.js47 var _this = this;
48 var r2 = function () { return _this = _super.call(this) || this; };
49 var r3 = function () { _this = _super.call(this) || this; };
50 var r4 = function () { _this = _super.call(this) || this; };
53 _this = _super.call(this) || this;
57 _this = _super.call(this) || this;
60 return _this;
H A DselfInLambdas.js53 var _this = this;
55 _this.counter++;
56 var f = function () { return _this.counter; };
65 var _this = this;
67 var x = _this.value;
69 var y = _this.value;
H A DinferringClassMembersFromAssignments.js138 var _this = this;
141 _this.inPropertyDeclaration = 0;
144 _this.inPropertyDeclaration = "string";
156 var _this = this;
169 _this.inNestedArrowFunction = 0;
172 _this.inNestedArrowFunction = "string";
195 var _this = this;
204 _this.inStaticNestedArrowFunction = 0;
207 _this.inStaticNestedArrowFunction = "string";
/third_party/weex-loader/src/
H A Dloader.js211 function checkApp(_this) {
215 return _this.resourcePath === path.resolve(process.env.projectPath,
219 function loadApp (_this, name, isEntry, customLang, source) {
222 if (checkApp(_this)) {
223 const filename = _this.resourcePath.replace(path.extname(_this.resourcePath).toString(), '')
231 output += 'var $app_style$ = ' + getRequireString(_this, getLoaderString('style', {
239 output += 'var $app_script$ = ' + getRequireString(_this, getLoaderString('script', {
244 source: _this.resourcePath,
246 }), _this
[all...]
/third_party/node/test/js-native-api/6_object_wrap/
H A D6_object_wrap.cc48 napi_value _this; in New() local
49 NODE_API_CALL(env, napi_get_cb_info(env, info, &argc, args, &_this, nullptr)); in New()
66 napi_wrap(env, _this, obj, MyObject::Destructor, in New()
69 return _this; in New()
86 napi_value _this; in GetValue() local
88 napi_get_cb_info(env, info, nullptr, nullptr, &_this, nullptr)); in GetValue()
91 NODE_API_CALL(env, napi_unwrap(env, _this, reinterpret_cast<void**>(&obj))); in GetValue()
102 napi_value _this; in SetValue() local
103 NODE_API_CALL(env, napi_get_cb_info(env, info, &argc, args, &_this, nullptr)); in SetValue()
106 NODE_API_CALL(env, napi_unwrap(env, _this, reinterpret_cas in SetValue()
114 napi_value _this; PlusOne() local
132 napi_value _this; Multiply() local
[all...]

Completed in 11 milliseconds

12345678910