File: cloduleWithDuplicateMember1.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 (31 lines) | stat: -rw-r--r-- 1,127 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
31
=== tests/cases/compiler/cloduleWithDuplicateMember1.ts ===
class C {
>C : Symbol(C, Decl(cloduleWithDuplicateMember1.ts, 0, 0), Decl(cloduleWithDuplicateMember1.ts, 6, 1), Decl(cloduleWithDuplicateMember1.ts, 10, 1))

    get x() { return 1; }
>x : Symbol(C.x, Decl(cloduleWithDuplicateMember1.ts, 0, 9))

    static get x() {
>x : Symbol(C.x, Decl(cloduleWithDuplicateMember1.ts, 1, 25))

        return '';
    }
    static foo() { }
>foo : Symbol(C.foo, Decl(cloduleWithDuplicateMember1.ts, 4, 5))
}

module C {
>C : Symbol(C, Decl(cloduleWithDuplicateMember1.ts, 0, 0), Decl(cloduleWithDuplicateMember1.ts, 6, 1), Decl(cloduleWithDuplicateMember1.ts, 10, 1))

    export var x = 1;
>x : Symbol(x, Decl(cloduleWithDuplicateMember1.ts, 9, 14))
}
module C {
>C : Symbol(C, Decl(cloduleWithDuplicateMember1.ts, 0, 0), Decl(cloduleWithDuplicateMember1.ts, 6, 1), Decl(cloduleWithDuplicateMember1.ts, 10, 1))

    export function foo() { }
>foo : Symbol(foo, Decl(cloduleWithDuplicateMember1.ts, 11, 10))

    export function x() { }
>x : Symbol(x, Decl(cloduleWithDuplicateMember1.ts, 12, 29))
}