File: unionTypeWithRecursiveSubtypeReduction2.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 (51 lines) | stat: -rw-r--r-- 2,174 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
=== tests/cases/compiler/unionTypeWithRecursiveSubtypeReduction2.ts ===
class Module {
>Module : Symbol(Module, Decl(unionTypeWithRecursiveSubtypeReduction2.ts, 0, 0))

    public members: Class[];
>members : Symbol(Module.members, Decl(unionTypeWithRecursiveSubtypeReduction2.ts, 0, 14))
>Class : Symbol(Class, Decl(unionTypeWithRecursiveSubtypeReduction2.ts, 6, 1))
}

class Namespace {
>Namespace : Symbol(Namespace, Decl(unionTypeWithRecursiveSubtypeReduction2.ts, 2, 1))

    public members: (Class | Property)[];
>members : Symbol(Namespace.members, Decl(unionTypeWithRecursiveSubtypeReduction2.ts, 4, 17))
>Class : Symbol(Class, Decl(unionTypeWithRecursiveSubtypeReduction2.ts, 6, 1))
>Property : Symbol(Property, Decl(unionTypeWithRecursiveSubtypeReduction2.ts, 10, 1))
}

class Class {
>Class : Symbol(Class, Decl(unionTypeWithRecursiveSubtypeReduction2.ts, 6, 1))

    public parent: Namespace;
>parent : Symbol(Class.parent, Decl(unionTypeWithRecursiveSubtypeReduction2.ts, 8, 13))
>Namespace : Symbol(Namespace, Decl(unionTypeWithRecursiveSubtypeReduction2.ts, 2, 1))
}

class Property {
>Property : Symbol(Property, Decl(unionTypeWithRecursiveSubtypeReduction2.ts, 10, 1))

    public parent: Module | Class;
>parent : Symbol(Property.parent, Decl(unionTypeWithRecursiveSubtypeReduction2.ts, 12, 16))
>Module : Symbol(Module, Decl(unionTypeWithRecursiveSubtypeReduction2.ts, 0, 0))
>Class : Symbol(Class, Decl(unionTypeWithRecursiveSubtypeReduction2.ts, 6, 1))
}

var c: Class;
>c : Symbol(c, Decl(unionTypeWithRecursiveSubtypeReduction2.ts, 16, 3))
>Class : Symbol(Class, Decl(unionTypeWithRecursiveSubtypeReduction2.ts, 6, 1))

var p: Property;
>p : Symbol(p, Decl(unionTypeWithRecursiveSubtypeReduction2.ts, 17, 3))
>Property : Symbol(Property, Decl(unionTypeWithRecursiveSubtypeReduction2.ts, 10, 1))

c = p;
>c : Symbol(c, Decl(unionTypeWithRecursiveSubtypeReduction2.ts, 16, 3))
>p : Symbol(p, Decl(unionTypeWithRecursiveSubtypeReduction2.ts, 17, 3))

p = c;
>p : Symbol(p, Decl(unionTypeWithRecursiveSubtypeReduction2.ts, 17, 3))
>c : Symbol(c, Decl(unionTypeWithRecursiveSubtypeReduction2.ts, 16, 3))