File: superWithTypeArgument2.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 (25 lines) | stat: -rw-r--r-- 848 bytes parent folder | download | duplicates (4)
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
=== tests/cases/compiler/superWithTypeArgument2.ts ===
class C<T> {
>C : Symbol(C, Decl(superWithTypeArgument2.ts, 0, 0))
>T : Symbol(T, Decl(superWithTypeArgument2.ts, 0, 8))

    foo: T;
>foo : Symbol(C.foo, Decl(superWithTypeArgument2.ts, 0, 12))
>T : Symbol(T, Decl(superWithTypeArgument2.ts, 0, 8))
}

class D<T> extends C<T> {
>D : Symbol(D, Decl(superWithTypeArgument2.ts, 2, 1))
>T : Symbol(T, Decl(superWithTypeArgument2.ts, 4, 8))
>C : Symbol(C, Decl(superWithTypeArgument2.ts, 0, 0))
>T : Symbol(T, Decl(superWithTypeArgument2.ts, 4, 8))

    constructor(x) {
>x : Symbol(x, Decl(superWithTypeArgument2.ts, 5, 16))

        super<T>(x);
>super : Symbol(C, Decl(superWithTypeArgument2.ts, 0, 0))
>T : Symbol(T, Decl(superWithTypeArgument2.ts, 4, 8))
>x : Symbol(x, Decl(superWithTypeArgument2.ts, 5, 16))
    }
}