/third_party/typescript/tests/baselines/reference/ |
D | symbolProperty22.types | 3 [Symbol.unscopables](x: T): U; 4 >[Symbol.unscopables] : (x: T) => U 5 >Symbol.unscopables : symbol 7 >unscopables : symbol 16 foo("", { [Symbol.unscopables]: s => s.length }); 17 >foo("", { [Symbol.unscopables]: s => s.length }) : number 20 >{ [Symbol.unscopables]: s => s.length } : { [Symbol.unscopables]: (s: string) => number; } 21 >[Symbol.unscopables] : (s: string) => number 22 >Symbol.unscopables : symbol 24 >unscopables : symbol
|
D | symbolProperty21.types | 3 [Symbol.unscopables]: T; 4 >[Symbol.unscopables] : T 5 >Symbol.unscopables : symbol 7 >unscopables : symbol 23 >foo({ [Symbol.isConcatSpreadable]: "", [Symbol.toPrimitive]: 0, [Symbol.unscopables]: tru… 25 …tive]: 0, [Symbol.unscopables]: true} : { [Symbol.isConcatSpreadable]: string; [Symbol.toPrimit… 41 [Symbol.unscopables]: true 42 >[Symbol.unscopables] : true 43 >Symbol.unscopables : symbol 45 >unscopables : symbol
|
D | symbolProperty22.symbols | 7 [Symbol.unscopables](x: T): U; 8 >[Symbol.unscopables] : Symbol(I[Symbol.unscopables], Decl(symbolProperty22.ts, 0, 19)) 9 >Symbol.unscopables : Symbol(SymbolConstructor.unscopables, Decl(lib.es2015.symbol.wellknown.d.ts, … 11 >unscopables : Symbol(SymbolConstructor.unscopables, Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) 29 foo("", { [Symbol.unscopables]: s => s.length }); 31 >[Symbol.unscopables] : Symbol([Symbol.unscopables], Decl(symbolProperty22.ts, 6, 9)) 32 >Symbol.unscopables : Symbol(SymbolConstructor.unscopables, Decl(lib.es2015.symbol.wellknown.d.ts, … 34 >unscopables : Symbol(SymbolConstructor.unscopables, Decl(lib.es2015.symbol.wellknown.d.ts, --, --))
|
D | symbolProperty21.symbols | 7 [Symbol.unscopables]: T; 8 >[Symbol.unscopables] : Symbol(I[Symbol.unscopables], Decl(symbolProperty21.ts, 0, 19)) 9 >Symbol.unscopables : Symbol(SymbolConstructor.unscopables, Decl(lib.es2015.symbol.wellknown.d.ts, … 11 >unscopables : Symbol(SymbolConstructor.unscopables, Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) 50 [Symbol.unscopables]: true 51 >[Symbol.unscopables] : Symbol([Symbol.unscopables], Decl(symbolProperty21.ts, 9, 28)) 52 >Symbol.unscopables : Symbol(SymbolConstructor.unscopables, Decl(lib.es2015.symbol.wellknown.d.ts, … 54 >unscopables : Symbol(SymbolConstructor.unscopables, Decl(lib.es2015.symbol.wellknown.d.ts, --, --))
|
D | parserSymbolProperty3.symbols | 5 [Symbol.unscopables](): string; 6 >[Symbol.unscopables] : Symbol(C[Symbol.unscopables], Decl(parserSymbolProperty3.ts, 0, 17)) 7 >Symbol.unscopables : Symbol(SymbolConstructor.unscopables, Decl(lib.es2015.symbol.wellknown.d.ts, … 9 >unscopables : Symbol(SymbolConstructor.unscopables, Decl(lib.es2015.symbol.wellknown.d.ts, --, --))
|
D | parserSymbolProperty2.symbols | 5 [Symbol.unscopables](): string; 6 >[Symbol.unscopables] : Symbol(I[Symbol.unscopables], Decl(parserSymbolProperty2.ts, 0, 13)) 7 >Symbol.unscopables : Symbol(SymbolConstructor.unscopables, Decl(lib.es2015.symbol.wellknown.d.ts, … 9 >unscopables : Symbol(SymbolConstructor.unscopables, Decl(lib.es2015.symbol.wellknown.d.ts, --, --))
|
D | symbolProperty8.symbols | 5 [Symbol.unscopables]: number; 6 >[Symbol.unscopables] : Symbol(I[Symbol.unscopables], Decl(symbolProperty8.ts, 0, 13)) 7 >Symbol.unscopables : Symbol(SymbolConstructor.unscopables, Decl(lib.es2015.symbol.wellknown.d.ts, … 9 >unscopables : Symbol(SymbolConstructor.unscopables, Decl(lib.es2015.symbol.wellknown.d.ts, --, --))
|
D | parserES5SymbolProperty2.types | 3 [Symbol.unscopables](): string; 4 >[Symbol.unscopables] : () => string 5 >Symbol.unscopables : any 7 >unscopables : any
|
D | parserSymbolProperty2.types | 3 [Symbol.unscopables](): string; 4 >[Symbol.unscopables] : () => string 5 >Symbol.unscopables : symbol 7 >unscopables : symbol
|
D | parserSymbolProperty3.types | 5 [Symbol.unscopables](): string; 6 >[Symbol.unscopables] : () => string 7 >Symbol.unscopables : symbol 9 >unscopables : symbol
|
D | parserES5SymbolProperty3.types | 5 [Symbol.unscopables](): string; 6 >[Symbol.unscopables] : () => string 7 >Symbol.unscopables : any 9 >unscopables : any
|
D | symbolProperty6.symbols | 11 [Symbol.unscopables]: number; 12 >[Symbol.unscopables] : Symbol(C[Symbol.unscopables], Decl(symbolProperty6.ts, 1, 26)) 13 >Symbol.unscopables : Symbol(SymbolConstructor.unscopables, Decl(lib.es2015.symbol.wellknown.d.ts, … 15 >unscopables : Symbol(SymbolConstructor.unscopables, Decl(lib.es2015.symbol.wellknown.d.ts, --, --))
|
D | symbolProperty8.types | 3 [Symbol.unscopables]: number; 4 >[Symbol.unscopables] : number 5 >Symbol.unscopables : symbol 7 >unscopables : symbol
|
D | symbolProperty6.types | 12 [Symbol.unscopables]: number; 13 >[Symbol.unscopables] : number 14 >Symbol.unscopables : symbol 16 >unscopables : symbol
|
D | parserES5SymbolProperty2.symbols | 5 [Symbol.unscopables](): string; 6 >[Symbol.unscopables] : Symbol(I[Symbol.unscopables], Decl(parserES5SymbolProperty2.ts, 0, 13))
|
D | parserES5SymbolProperty3.symbols | 5 [Symbol.unscopables](): string; 6 >[Symbol.unscopables] : Symbol(C[Symbol.unscopables], Decl(parserES5SymbolProperty3.ts, 0, 17))
|
D | symbolProperty22.js | 3 [Symbol.unscopables](x: T): U; 8 foo("", { [Symbol.unscopables]: s => s.length }); 11 foo("", { [Symbol.unscopables]: s => s.length });
|
D | symbolProperty21.js | 3 [Symbol.unscopables]: T; 12 [Symbol.unscopables]: true 19 [Symbol.unscopables]: true
|
D | symbolProperty21.errors.txt | 1 …bol.isConcatSpreadable]: string; [Symbol.toPrimitive]: number; [Symbol.unscopables]: true; }' is n… 7 [Symbol.unscopables]: T; 17 …bol.isConcatSpreadable]: string; [Symbol.toPrimitive]: number; [Symbol.unscopables]: true; }' is n… 19 [Symbol.unscopables]: true
|
/third_party/jerryscript/tests/jerry/es2015/ |
D | symbol-unscopables.js | 26 obj[Symbol.unscopables] = { 62 Object.defineProperty(obj2, Symbol.unscopables, { get: function () { throw 42; } }); 74 Object.defineProperty(obj3, Symbol.unscopables, { get: function () { throw 42; } }); 84 var symbol_obj = Array.prototype[Symbol.unscopables]; 93 assert(Object.getPrototypeOf(Array.prototype[Symbol.unscopables]) === null); 95 var obj3 = Object.getOwnPropertyDescriptor(Array.prototype[Symbol.unscopables], "find"); 102 a[Symbol.unscopables] = { bar: true }; 109 let proxy = new Proxy({ a : 4, [Symbol.unscopables] : [] }, { 126 assert(track[1] === Symbol.unscopables);
|
/third_party/jerryscript/jerry-core/ecma/operations/ |
D | ecma-reference.c | 147 …ecma_value_t unscopables = ecma_op_object_get_by_symbol_id (binding_obj_p, LIT_GLOBAL_SYMBOL_UNSCO… in ecma_op_is_prop_unscopable() local 149 if (ECMA_IS_VALUE_ERROR (unscopables)) in ecma_op_is_prop_unscopable() 151 return unscopables; in ecma_op_is_prop_unscopable() 154 if (ecma_is_value_object (unscopables)) in ecma_op_is_prop_unscopable() 156 ecma_object_t *unscopables_obj_p = ecma_get_object_from_value (unscopables); in ecma_op_is_prop_unscopable() 172 ecma_free_value (unscopables); in ecma_op_is_prop_unscopable()
|
/third_party/typescript/tests/cases/conformance/es6/Symbols/ |
D | symbolProperty21.ts | 3 [Symbol.unscopables]: T; 12 [Symbol.unscopables]: true
|
D | symbolProperty22.ts | 3 [Symbol.unscopables](x: T): U; 8 foo("", { [Symbol.unscopables]: s => s.length });
|
/third_party/typescript/src/lib/ |
D | es2015.symbol.wellknown.d.ts | 62 readonly unscopables: symbol; property 79 [Symbol.unscopables](): {
|
/third_party/typescript/lib/ |
D | lib.es2015.symbol.wellknown.d.ts | 82 readonly unscopables: symbol; property 99 [Symbol.unscopables](): {
|