Home
last modified time | relevance | path

Searched refs:PropertyDescriptor (Results 1 – 25 of 120) sorted by relevance

12345

/third_party/typescript/tests/baselines/reference/
DsourceMapValidationDecorators.types11 …on PropertyDecorator1(target: Object, key: string | symbol, descriptor?: PropertyDescriptor): void;
12 >PropertyDecorator1 : (target: Object, key: string | symbol, descriptor?: PropertyDescriptor) => vo…
15 >descriptor : PropertyDescriptor
17 …rator2(x: number): (target: Object, key: string | symbol, descriptor?: PropertyDescriptor) => void;
18 …r2 : (x: number) => (target: Object, key: string | symbol, descriptor?: PropertyDescriptor) => void
22 >descriptor : PropertyDescriptor
73 >PropertyDecorator1 : (target: Object, key: string | symbol, descriptor?: PropertyDescriptor) => vo…
76 >PropertyDecorator2(40) : (target: Object, key: string | symbol, descriptor?: PropertyDescriptor) =…
77 …r2 : (x: number) => (target: Object, key: string | symbol, descriptor?: PropertyDescriptor) => void
94 >PropertyDecorator1 : (target: Object, key: string | symbol, descriptor?: PropertyDescriptor) => vo…
[all …]
DautoAccessorExperimentalDecorators(target=esnext).types2 declare var dec: (target: any, key: PropertyKey, desc: PropertyDescriptor) => void;
3 >dec : (target: any, key: PropertyKey, desc: PropertyDescriptor) => void
6 >desc : PropertyDescriptor
12 >dec : (target: any, key: PropertyKey, desc: PropertyDescriptor) => void
18 >dec : (target: any, key: PropertyKey, desc: PropertyDescriptor) => void
28 >dec : (target: any, key: PropertyKey, desc: PropertyDescriptor) => void
34 >dec : (target: any, key: PropertyKey, desc: PropertyDescriptor) => void
DautoAccessorExperimentalDecorators(target=es2022).types2 declare var dec: (target: any, key: PropertyKey, desc: PropertyDescriptor) => void;
3 >dec : (target: any, key: PropertyKey, desc: PropertyDescriptor) => void
6 >desc : PropertyDescriptor
12 >dec : (target: any, key: PropertyKey, desc: PropertyDescriptor) => void
18 >dec : (target: any, key: PropertyKey, desc: PropertyDescriptor) => void
28 >dec : (target: any, key: PropertyKey, desc: PropertyDescriptor) => void
34 >dec : (target: any, key: PropertyKey, desc: PropertyDescriptor) => void
DautoAccessorExperimentalDecorators(target=es2015).types2 declare var dec: (target: any, key: PropertyKey, desc: PropertyDescriptor) => void;
3 >dec : (target: any, key: PropertyKey, desc: PropertyDescriptor) => void
6 >desc : PropertyDescriptor
12 >dec : (target: any, key: PropertyKey, desc: PropertyDescriptor) => void
18 >dec : (target: any, key: PropertyKey, desc: PropertyDescriptor) => void
28 >dec : (target: any, key: PropertyKey, desc: PropertyDescriptor) => void
34 >dec : (target: any, key: PropertyKey, desc: PropertyDescriptor) => void
DjsDeclarationsExportDefinePropertyEmit.types4 >Object.defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) …
6 >defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
18 >Object.defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) …
20 >defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
32 >Object.defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) …
34 >defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
59 >Object.defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) …
61 >defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
86 >Object.defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) …
88 >defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
[all …]
DgetterSetterNonAccessor.types10 Object.defineProperty({}, "0", <PropertyDescriptor>({
11 >Object.defineProperty({}, "0", <PropertyDescriptor>({ get: getFunc, set: setFunc…
12 >Object.defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) …
14 >defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
17 ><PropertyDescriptor>({ get: getFunc, set: setFunc, configurable: true …
DobjectLitGetterSetter.types6 Object.defineProperty(obj, "accProperty", <PropertyDescriptor>({
7 >Object.defineProperty(obj, "accProperty", <PropertyDescriptor>({ get: function () {…
8 >Object.defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) …
10 >defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
13PropertyDescriptor>({ get: function () { eval("public = 1;"); …
DcheckOtherObjectAssignProperty.types92 >Object.defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) …
94 >defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
109 >Object.defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) …
111 >defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
126 >Object.defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) …
128 >defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
140 >Object.defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) …
142 >defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
149 >Object.defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) …
151 >defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
[all …]
DcheckExportsObjectAssignProperty.types179 >Object.defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) …
181 >defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
192 >Object.defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) …
194 >defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
205 >Object.defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) …
207 >defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
218 >Object.defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) …
220 >defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
229 >Object.defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) …
231 >defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
[all …]
DdecoratorOnClassProperty13.types2 declare function dec(target: any, propertyKey: string, desc: PropertyDescriptor): void;
3 >dec : (target: any, propertyKey: string, desc: PropertyDescriptor) => void
6 >desc : PropertyDescriptor
12 >dec : (target: any, propertyKey: string, desc: PropertyDescriptor) => void
DjsDeclarationsGetterSetter.types45 >Object.defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) …
47 >defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
67 >Object.defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) …
69 >defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
90 >Object.defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) …
92 >defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
DcheckExportsObjectAssignPrototypeProperty.types132 >Object.defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) …
134 >defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
147 >Object.defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) …
149 >defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
162 >Object.defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) …
164 >defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
177 >Object.defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) …
179 >defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
190 >Object.defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) …
192 >defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
DcheckObjectDefineProperty.types92 >Object.defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) …
94 >defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
105 >Object.defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) …
107 >defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
116 >Object.defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) …
118 >defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
129 >Object.defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) …
131 >defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
142 >Object.defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) …
144 >defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
[all …]
DjsCheckObjectDefineThisNoCrash.types9 >Object.defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) …
11 >defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
20 >Object.defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) …
22 >defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
DdecoratorWithUnderscoreMethod.types10 return function (target: any, propKey: string, descr: PropertyDescriptor): void {
11PropertyDescriptor): void { console.log(target[propKey]); //logs undefined //…
14 >descr : PropertyDescriptor
DdecoratorOnClassProperty13.symbols2 declare function dec(target: any, propertyKey: string, desc: PropertyDescriptor): void;
7 >PropertyDescriptor : Symbol(PropertyDescriptor, Decl(lib.es5.d.ts, --, --))
DobjectLitGetterSetter.symbols5 Object.defineProperty(obj, "accProperty", <PropertyDescriptor>({
10 >PropertyDescriptor : Symbol(PropertyDescriptor, Decl(lib.es5.d.ts, --, --))
DgetterSetterNonAccessor.symbols9 Object.defineProperty({}, "0", <PropertyDescriptor>({
13 >PropertyDescriptor : Symbol(PropertyDescriptor, Decl(lib.es5.d.ts, --, --))
DexcessPropertyCheckWithEmptyObject.errors.txt1 …ing; readonly: boolean; }' is not assignable to parameter of type 'PropertyDescriptor & ThisType<a…
2 …y specify known properties, and 'readonly' does not exist in type 'PropertyDescriptor & ThisType<a…
15 …ing; readonly: boolean; }' is not assignable to parameter of type 'PropertyDescriptor & ThisType<a…
16 …y specify known properties, and 'readonly' does not exist in type 'PropertyDescriptor & ThisType<a…
DlateBoundAssignmentDeclarationSupport3.types35 >Object.defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) …
37 >defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
48 >Object.defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) …
50 >defineProperty : <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
DautoAccessorExperimentalDecorators(target=es2015).symbols2 declare var dec: (target: any, key: PropertyKey, desc: PropertyDescriptor) => void;
8 >PropertyDescriptor : Symbol(PropertyDescriptor, Decl(lib.es5.d.ts, --, --))
DautoAccessorExperimentalDecorators(target=es2022).symbols2 declare var dec: (target: any, key: PropertyKey, desc: PropertyDescriptor) => void;
8 >PropertyDescriptor : Symbol(PropertyDescriptor, Decl(lib.es5.d.ts, --, --))
/third_party/node/deps/v8/src/objects/
Dproperty-descriptor.h18 class PropertyDescriptor {
20 PropertyDescriptor() in PropertyDescriptor() function
29 static bool IsAccessorDescriptor(PropertyDescriptor* desc) { in IsAccessorDescriptor()
34 static bool IsDataDescriptor(PropertyDescriptor* desc) { in IsDataDescriptor()
39 static bool IsGenericDescriptor(PropertyDescriptor* desc) { in IsGenericDescriptor()
50 PropertyDescriptor* desc);
54 PropertyDescriptor* desc);
Dproperty-descriptor.cc44 PropertyDescriptor* desc) { in ToPropertyDescriptorFastPath()
124 Handle<Object> PropertyDescriptor::ToObject(Isolate* isolate) { in ToObject()
125 DCHECK(!(PropertyDescriptor::IsAccessorDescriptor(this) && in ToObject()
126 PropertyDescriptor::IsDataDescriptor(this))); in ToObject()
186 bool PropertyDescriptor::ToPropertyDescriptor(Isolate* isolate, in ToPropertyDescriptor()
188 PropertyDescriptor* desc) { in ToPropertyDescriptor()
301 void PropertyDescriptor::CompletePropertyDescriptor(Isolate* isolate, in CompletePropertyDescriptor()
302 PropertyDescriptor* desc) { in CompletePropertyDescriptor()
342 Handle<PropertyDescriptorObject> PropertyDescriptor::ToPropertyDescriptorObject( in ToPropertyDescriptorObject()
/third_party/node/deps/v8/include/
Dv8-object.h89 class V8_EXPORT PropertyDescriptor {
92 PropertyDescriptor();
95 explicit PropertyDescriptor(Local<Value> value);
98 PropertyDescriptor(Local<Value> value, bool writable);
101 PropertyDescriptor(Local<Value> get, Local<Value> set);
103 ~PropertyDescriptor();
127 PropertyDescriptor(const PropertyDescriptor&) = delete;
128 void operator=(const PropertyDescriptor&) = delete;
288 Local<Context> context, Local<Name> key, PropertyDescriptor& descriptor);

12345