230 lines
No EOL
7.4 KiB
Text
230 lines
No EOL
7.4 KiB
Text
|
|
1 >module m2 {
|
|
|
|
~~~~~~~~~~~~ => Pos: (0 to 11) SpanInfo: {"start":0,"length":38}
|
|
>module m2 {
|
|
> var a = 10;
|
|
> a++;
|
|
>}
|
|
>:=> (line 1, col 0) to (line 4, col 1)
|
|
--------------------------------
|
|
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":39,"length":118}
|
|
>module m3 {
|
|
> module m4 {
|
|
> export var x = 30;
|
|
> }
|
|
>
|
|
> export function foo() {
|
|
> return m4.x;
|
|
> }
|
|
>}
|
|
>:=> (line 5, col 0) to (line 13, col 1)
|
|
--------------------------------
|
|
6 > module m4 {
|
|
|
|
~~~~~~~~~~~~~~~~ => Pos: (51 to 66) SpanInfo: {"start":55,"length":44}
|
|
>module m4 {
|
|
> export var x = 30;
|
|
> }
|
|
>:=> (line 6, col 4) to (line 8, col 5)
|
|
--------------------------------
|
|
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 157) SpanInfo: {"start":156,"length":1}
|
|
>}
|
|
>:=> (line 13, col 0) to (line 13, col 1)
|
|
--------------------------------
|
|
14 >module m4 {
|
|
|
|
~~~~~~~~~~~~ => Pos: (158 to 169) SpanInfo: undefined
|
|
--------------------------------
|
|
15 > interface I { }
|
|
|
|
~~~~~~~~~~~~~~~~~~~~ => Pos: (170 to 189) SpanInfo: undefined
|
|
--------------------------------
|
|
16 >}
|
|
|
|
~~ => Pos: (190 to 191) SpanInfo: undefined
|
|
--------------------------------
|
|
17 >module m12
|
|
|
|
~~~~~~~~~~~ => Pos: (192 to 202) SpanInfo: {"start":192,"length":39}
|
|
>module m12
|
|
>{
|
|
> var a = 10;
|
|
> a++;
|
|
>}
|
|
>:=> (line 17, col 0) to (line 21, col 1)
|
|
--------------------------------
|
|
18 >{
|
|
|
|
~~ => Pos: (203 to 204) SpanInfo: {"start":209,"length":10}
|
|
>var a = 10
|
|
>:=> (line 19, col 4) to (line 19, col 14)
|
|
--------------------------------
|
|
19 > var a = 10;
|
|
|
|
~~~~~~~~~~~~~~~~ => Pos: (205 to 220) SpanInfo: {"start":209,"length":10}
|
|
>var a = 10
|
|
>:=> (line 19, col 4) to (line 19, col 14)
|
|
--------------------------------
|
|
20 > a++;
|
|
|
|
~~~~~~~~~ => Pos: (221 to 229) SpanInfo: {"start":225,"length":3}
|
|
>a++
|
|
>:=> (line 20, col 4) to (line 20, col 7)
|
|
--------------------------------
|
|
21 >}
|
|
|
|
~~ => Pos: (230 to 231) SpanInfo: {"start":230,"length":1}
|
|
>}
|
|
>:=> (line 21, col 0) to (line 21, col 1)
|
|
--------------------------------
|
|
22 >module m13
|
|
|
|
~~~~~~~~~~~ => Pos: (232 to 242) SpanInfo: {"start":232,"length":125}
|
|
>module m13
|
|
>{
|
|
> module m14
|
|
> {
|
|
> export var x = 30;
|
|
> }
|
|
>
|
|
> export function foo() {
|
|
> return m4.x;
|
|
> }
|
|
>}
|
|
>:=> (line 22, col 0) to (line 32, col 1)
|
|
--------------------------------
|
|
23 >{
|
|
|
|
~~ => Pos: (243 to 244) SpanInfo: {"start":249,"length":50}
|
|
>module m14
|
|
> {
|
|
> export var x = 30;
|
|
> }
|
|
>:=> (line 24, col 4) to (line 27, col 5)
|
|
--------------------------------
|
|
24 > module m14
|
|
|
|
~~~~~~~~~~~~~~~~ => Pos: (245 to 260) SpanInfo: {"start":249,"length":50}
|
|
>module m14
|
|
> {
|
|
> export var x = 30;
|
|
> }
|
|
>:=> (line 24, col 4) to (line 27, col 5)
|
|
--------------------------------
|
|
25 > {
|
|
|
|
~~~~~~ => Pos: (261 to 266) SpanInfo: {"start":275,"length":17}
|
|
>export var x = 30
|
|
>:=> (line 26, col 8) to (line 26, col 25)
|
|
--------------------------------
|
|
26 > export var x = 30;
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (267 to 293) SpanInfo: {"start":275,"length":17}
|
|
>export var x = 30
|
|
>:=> (line 26, col 8) to (line 26, col 25)
|
|
--------------------------------
|
|
27 > }
|
|
|
|
~~~~~~ => Pos: (294 to 299) SpanInfo: {"start":298,"length":1}
|
|
>}
|
|
>:=> (line 27, col 4) to (line 27, col 5)
|
|
--------------------------------
|
|
28 >
|
|
|
|
~ => Pos: (300 to 300) SpanInfo: undefined
|
|
--------------------------------
|
|
29 > export function foo() {
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (301 to 328) SpanInfo: {"start":337,"length":11}
|
|
>return m4.x
|
|
>:=> (line 30, col 8) to (line 30, col 19)
|
|
--------------------------------
|
|
30 > return m4.x;
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~ => Pos: (329 to 349) SpanInfo: {"start":337,"length":11}
|
|
>return m4.x
|
|
>:=> (line 30, col 8) to (line 30, col 19)
|
|
--------------------------------
|
|
31 > }
|
|
|
|
~~~~~~ => Pos: (350 to 355) SpanInfo: {"start":354,"length":1}
|
|
>}
|
|
>:=> (line 31, col 4) to (line 31, col 5)
|
|
--------------------------------
|
|
32 >}
|
|
|
|
~~ => Pos: (356 to 357) SpanInfo: {"start":356,"length":1}
|
|
>}
|
|
>:=> (line 32, col 0) to (line 32, col 1)
|
|
--------------------------------
|
|
33 >module m14
|
|
|
|
~~~~~~~~~~~~ => Pos: (358 to 369) SpanInfo: undefined
|
|
--------------------------------
|
|
34 >{
|
|
|
|
~~ => Pos: (370 to 371) SpanInfo: undefined
|
|
--------------------------------
|
|
35 > interface I { }
|
|
|
|
~~~~~~~~~~~~~~~~~~~~ => Pos: (372 to 391) SpanInfo: undefined
|
|
--------------------------------
|
|
36 >}
|
|
~ => Pos: (392 to 392) SpanInfo: undefined |