File: mergedDeclarations1.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 (69 lines) | stat: -rw-r--r-- 3,196 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
=== tests/cases/compiler/mergedDeclarations1.ts ===
interface Point {
>Point : Symbol(Point, Decl(mergedDeclarations1.ts, 0, 0))

    x: number;
>x : Symbol(Point.x, Decl(mergedDeclarations1.ts, 0, 17))

    y: number;
>y : Symbol(Point.y, Decl(mergedDeclarations1.ts, 1, 14))
}
function point(x: number, y: number): Point {
>point : Symbol(point, Decl(mergedDeclarations1.ts, 3, 1), Decl(mergedDeclarations1.ts, 6, 1))
>x : Symbol(x, Decl(mergedDeclarations1.ts, 4, 15))
>y : Symbol(y, Decl(mergedDeclarations1.ts, 4, 25))
>Point : Symbol(Point, Decl(mergedDeclarations1.ts, 0, 0))

    return { x: x, y: y };
>x : Symbol(x, Decl(mergedDeclarations1.ts, 5, 12))
>x : Symbol(x, Decl(mergedDeclarations1.ts, 4, 15))
>y : Symbol(y, Decl(mergedDeclarations1.ts, 5, 18))
>y : Symbol(y, Decl(mergedDeclarations1.ts, 4, 25))
}
module point {
>point : Symbol(point, Decl(mergedDeclarations1.ts, 3, 1), Decl(mergedDeclarations1.ts, 6, 1))

    export var origin = point(0, 0);
>origin : Symbol(origin, Decl(mergedDeclarations1.ts, 8, 14))
>point : Symbol(point, Decl(mergedDeclarations1.ts, 3, 1), Decl(mergedDeclarations1.ts, 6, 1))

    export function equals(p1: Point, p2: Point) {
>equals : Symbol(equals, Decl(mergedDeclarations1.ts, 8, 36))
>p1 : Symbol(p1, Decl(mergedDeclarations1.ts, 9, 27))
>Point : Symbol(Point, Decl(mergedDeclarations1.ts, 0, 0))
>p2 : Symbol(p2, Decl(mergedDeclarations1.ts, 9, 37))
>Point : Symbol(Point, Decl(mergedDeclarations1.ts, 0, 0))

        return p1.x == p2.x && p1.y == p2.y;
>p1.x : Symbol(Point.x, Decl(mergedDeclarations1.ts, 0, 17))
>p1 : Symbol(p1, Decl(mergedDeclarations1.ts, 9, 27))
>x : Symbol(Point.x, Decl(mergedDeclarations1.ts, 0, 17))
>p2.x : Symbol(Point.x, Decl(mergedDeclarations1.ts, 0, 17))
>p2 : Symbol(p2, Decl(mergedDeclarations1.ts, 9, 37))
>x : Symbol(Point.x, Decl(mergedDeclarations1.ts, 0, 17))
>p1.y : Symbol(Point.y, Decl(mergedDeclarations1.ts, 1, 14))
>p1 : Symbol(p1, Decl(mergedDeclarations1.ts, 9, 27))
>y : Symbol(Point.y, Decl(mergedDeclarations1.ts, 1, 14))
>p2.y : Symbol(Point.y, Decl(mergedDeclarations1.ts, 1, 14))
>p2 : Symbol(p2, Decl(mergedDeclarations1.ts, 9, 37))
>y : Symbol(Point.y, Decl(mergedDeclarations1.ts, 1, 14))
    }
}
var p1 = point(0, 0);
>p1 : Symbol(p1, Decl(mergedDeclarations1.ts, 13, 3))
>point : Symbol(point, Decl(mergedDeclarations1.ts, 3, 1), Decl(mergedDeclarations1.ts, 6, 1))

var p2 = point.origin;
>p2 : Symbol(p2, Decl(mergedDeclarations1.ts, 14, 3))
>point.origin : Symbol(point.origin, Decl(mergedDeclarations1.ts, 8, 14))
>point : Symbol(point, Decl(mergedDeclarations1.ts, 3, 1), Decl(mergedDeclarations1.ts, 6, 1))
>origin : Symbol(point.origin, Decl(mergedDeclarations1.ts, 8, 14))

var b = point.equals(p1, p2);
>b : Symbol(b, Decl(mergedDeclarations1.ts, 15, 3))
>point.equals : Symbol(point.equals, Decl(mergedDeclarations1.ts, 8, 36))
>point : Symbol(point, Decl(mergedDeclarations1.ts, 3, 1), Decl(mergedDeclarations1.ts, 6, 1))
>equals : Symbol(point.equals, Decl(mergedDeclarations1.ts, 8, 36))
>p1 : Symbol(p1, Decl(mergedDeclarations1.ts, 13, 3))
>p2 : Symbol(p2, Decl(mergedDeclarations1.ts, 14, 3))