File: emitClassDeclarationWithThisKeywordInES6.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 (49 lines) | stat: -rw-r--r-- 2,206 bytes parent folder | download | duplicates (7)
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
=== tests/cases/conformance/es6/classDeclaration/emitClassDeclarationWithThisKeywordInES6.ts ===
class B {
>B : Symbol(B, Decl(emitClassDeclarationWithThisKeywordInES6.ts, 0, 0))

    x = 10;
>x : Symbol(B.x, Decl(emitClassDeclarationWithThisKeywordInES6.ts, 0, 9))

    constructor() {
        this.x = 10;
>this.x : Symbol(B.x, Decl(emitClassDeclarationWithThisKeywordInES6.ts, 0, 9))
>this : Symbol(B, Decl(emitClassDeclarationWithThisKeywordInES6.ts, 0, 0))
>x : Symbol(B.x, Decl(emitClassDeclarationWithThisKeywordInES6.ts, 0, 9))
    }
    static log(a: number) { }
>log : Symbol(B.log, Decl(emitClassDeclarationWithThisKeywordInES6.ts, 4, 5))
>a : Symbol(a, Decl(emitClassDeclarationWithThisKeywordInES6.ts, 5, 15))

    foo() {
>foo : Symbol(B.foo, Decl(emitClassDeclarationWithThisKeywordInES6.ts, 5, 29))

        B.log(this.x);
>B.log : Symbol(B.log, Decl(emitClassDeclarationWithThisKeywordInES6.ts, 4, 5))
>B : Symbol(B, Decl(emitClassDeclarationWithThisKeywordInES6.ts, 0, 0))
>log : Symbol(B.log, Decl(emitClassDeclarationWithThisKeywordInES6.ts, 4, 5))
>this.x : Symbol(B.x, Decl(emitClassDeclarationWithThisKeywordInES6.ts, 0, 9))
>this : Symbol(B, Decl(emitClassDeclarationWithThisKeywordInES6.ts, 0, 0))
>x : Symbol(B.x, Decl(emitClassDeclarationWithThisKeywordInES6.ts, 0, 9))
    }

    get X() {
>X : Symbol(B.X, Decl(emitClassDeclarationWithThisKeywordInES6.ts, 8, 5))

        return this.x;
>this.x : Symbol(B.x, Decl(emitClassDeclarationWithThisKeywordInES6.ts, 0, 9))
>this : Symbol(B, Decl(emitClassDeclarationWithThisKeywordInES6.ts, 0, 0))
>x : Symbol(B.x, Decl(emitClassDeclarationWithThisKeywordInES6.ts, 0, 9))
    }

    set bX(y: number) {
>bX : Symbol(B.bX, Decl(emitClassDeclarationWithThisKeywordInES6.ts, 12, 5))
>y : Symbol(y, Decl(emitClassDeclarationWithThisKeywordInES6.ts, 14, 11))

        this.x = y;
>this.x : Symbol(B.x, Decl(emitClassDeclarationWithThisKeywordInES6.ts, 0, 9))
>this : Symbol(B, Decl(emitClassDeclarationWithThisKeywordInES6.ts, 0, 0))
>x : Symbol(B.x, Decl(emitClassDeclarationWithThisKeywordInES6.ts, 0, 9))
>y : Symbol(y, Decl(emitClassDeclarationWithThisKeywordInES6.ts, 14, 11))
    }
}