Home
last modified time | relevance | path

Searched refs:setter (Results 1 – 25 of 359) sorted by relevance

12345678910>>...15

/third_party/typescript/tests/baselines/reference/
DdestructuringUnspreadableIntoRest.types24 set setter(_v: number) {}
25 >setter : number
32 >rest1 : Omit<this, "getter" | "setter" | "method">
43 >rest3 : Omit<this, "publicProp" | "getter" | "setter" | "method">
55 >rest1 : Omit<this, "getter" | "setter" | "method">
65 >rest3 : Omit<this, "publicProp" | "getter" | "setter" | "method">
75 >rest1 : Omit<this, "getter" | "setter" | "method">
85 >rest3 : Omit<this, "publicProp" | "getter" | "setter" | "method">
95 >rest1 : Omit<this, "getter" | "setter" | "method">
105 >rest3 : Omit<this, "publicProp" | "getter" | "setter" | "method">
[all …]
DdestructuringUnspreadableIntoRest.errors.txt1 …ty 'publicProp' does not exist on type 'Omit<this, "publicProp" | "getter" | "setter" | "method">'.
3 …TS2339: Property 'privateProp' does not exist on type 'Omit<this, "getter" | "setter" | "method">'.
5 …y 'privateProp' does not exist on type 'Omit<this, "publicProp" | "getter" | "setter" | "method">'.
7 …2339: Property 'protectedProp' does not exist on type 'Omit<this, "getter" | "setter" | "method">'.
9 …'protectedProp' does not exist on type 'Omit<this, "publicProp" | "getter" | "setter" | "method">'.
11 …rror TS2339: Property 'getter' does not exist on type 'Omit<this, "getter" | "setter" | "method">'.
13 …operty 'getter' does not exist on type 'Omit<this, "publicProp" | "getter" | "setter" | "method">'.
15 …leIntoRest.ts(40,15): error TS2339: Property 'setter' does not exist on type 'Omit<this, "getter" …
16 tests/cases/compiler/destructuringUnspreadableIntoRest.ts(41,15): error TS2339: Property 'setter' d…
17 …st.ts(42,15): error TS2339: Property 'setter' does not exist on type 'Omit<this, "publicProp" | "g…
[all …]
DdestructuringUnspreadableIntoRest.js13 set setter(_v: number) {}
41 rest1.setter;
42 rest2.setter;
43 rest3.setter;
44 rest4.setter;
79 rest1.setter;
80 rest2.setter;
81 rest3.setter;
82 rest4.setter;
112 set setter(_v) { } setter in A
[all …]
DasyncMethodWithSuper_es6.js191 set setter(x: any) {} setter in Base
195 static set setter(x: any) {}
203 c() { return async () => super.setter = '' }
209 static c() { return async () => super.setter = '' }
408 set setter(x) { } setter in Base
411 static set setter(x) { } setter in Base
423 setter: { get: () => super.setter, set: v => super.setter = v } property
424 }); return () => __awaiter(this, void 0, void 0, function* () { return _super.setter = ''; }); }
447 setter: { get: () => super.setter, set: v => super.setter = v } property
448 }); return () => __awaiter(this, void 0, void 0, function* () { return _super.setter = ''; }); }
DasyncMethodWithSuper_es6.types511 set setter(x: any) {}
512 >setter : any
522 static set setter(x: any) {}
523 >setter : any
554 c() { return async () => super.setter = '' }
556 >async () => super.setter = '' : () => Promise<string>
557 >super.setter = '' : ""
558 >super.setter : any
560 >setter : any
579 f() { return async () => super["setter"] = '' }
[all …]
DdeclFileAccessors.types13 /** setter property*/
25 /** private setter property*/
37 /** setter property*/
81 // Only setter property
100 /** setter property*/
112 /** private setter property*/
124 /** setter property*/
168 // Only setter property
DquickInfoJsDocGetterSetter.baseline83 "kind": "setter",
95 "text": "setter",
133 "text": "setter A",
248 "kind": "setter",
260 "text": "setter",
298 "text": "setter B",
330 "kind": "setter",
342 "text": "setter",
380 "text": "setter D",
470 "text": "setter A",
[all …]
DdestructuringUnspreadableIntoRest.symbols23 set setter(_v: number) {}
24 >setter : Symbol(A.setter, Decl(destructuringUnspreadableIntoRest.ts, 9, 5))
104 rest1.setter;
107 rest2.setter;
110 rest3.setter;
113 rest4.setter;
211 rest1.setter;
214 rest2.setter;
217 rest3.setter;
220 rest4.setter;
DdeclFileTypeAnnotationVisibilityErrorAccessors.types40 // setter with annotation
46 // Both - getter without annotation, setter with annotation
86 // setter with annotation
92 // Both - getter without annotation, setter with annotation
135 // setter with annotation
142 // Both - getter without annotation, setter with annotation
DdeclFileAccessors.symbols12 /** setter property*/
23 /** private setter property*/
34 /** setter property*/
74 // Only setter property
92 /** setter property*/
103 /** private setter property*/
114 /** setter property*/
154 // Only setter property
DasyncMethodWithSuper_es6.symbols383 set setter(x: any) {}
384 >setter : Symbol(Base.setter, Decl(asyncMethodWithSuper_es6.ts, 188, 12))
394 static set setter(x: any) {}
395 >setter : Symbol(Base.setter, Decl(asyncMethodWithSuper_es6.ts, 191, 29))
422 c() { return async () => super.setter = '' }
424 >super.setter : Symbol(Base.setter, Decl(asyncMethodWithSuper_es6.ts, 188, 12))
426 >setter : Symbol(Base.setter, Decl(asyncMethodWithSuper_es6.ts, 188, 12))
438 f() { return async () => super["setter"] = '' }
441 >"setter" : Symbol(Base.setter, Decl(asyncMethodWithSuper_es6.ts, 188, 12))
455 static c() { return async () => super.setter = '' }
[all …]
DgettersAndSettersAccessibility.errors.txt2 …rsAccessibility.ts(2,14): error TS2808: A get accessor must be at least as accessible as the setter
4 …rsAccessibility.ts(3,13): error TS2808: A get accessor must be at least as accessible as the setter
13 !!! error TS2808: A get accessor must be at least as accessible as the setter
18 !!! error TS2808: A get accessor must be at least as accessible as the setter
/third_party/node/deps/v8/include/
Dv8-template.h62 Local<FunctionTemplate> setter = Local<FunctionTemplate>(),
95 AccessorSetterCallback setter, Local<Value> data,
103 AccessorNameSetterCallback setter, Local<Value> data,
110 AccessorSetterCallback setter = nullptr,
117 AccessorNameSetterCallback setter = nullptr,
649 GenericNamedPropertySetterCallback setter,
658 setter(setter), in getter()
670 GenericNamedPropertySetterCallback setter = nullptr,
677 setter(setter), in getter()
688 GenericNamedPropertySetterCallback setter,
[all …]
/third_party/typescript/tests/cases/compiler/
DdestructuringUnspreadableIntoRest.ts13 set setter(_v: number) {} method in A
41 rest1.setter;
42 rest2.setter;
43 rest3.setter;
44 rest4.setter;
79 rest1.setter;
80 rest2.setter;
81 rest3.setter;
82 rest4.setter;
/third_party/node/test/fixtures/wpt/wasm/jsapi/global/
Dvalue-get-set.any.js22 const setter = desc.set; constant
23 assert_equals(typeof setter, "function");
27 …assert_throws_js(TypeError, () => setter.call(thisValue, 1), `setter with this=${format_value(this…
131 const setter = desc.set; constant
132 assert_equals(typeof setter, "function");
134 assert_throws_js(TypeError, () => setter.call(global));
146 const setter = desc.set; constant
147 assert_equals(typeof setter, "function");
150 assert_equals(setter.call(global, 1, {}), undefined);
/third_party/node/deps/v8/src/objects/
Dstruct-inl.h32 return component == ACCESSOR_GETTER ? getter() : setter(); in TQ_OBJECT_CONSTRUCTORS_IMPL()
53 RELEASE_ACQUIRE_ACCESSORS(AccessorPair, setter, Object, kSetterOffset) in RELEASE_ACQUIRE_ACCESSORS()
55 void AccessorPair::SetComponents(Object getter, Object setter) { in RELEASE_ACQUIRE_ACCESSORS()
57 if (!setter.IsNull()) set_setter(setter); in RELEASE_ACQUIRE_ACCESSORS()
61 return (getter() == getter_value) && (setter() == setter_value); in Equals()
/third_party/node/lib/internal/test_runner/mock/
Dmock.js215 setter = false,
220 validateBoolean(setter, 'options.setter');
223 if (setter && getter) {
225 'options.setter', setter, "cannot be used with 'options.getter'",
234 } else if (setter) {
260 } else if (setter) {
325 setter(
338 const { setter = true } = options;
340 if (setter === false) {
342 'options.setter', setter, 'cannot be false',
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DPropertiesTest.java81 Method getter, setter; in testFieldCoverage() local
95 setter = DecimalFormatProperties.class.getMethod(setterName, field.getType()); in testFieldCoverage()
98 setter.getReturnType()); in testFieldCoverage()
128 setter.invoke(p1, val0); in testFieldCoverage()
129 setter.invoke(p2, val0); in testFieldCoverage()
136 setter.invoke(p1, val1); in testFieldCoverage()
141 setter.invoke(p1, val0); in testFieldCoverage()
145 setter.invoke(p1, val1); in testFieldCoverage()
146 setter.invoke(p2, val1); in testFieldCoverage()
150 setter.invoke(p1, val2); in testFieldCoverage()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/
DPropertiesTest.java84 Method getter, setter; in testFieldCoverage() local
98 setter = DecimalFormatProperties.class.getMethod(setterName, field.getType()); in testFieldCoverage()
101 setter.getReturnType()); in testFieldCoverage()
131 setter.invoke(p1, val0); in testFieldCoverage()
132 setter.invoke(p2, val0); in testFieldCoverage()
139 setter.invoke(p1, val1); in testFieldCoverage()
144 setter.invoke(p1, val0); in testFieldCoverage()
148 setter.invoke(p1, val1); in testFieldCoverage()
149 setter.invoke(p2, val1); in testFieldCoverage()
153 setter.invoke(p1, val2); in testFieldCoverage()
[all …]
/third_party/protobuf/php/src/Google/Protobuf/Internal/
DMessage.php100 $setter = $field->getSetter();
112 $this->$setter($map_field);
119 $this->$setter($map_field);
125 $this->$setter($map_field);
135 $this->$setter($repeated_field);
141 $this->$setter($repeated_field);
145 $this->$setter($repeated_field);
160 $this->$setter("0");
173 $setter = $field->getSetter();
175 $this->$setter($defaultValue);
[all …]
DFieldDescriptor.php41 private $setter; variable in Google\\Protobuf\\Internal\\FieldDescriptor
87 public function setSetter($setter) argument
89 $this->setter = $setter;
94 return $this->setter;
/third_party/jerryscript/tests/jerry/es2015/
Dsuper-assignment.js30 set setter (a) { setter in Base
51 set setter (a) { setter in Derived
52 super.setter = a;
66 derived.setter = 7;
/third_party/protobuf/python/google/protobuf/pyext/
Ddescriptor.cc668 { "containing_type", (getter)GetContainingType, (setter)SetContainingType,
670 { "is_extendable", (getter)IsExtendable, (setter)NULL},
671 { "has_options", (getter)GetHasOptions, (setter)SetHasOptions, "Has Options"},
672 { "_options", (getter)NULL, (setter)SetOptions, "Options"},
673 { "_serialized_options", (getter)NULL, (setter)SetSerializedOptions,
675 { "syntax", (getter)GetSyntax, (setter)NULL, "Syntax"},
980 { "message_type", (getter)GetMessageType, (setter)SetMessageType,
982 { "enum_type", (getter)GetEnumType, (setter)SetEnumType, "Enum type"},
983 { "containing_type", (getter)GetContainingType, (setter)SetContainingType,
985 { "extension_scope", (getter)GetExtensionScope, (setter)NULL,
[all …]
/third_party/typescript/tests/cases/conformance/async/es6/
DasyncMethodWithSuper_es6.ts193 set setter(x: any) {} method in Base
197 static set setter(x: any) {} method in Base
205 c() { return async () => super.setter = '' }
211 static c() { return async () => super.setter = '' }
/third_party/node/test/parallel/
Dtest-runner-mocking.js282 const setter = t.mock.method(obj, 'method', { setter: true }); constant
284 assert.strictEqual(setter.mock.calls.length, 0);
287 assert.strictEqual(setter.mock.calls.length, 1);
289 const call = setter.mock.calls[0];
296 assert.strictEqual(setter.mock.restore(), undefined);
667 const setter = t.mock.method(obj, 'method', mockMethod, { setter: true }); constant
669 assert.strictEqual(setter.mock.calls.length, 0);
672 assert.strictEqual(setter.mock.calls.length, 1);
674 const call = setter.mock.calls[0];
681 assert.strictEqual(setter.mock.restore(), undefined);
[all …]

12345678910>>...15