File: classExtendsInterface.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 (28 lines) | stat: -rw-r--r-- 1,203 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
26
27
28
=== tests/cases/compiler/classExtendsInterface.ts ===
interface Comparable {}
>Comparable : Symbol(Comparable, Decl(classExtendsInterface.ts, 0, 0))

class A extends Comparable {}
>A : Symbol(A, Decl(classExtendsInterface.ts, 0, 23))
>Comparable : Symbol(Comparable, Decl(classExtendsInterface.ts, 0, 0))

class B implements Comparable {}
>B : Symbol(B, Decl(classExtendsInterface.ts, 1, 29))
>Comparable : Symbol(Comparable, Decl(classExtendsInterface.ts, 0, 0))

interface Comparable2<T> {}
>Comparable2 : Symbol(Comparable2, Decl(classExtendsInterface.ts, 2, 32))
>T : Symbol(T, Decl(classExtendsInterface.ts, 4, 22))

class A2<T> extends Comparable2<T> {}
>A2 : Symbol(A2, Decl(classExtendsInterface.ts, 4, 27))
>T : Symbol(T, Decl(classExtendsInterface.ts, 5, 9))
>Comparable2 : Symbol(Comparable2, Decl(classExtendsInterface.ts, 2, 32))
>T : Symbol(T, Decl(classExtendsInterface.ts, 5, 9))

class B2<T> implements Comparable2<T> {}
>B2 : Symbol(B2, Decl(classExtendsInterface.ts, 5, 37))
>T : Symbol(T, Decl(classExtendsInterface.ts, 6, 9))
>Comparable2 : Symbol(Comparable2, Decl(classExtendsInterface.ts, 2, 32))
>T : Symbol(T, Decl(classExtendsInterface.ts, 6, 9))