File: computedPropertyNames12_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 (59 lines) | stat: -rw-r--r-- 2,274 bytes parent folder | download
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
=== tests/cases/conformance/es6/computedProperties/computedPropertyNames12_ES5.ts ===
var s: string;
>s : Symbol(s, Decl(computedPropertyNames12_ES5.ts, 0, 3))

var n: number;
>n : Symbol(n, Decl(computedPropertyNames12_ES5.ts, 1, 3))

var a: any;
>a : Symbol(a, Decl(computedPropertyNames12_ES5.ts, 2, 3))

class C {
>C : Symbol(C, Decl(computedPropertyNames12_ES5.ts, 2, 11))

    [s]: number;
>[s] : Symbol(C[s], Decl(computedPropertyNames12_ES5.ts, 3, 9))
>s : Symbol(s, Decl(computedPropertyNames12_ES5.ts, 0, 3))

    [n] = n;
>[n] : Symbol(C[n], Decl(computedPropertyNames12_ES5.ts, 4, 16))
>n : Symbol(n, Decl(computedPropertyNames12_ES5.ts, 1, 3))
>n : Symbol(n, Decl(computedPropertyNames12_ES5.ts, 1, 3))

    static [s + s]: string;
>[s + s] : Symbol(C[s + s], Decl(computedPropertyNames12_ES5.ts, 5, 12))
>s : Symbol(s, Decl(computedPropertyNames12_ES5.ts, 0, 3))
>s : Symbol(s, Decl(computedPropertyNames12_ES5.ts, 0, 3))

    [s + n] = 2;
>[s + n] : Symbol(C[s + n], Decl(computedPropertyNames12_ES5.ts, 6, 27))
>s : Symbol(s, Decl(computedPropertyNames12_ES5.ts, 0, 3))
>n : Symbol(n, Decl(computedPropertyNames12_ES5.ts, 1, 3))

    [+s]: typeof s;
>[+s] : Symbol(C[+s], Decl(computedPropertyNames12_ES5.ts, 7, 16))
>s : Symbol(s, Decl(computedPropertyNames12_ES5.ts, 0, 3))
>s : Symbol(s, Decl(computedPropertyNames12_ES5.ts, 0, 3))

    static [""]: number;
>[""] : Symbol(C[""], Decl(computedPropertyNames12_ES5.ts, 8, 19))
>"" : Symbol(C[""], Decl(computedPropertyNames12_ES5.ts, 8, 19))

    [0]: number;
>[0] : Symbol(C[0], Decl(computedPropertyNames12_ES5.ts, 9, 24))
>0 : Symbol(C[0], Decl(computedPropertyNames12_ES5.ts, 9, 24))

    [a]: number;
>[a] : Symbol(C[a], Decl(computedPropertyNames12_ES5.ts, 10, 16))
>a : Symbol(a, Decl(computedPropertyNames12_ES5.ts, 2, 3))

    static [<any>true]: number;
>[<any>true] : Symbol(C[<any>true], Decl(computedPropertyNames12_ES5.ts, 11, 16))

    [`hello bye`] = 0;
>[`hello bye`] : Symbol(C[`hello bye`], Decl(computedPropertyNames12_ES5.ts, 12, 31))

    static [`hello ${a} bye`] = 0
>[`hello ${a} bye`] : Symbol(C[`hello ${a} bye`], Decl(computedPropertyNames12_ES5.ts, 13, 22))
>a : Symbol(a, Decl(computedPropertyNames12_ES5.ts, 2, 3))
}