/third_party/typescript/tests/baselines/reference/ |
D | sourceMapValidationDecorators.types | 11 …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 …]
|
D | autoAccessorExperimentalDecorators(target=esnext).types | 2 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
|
D | autoAccessorExperimentalDecorators(target=es2022).types | 2 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
|
D | autoAccessorExperimentalDecorators(target=es2015).types | 2 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
|
D | jsDeclarationsExportDefinePropertyEmit.types | 4 >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 …]
|
D | getterSetterNonAccessor.types | 10 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 …
|
D | objectLitGetterSetter.types | 6 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 13 …PropertyDescriptor>({ get: function () { eval("public = 1;"); …
|
D | checkOtherObjectAssignProperty.types | 92 >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 …]
|
D | checkExportsObjectAssignProperty.types | 179 >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 …]
|
D | decoratorOnClassProperty13.types | 2 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
|
D | jsDeclarationsGetterSetter.types | 45 >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
|
D | checkExportsObjectAssignPrototypeProperty.types | 132 >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
|
D | checkObjectDefineProperty.types | 92 >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 …]
|
D | jsCheckObjectDefineThisNoCrash.types | 9 >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
|
D | decoratorWithUnderscoreMethod.types | 10 return function (target: any, propKey: string, descr: PropertyDescriptor): void { 11 …PropertyDescriptor): void { console.log(target[propKey]); //logs undefined //… 14 >descr : PropertyDescriptor
|
D | decoratorOnClassProperty13.symbols | 2 declare function dec(target: any, propertyKey: string, desc: PropertyDescriptor): void; 7 >PropertyDescriptor : Symbol(PropertyDescriptor, Decl(lib.es5.d.ts, --, --))
|
D | objectLitGetterSetter.symbols | 5 Object.defineProperty(obj, "accProperty", <PropertyDescriptor>({ 10 >PropertyDescriptor : Symbol(PropertyDescriptor, Decl(lib.es5.d.ts, --, --))
|
D | getterSetterNonAccessor.symbols | 9 Object.defineProperty({}, "0", <PropertyDescriptor>({ 13 >PropertyDescriptor : Symbol(PropertyDescriptor, Decl(lib.es5.d.ts, --, --))
|
D | excessPropertyCheckWithEmptyObject.errors.txt | 1 …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…
|
D | lateBoundAssignmentDeclarationSupport3.types | 35 >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
|
D | autoAccessorExperimentalDecorators(target=es2015).symbols | 2 declare var dec: (target: any, key: PropertyKey, desc: PropertyDescriptor) => void; 8 >PropertyDescriptor : Symbol(PropertyDescriptor, Decl(lib.es5.d.ts, --, --))
|
D | autoAccessorExperimentalDecorators(target=es2022).symbols | 2 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/ |
D | property-descriptor.h | 18 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);
|
D | property-descriptor.cc | 44 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/ |
D | v8-object.h | 89 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);
|