File: bpSpan_conditionalExpressions.baseline

package info (click to toggle)
node-typescript 2.1.5-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 203,952 kB
  • ctags: 52,987
  • sloc: sh: 11; makefile: 5
file content (95 lines) | stat: -rw-r--r-- 3,434 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95

1  >var x = 10;

    ~~~~~~~~~~~~                                  => Pos: (0 to 11)  SpanInfo: {"start":0,"length":10}
    >var x = 10
    >:=> (line 1, col 0) to (line 1, col 10)
--------------------------------
2  >var y = x ? x + 10 : 30;

    ~~~~~~~~~~~~~~~~~~~~~~~~~                     => Pos: (12 to 36)  SpanInfo: {"start":12,"length":23}
    >var y = x ? x + 10 : 30
    >:=> (line 2, col 0) to (line 2, col 23)
--------------------------------
3  >var z = (function foo() {

    ~~~~~~~                                       => Pos: (37 to 43)  SpanInfo: {"start":37,"length":90}
    >var z = (function foo() {
    >    return x;
    >})() ? y : function bar() {
    >        return x;
    >} ()
    >:=> (line 3, col 0) to (line 7, col 4)
3  >var z = (function foo() {

           ~~~~~~~~~~~~~~~~~~~                    => Pos: (44 to 62)  SpanInfo: {"start":67,"length":8}
    >return x
    >:=> (line 4, col 4) to (line 4, col 12)
--------------------------------
4  >    return x;

    ~~~~~~~~~~~~~~                                => Pos: (63 to 76)  SpanInfo: {"start":67,"length":8}
    >return x
    >:=> (line 4, col 4) to (line 4, col 12)
--------------------------------
5  >})() ? y : function bar() {

    ~~~~                                          => Pos: (77 to 80)  SpanInfo: {"start":77,"length":1}
    >}
    >:=> (line 5, col 0) to (line 5, col 1)
5  >})() ? y : function bar() {

        ~~~~~~                                    => Pos: (81 to 86)  SpanInfo: {"start":37,"length":90}
    >var z = (function foo() {
    >    return x;
    >})() ? y : function bar() {
    >        return x;
    >} ()
    >:=> (line 3, col 0) to (line 7, col 4)
5  >})() ? y : function bar() {

              ~~~~~~~~~~~~~~~~~~                  => Pos: (87 to 104)  SpanInfo: {"start":113,"length":8}
    >return x
    >:=> (line 6, col 8) to (line 6, col 16)
--------------------------------
6  >        return x;

    ~~~~~~~~~~~~~~~~~~                            => Pos: (105 to 122)  SpanInfo: {"start":113,"length":8}
    >return x
    >:=> (line 6, col 8) to (line 6, col 16)
--------------------------------
7  >} ();

    ~~~~~~                                        => Pos: (123 to 128)  SpanInfo: {"start":123,"length":1}
    >}
    >:=> (line 7, col 0) to (line 7, col 1)
--------------------------------
8  >x = y ? (function () {

    ~~~~~~~                                       => Pos: (129 to 135)  SpanInfo: {"start":129,"length":47}
    >x = y ? (function () {
    >    return z;
    >})() :  10
    >:=> (line 8, col 0) to (line 10, col 10)
8  >x = y ? (function () {

           ~~~~~~~~~~~~~~~~                       => Pos: (136 to 151)  SpanInfo: {"start":156,"length":8}
    >return z
    >:=> (line 9, col 4) to (line 9, col 12)
--------------------------------
9  >    return z;

    ~~~~~~~~~~~~~~                                => Pos: (152 to 165)  SpanInfo: {"start":156,"length":8}
    >return z
    >:=> (line 9, col 4) to (line 9, col 12)
--------------------------------
10 >})() :  10;
    ~~~~                                          => Pos: (166 to 169)  SpanInfo: {"start":166,"length":1}
    >}
    >:=> (line 10, col 0) to (line 10, col 1)
10 >})() :  10;
        ~~~~~~~                                   => Pos: (170 to 176)  SpanInfo: {"start":129,"length":47}
    >x = y ? (function () {
    >    return z;
    >})() :  10
    >:=> (line 8, col 0) to (line 10, col 10)