File: defineProperty%28target%3Des5%29.symbols

package info (click to toggle)
node-typescript 4.9.5%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 533,908 kB
  • sloc: javascript: 2,018,330; makefile: 7; sh: 1
file content (74 lines) | stat: -rw-r--r-- 2,290 bytes parent folder | download | duplicates (8)
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
=== tests/cases/conformance/classes/propertyMemberDeclarations/defineProperty.ts ===
var x: "p" = "p"
>x : Symbol(x, Decl(defineProperty.ts, 0, 3))

class A {
>A : Symbol(A, Decl(defineProperty.ts, 0, 16))

    a = this.y
>a : Symbol(A.a, Decl(defineProperty.ts, 1, 9))
>this.y : Symbol(A.y, Decl(defineProperty.ts, 8, 16))
>this : Symbol(A, Decl(defineProperty.ts, 0, 16))
>y : Symbol(A.y, Decl(defineProperty.ts, 8, 16))

    b
>b : Symbol(A.b, Decl(defineProperty.ts, 2, 14))

    public c;
>c : Symbol(A.c, Decl(defineProperty.ts, 3, 5))

    ["computed"] = 13
>["computed"] : Symbol(A["computed"], Decl(defineProperty.ts, 4, 13))
>"computed" : Symbol(A["computed"], Decl(defineProperty.ts, 4, 13))

    ;[x] = 14
>[x] : Symbol(A[x], Decl(defineProperty.ts, 6, 5))
>x : Symbol(x, Decl(defineProperty.ts, 0, 3))

    m() { }
>m : Symbol(A.m, Decl(defineProperty.ts, 6, 13))

    constructor(public readonly y: number) { }
>y : Symbol(A.y, Decl(defineProperty.ts, 8, 16))

    z = this.y
>z : Symbol(A.z, Decl(defineProperty.ts, 8, 46))
>this.y : Symbol(A.y, Decl(defineProperty.ts, 8, 16))
>this : Symbol(A, Decl(defineProperty.ts, 0, 16))
>y : Symbol(A.y, Decl(defineProperty.ts, 8, 16))

    declare notEmitted;
>notEmitted : Symbol(A.notEmitted, Decl(defineProperty.ts, 9, 14))
}
class B {
>B : Symbol(B, Decl(defineProperty.ts, 11, 1))

    public a;
>a : Symbol(B.a, Decl(defineProperty.ts, 12, 9))
}
class C extends B {
>C : Symbol(C, Decl(defineProperty.ts, 14, 1))
>B : Symbol(B, Decl(defineProperty.ts, 11, 1))

    declare public a;
>a : Symbol(C.a, Decl(defineProperty.ts, 15, 19))

    z = this.ka
>z : Symbol(C.z, Decl(defineProperty.ts, 16, 21))
>this.ka : Symbol(C.ka, Decl(defineProperty.ts, 18, 16))
>this : Symbol(C, Decl(defineProperty.ts, 14, 1))
>ka : Symbol(C.ka, Decl(defineProperty.ts, 18, 16))

    constructor(public ka: number) {
>ka : Symbol(C.ka, Decl(defineProperty.ts, 18, 16))

        super()
>super : Symbol(B, Decl(defineProperty.ts, 11, 1))
    }
    ki = this.ka
>ki : Symbol(C.ki, Decl(defineProperty.ts, 20, 5))
>this.ka : Symbol(C.ka, Decl(defineProperty.ts, 18, 16))
>this : Symbol(C, Decl(defineProperty.ts, 14, 1))
>ka : Symbol(C.ka, Decl(defineProperty.ts, 18, 16))
}