166 lines
No EOL
5.6 KiB
Text
166 lines
No EOL
5.6 KiB
Text
|
|
1 >var i = 10;
|
|
|
|
~~~~~~~~~~~~ => Pos: (0 to 11) SpanInfo: {"start":0,"length":10}
|
|
>var i = 10
|
|
>:=> (line 1, col 0) to (line 1, col 10)
|
|
--------------------------------
|
|
2 >if (i == 10) {
|
|
|
|
~~~~~~~~~~~~~~~ => Pos: (12 to 26) SpanInfo: {"start":12,"length":12}
|
|
>if (i == 10)
|
|
>:=> (line 2, col 0) to (line 2, col 12)
|
|
--------------------------------
|
|
3 > i++;
|
|
|
|
~~~~~~~~~ => Pos: (27 to 35) SpanInfo: {"start":31,"length":3}
|
|
>i++
|
|
>:=> (line 3, col 4) to (line 3, col 7)
|
|
--------------------------------
|
|
4 >} else
|
|
|
|
~ => Pos: (36 to 36) SpanInfo: {"start":31,"length":3}
|
|
>i++
|
|
>:=> (line 3, col 4) to (line 3, col 7)
|
|
4 >} else
|
|
|
|
~~~~~~ => Pos: (37 to 42) SpanInfo: undefined
|
|
--------------------------------
|
|
5 >{
|
|
|
|
~~ => Pos: (43 to 44) SpanInfo: undefined
|
|
--------------------------------
|
|
6 >}
|
|
|
|
~~ => Pos: (45 to 46) SpanInfo: undefined
|
|
--------------------------------
|
|
7 >if (i == 10)
|
|
|
|
~~~~~~~~~~~~~ => Pos: (47 to 59) SpanInfo: {"start":47,"length":12}
|
|
>if (i == 10)
|
|
>:=> (line 7, col 0) to (line 7, col 12)
|
|
--------------------------------
|
|
8 >{
|
|
|
|
~~ => Pos: (60 to 61) SpanInfo: {"start":66,"length":3}
|
|
>i++
|
|
>:=> (line 9, col 4) to (line 9, col 7)
|
|
--------------------------------
|
|
9 > i++;
|
|
|
|
~~~~~~~~~ => Pos: (62 to 70) SpanInfo: {"start":66,"length":3}
|
|
>i++
|
|
>:=> (line 9, col 4) to (line 9, col 7)
|
|
--------------------------------
|
|
10 >}
|
|
|
|
~~ => Pos: (71 to 72) SpanInfo: {"start":66,"length":3}
|
|
>i++
|
|
>:=> (line 9, col 4) to (line 9, col 7)
|
|
--------------------------------
|
|
11 >else if (i == 20) {
|
|
|
|
~~~~~~~~~~~~~~~~~~~~ => Pos: (73 to 92) SpanInfo: {"start":78,"length":12}
|
|
>if (i == 20)
|
|
>:=> (line 11, col 5) to (line 11, col 17)
|
|
--------------------------------
|
|
12 > i--;
|
|
|
|
~~~~~~~~~ => Pos: (93 to 101) SpanInfo: {"start":97,"length":3}
|
|
>i--
|
|
>:=> (line 12, col 4) to (line 12, col 7)
|
|
--------------------------------
|
|
13 >} else if (i == 30) {
|
|
|
|
~ => Pos: (102 to 102) SpanInfo: {"start":97,"length":3}
|
|
>i--
|
|
>:=> (line 12, col 4) to (line 12, col 7)
|
|
13 >} else if (i == 30) {
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~ => Pos: (103 to 123) SpanInfo: {"start":109,"length":12}
|
|
>if (i == 30)
|
|
>:=> (line 13, col 7) to (line 13, col 19)
|
|
--------------------------------
|
|
14 > i += 70;
|
|
|
|
~~~~~~~~~~~~~ => Pos: (124 to 136) SpanInfo: {"start":128,"length":7}
|
|
>i += 70
|
|
>:=> (line 14, col 4) to (line 14, col 11)
|
|
--------------------------------
|
|
15 >} else {
|
|
|
|
~ => Pos: (137 to 137) SpanInfo: {"start":128,"length":7}
|
|
>i += 70
|
|
>:=> (line 14, col 4) to (line 14, col 11)
|
|
15 >} else {
|
|
|
|
~~~~~~~~ => Pos: (138 to 145) SpanInfo: {"start":150,"length":3}
|
|
>i--
|
|
>:=> (line 16, col 4) to (line 16, col 7)
|
|
--------------------------------
|
|
16 > i--;
|
|
|
|
~~~~~~~~~ => Pos: (146 to 154) SpanInfo: {"start":150,"length":3}
|
|
>i--
|
|
>:=> (line 16, col 4) to (line 16, col 7)
|
|
--------------------------------
|
|
17 >}
|
|
|
|
~~ => Pos: (155 to 156) SpanInfo: {"start":150,"length":3}
|
|
>i--
|
|
>:=> (line 16, col 4) to (line 16, col 7)
|
|
--------------------------------
|
|
18 >if (function foo() {
|
|
|
|
~~~~ => Pos: (157 to 160) SpanInfo: {"start":157,"length":41}
|
|
>if (function foo() {
|
|
> return 30;
|
|
>} ())
|
|
>:=> (line 18, col 0) to (line 20, col 5)
|
|
18 >if (function foo() {
|
|
|
|
~~~~~~~~~~~~~~~~~ => Pos: (161 to 177) SpanInfo: {"start":182,"length":9}
|
|
>return 30
|
|
>:=> (line 19, col 4) to (line 19, col 13)
|
|
--------------------------------
|
|
19 > return 30;
|
|
|
|
~~~~~~~~~~~~~~~ => Pos: (178 to 192) SpanInfo: {"start":182,"length":9}
|
|
>return 30
|
|
>:=> (line 19, col 4) to (line 19, col 13)
|
|
--------------------------------
|
|
20 >} ()) {
|
|
|
|
~ => Pos: (193 to 193) SpanInfo: {"start":193,"length":1}
|
|
>}
|
|
>:=> (line 20, col 0) to (line 20, col 1)
|
|
20 >} ()) {
|
|
|
|
~~~ => Pos: (194 to 196) SpanInfo: {"start":161,"length":36}
|
|
>function foo() {
|
|
> return 30;
|
|
>} ()
|
|
>:=> (line 18, col 4) to (line 20, col 4)
|
|
20 >} ()) {
|
|
|
|
~ => Pos: (197 to 197) SpanInfo: {"start":157,"length":41}
|
|
>if (function foo() {
|
|
> return 30;
|
|
>} ())
|
|
>:=> (line 18, col 0) to (line 20, col 5)
|
|
20 >} ()) {
|
|
|
|
~~~ => Pos: (198 to 200) SpanInfo: {"start":205,"length":3}
|
|
>i++
|
|
>:=> (line 21, col 4) to (line 21, col 7)
|
|
--------------------------------
|
|
21 > i++;
|
|
|
|
~~~~~~~~~ => Pos: (201 to 209) SpanInfo: {"start":205,"length":3}
|
|
>i++
|
|
>:=> (line 21, col 4) to (line 21, col 7)
|
|
--------------------------------
|
|
22 >}
|
|
~ => Pos: (210 to 210) SpanInfo: {"start":205,"length":3}
|
|
>i++
|
|
>:=> (line 21, col 4) to (line 21, col 7) |