75 lines
No EOL
2.6 KiB
Text
75 lines
No EOL
2.6 KiB
Text
|
|
1 >module m2 {
|
|
|
|
~~~~~~~~~~~~ => Pos: (0 to 11) SpanInfo: {"start":16,"length":10}
|
|
>var a = 10
|
|
>:=> (line 2, col 4) to (line 2, col 14)
|
|
--------------------------------
|
|
2 > var a = 10;
|
|
|
|
~~~~~~~~~~~~~~~~ => Pos: (12 to 27) SpanInfo: {"start":16,"length":10}
|
|
>var a = 10
|
|
>:=> (line 2, col 4) to (line 2, col 14)
|
|
--------------------------------
|
|
3 > a++;
|
|
|
|
~~~~~~~~~ => Pos: (28 to 36) SpanInfo: {"start":32,"length":3}
|
|
>a++
|
|
>:=> (line 3, col 4) to (line 3, col 7)
|
|
--------------------------------
|
|
4 >}
|
|
|
|
~~ => Pos: (37 to 38) SpanInfo: {"start":37,"length":1}
|
|
>}
|
|
>:=> (line 4, col 0) to (line 4, col 1)
|
|
--------------------------------
|
|
5 >module m3 {
|
|
|
|
~~~~~~~~~~~~ => Pos: (39 to 50) SpanInfo: {"start":75,"length":17}
|
|
>export var x = 30
|
|
>:=> (line 7, col 8) to (line 7, col 25)
|
|
--------------------------------
|
|
6 > module m4 {
|
|
|
|
~~~~~~~~~~~~~~~~ => Pos: (51 to 66) SpanInfo: {"start":75,"length":17}
|
|
>export var x = 30
|
|
>:=> (line 7, col 8) to (line 7, col 25)
|
|
--------------------------------
|
|
7 > export var x = 30;
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (67 to 93) SpanInfo: {"start":75,"length":17}
|
|
>export var x = 30
|
|
>:=> (line 7, col 8) to (line 7, col 25)
|
|
--------------------------------
|
|
8 > }
|
|
|
|
~~~~~~ => Pos: (94 to 99) SpanInfo: {"start":98,"length":1}
|
|
>}
|
|
>:=> (line 8, col 4) to (line 8, col 5)
|
|
--------------------------------
|
|
9 >
|
|
|
|
~ => Pos: (100 to 100) SpanInfo: undefined
|
|
--------------------------------
|
|
10 > export function foo() {
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (101 to 128) SpanInfo: {"start":137,"length":11}
|
|
>return m4.x
|
|
>:=> (line 11, col 8) to (line 11, col 19)
|
|
--------------------------------
|
|
11 > return m4.x;
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~ => Pos: (129 to 149) SpanInfo: {"start":137,"length":11}
|
|
>return m4.x
|
|
>:=> (line 11, col 8) to (line 11, col 19)
|
|
--------------------------------
|
|
12 > }
|
|
|
|
~~~~~~ => Pos: (150 to 155) SpanInfo: {"start":154,"length":1}
|
|
>}
|
|
>:=> (line 12, col 4) to (line 12, col 5)
|
|
--------------------------------
|
|
13 >}
|
|
~ => Pos: (156 to 156) SpanInfo: {"start":156,"length":1}
|
|
>}
|
|
>:=> (line 13, col 0) to (line 13, col 1) |