File: computedPropertyNames3_ES5.symbols

package info (click to toggle)
node-typescript 3.3.3333-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 324,548 kB
  • sloc: makefile: 6; sh: 3
file content (30 lines) | stat: -rw-r--r-- 1,251 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
=== tests/cases/conformance/es6/computedProperties/computedPropertyNames3_ES5.ts ===
var id;
>id : Symbol(id, Decl(computedPropertyNames3_ES5.ts, 0, 3))

class C {
>C : Symbol(C, Decl(computedPropertyNames3_ES5.ts, 0, 7))

    [0 + 1]() { }
>[0 + 1] : Symbol(C[0 + 1], Decl(computedPropertyNames3_ES5.ts, 1, 9))

    static [() => { }]() { }
>[() => { }] : Symbol(C[() => { }], Decl(computedPropertyNames3_ES5.ts, 2, 17))

    get [delete id]() { }
>[delete id] : Symbol(C[delete id], Decl(computedPropertyNames3_ES5.ts, 3, 28))
>id : Symbol(id, Decl(computedPropertyNames3_ES5.ts, 0, 3))

    set [[0, 1]](v) { }
>[[0, 1]] : Symbol(C[[0, 1]], Decl(computedPropertyNames3_ES5.ts, 4, 25))
>v : Symbol(v, Decl(computedPropertyNames3_ES5.ts, 5, 17))

    static get [<String>""]() { }
>[<String>""] : Symbol(C[<String>""], Decl(computedPropertyNames3_ES5.ts, 5, 23))
>String : Symbol(String, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))

    static set [id.toString()](v) { }
>[id.toString()] : Symbol(C[id.toString()], Decl(computedPropertyNames3_ES5.ts, 6, 33))
>id : Symbol(id, Decl(computedPropertyNames3_ES5.ts, 0, 3))
>v : Symbol(v, Decl(computedPropertyNames3_ES5.ts, 7, 31))
}