239 lines
No EOL
8.5 KiB
Text
239 lines
No EOL
8.5 KiB
Text
|
|
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 >try {
|
|
|
|
~~~~~~ => Pos: (12 to 17) SpanInfo: {"start":22,"length":9}
|
|
>x = x + 1
|
|
>:=> (line 3, col 4) to (line 3, col 13)
|
|
--------------------------------
|
|
3 > x = x + 1;
|
|
|
|
~~~~~~~~~~~~~~~ => Pos: (18 to 32) SpanInfo: {"start":22,"length":9}
|
|
>x = x + 1
|
|
>:=> (line 3, col 4) to (line 3, col 13)
|
|
--------------------------------
|
|
4 >} catch (e) {
|
|
|
|
~ => Pos: (33 to 33) SpanInfo: {"start":22,"length":9}
|
|
>x = x + 1
|
|
>:=> (line 3, col 4) to (line 3, col 13)
|
|
4 >} catch (e) {
|
|
|
|
~~~~~~~~ => Pos: (34 to 41) SpanInfo: {"start":51,"length":9}
|
|
>x = x - 1
|
|
>:=> (line 5, col 4) to (line 5, col 13)
|
|
4 >} catch (e) {
|
|
|
|
~ => Pos: (42 to 42) SpanInfo: undefined
|
|
4 >} catch (e) {
|
|
|
|
~~~~ => Pos: (43 to 46) SpanInfo: {"start":51,"length":9}
|
|
>x = x - 1
|
|
>:=> (line 5, col 4) to (line 5, col 13)
|
|
--------------------------------
|
|
5 > x = x - 1;
|
|
|
|
~~~~~~~~~~~~~~~ => Pos: (47 to 61) SpanInfo: {"start":51,"length":9}
|
|
>x = x - 1
|
|
>:=> (line 5, col 4) to (line 5, col 13)
|
|
--------------------------------
|
|
6 >} finally {
|
|
|
|
~ => Pos: (62 to 62) SpanInfo: {"start":51,"length":9}
|
|
>x = x - 1
|
|
>:=> (line 5, col 4) to (line 5, col 13)
|
|
6 >} finally {
|
|
|
|
~~~~~~~~~~~ => Pos: (63 to 73) SpanInfo: {"start":78,"length":10}
|
|
>x = x * 10
|
|
>:=> (line 7, col 4) to (line 7, col 14)
|
|
--------------------------------
|
|
7 > x = x * 10;
|
|
|
|
~~~~~~~~~~~~~~~~ => Pos: (74 to 89) SpanInfo: {"start":78,"length":10}
|
|
>x = x * 10
|
|
>:=> (line 7, col 4) to (line 7, col 14)
|
|
--------------------------------
|
|
8 >}
|
|
|
|
~~ => Pos: (90 to 91) SpanInfo: {"start":78,"length":10}
|
|
>x = x * 10
|
|
>:=> (line 7, col 4) to (line 7, col 14)
|
|
--------------------------------
|
|
9 >try
|
|
|
|
~~~~ => Pos: (92 to 95) SpanInfo: {"start":102,"length":9}
|
|
>x = x + 1
|
|
>:=> (line 11, col 4) to (line 11, col 13)
|
|
--------------------------------
|
|
10 >{
|
|
|
|
~~ => Pos: (96 to 97) SpanInfo: {"start":102,"length":9}
|
|
>x = x + 1
|
|
>:=> (line 11, col 4) to (line 11, col 13)
|
|
--------------------------------
|
|
11 > x = x + 1;
|
|
|
|
~~~~~~~~~~~~~~~ => Pos: (98 to 112) SpanInfo: {"start":102,"length":9}
|
|
>x = x + 1
|
|
>:=> (line 11, col 4) to (line 11, col 13)
|
|
--------------------------------
|
|
12 > throw new Error();
|
|
|
|
~~~~~~~~~ => Pos: (113 to 121) SpanInfo: {"start":117,"length":17}
|
|
>throw new Error()
|
|
>:=> (line 12, col 4) to (line 12, col 21)
|
|
12 > throw new Error();
|
|
|
|
~~~~~~~~~~~~~~ => Pos: (122 to 135) SpanInfo: {"start":123,"length":11}
|
|
>new Error()
|
|
>:=> (line 12, col 10) to (line 12, col 21)
|
|
--------------------------------
|
|
13 >}
|
|
|
|
~~ => Pos: (136 to 137) SpanInfo: {"start":117,"length":17}
|
|
>throw new Error()
|
|
>:=> (line 12, col 4) to (line 12, col 21)
|
|
--------------------------------
|
|
14 >catch (e)
|
|
|
|
~~~~~~~ => Pos: (138 to 144) SpanInfo: {"start":154,"length":9}
|
|
>x = x - 1
|
|
>:=> (line 16, col 4) to (line 16, col 13)
|
|
14 >catch (e)
|
|
|
|
~ => Pos: (145 to 145) SpanInfo: undefined
|
|
14 >catch (e)
|
|
|
|
~~ => Pos: (146 to 147) SpanInfo: {"start":154,"length":9}
|
|
>x = x - 1
|
|
>:=> (line 16, col 4) to (line 16, col 13)
|
|
--------------------------------
|
|
15 >{
|
|
|
|
~~ => Pos: (148 to 149) SpanInfo: {"start":154,"length":9}
|
|
>x = x - 1
|
|
>:=> (line 16, col 4) to (line 16, col 13)
|
|
--------------------------------
|
|
16 > x = x - 1;
|
|
|
|
~~~~~~~~~~~~~~~ => Pos: (150 to 164) SpanInfo: {"start":154,"length":9}
|
|
>x = x - 1
|
|
>:=> (line 16, col 4) to (line 16, col 13)
|
|
--------------------------------
|
|
17 >}
|
|
|
|
~~ => Pos: (165 to 166) SpanInfo: {"start":154,"length":9}
|
|
>x = x - 1
|
|
>:=> (line 16, col 4) to (line 16, col 13)
|
|
--------------------------------
|
|
18 >finally
|
|
|
|
~~~~~~~~ => Pos: (167 to 174) SpanInfo: {"start":181,"length":10}
|
|
>x = x * 10
|
|
>:=> (line 20, col 4) to (line 20, col 14)
|
|
--------------------------------
|
|
19 >{
|
|
|
|
~~ => Pos: (175 to 176) SpanInfo: {"start":181,"length":10}
|
|
>x = x * 10
|
|
>:=> (line 20, col 4) to (line 20, col 14)
|
|
--------------------------------
|
|
20 > x = x * 10;
|
|
|
|
~~~~~~~~~~~~~~~~ => Pos: (177 to 192) SpanInfo: {"start":181,"length":10}
|
|
>x = x * 10
|
|
>:=> (line 20, col 4) to (line 20, col 14)
|
|
--------------------------------
|
|
21 >}
|
|
|
|
~~ => Pos: (193 to 194) SpanInfo: {"start":181,"length":10}
|
|
>x = x * 10
|
|
>:=> (line 20, col 4) to (line 20, col 14)
|
|
--------------------------------
|
|
22 >try {
|
|
|
|
~~~~~~ => Pos: (195 to 200) SpanInfo: {"start":205,"length":65}
|
|
>throw (function foo() {
|
|
> new Error(x.toString());
|
|
> })()
|
|
>:=> (line 23, col 4) to (line 25, col 8)
|
|
--------------------------------
|
|
23 > throw (function foo() {
|
|
|
|
~~~~~~~~~ => Pos: (201 to 209) SpanInfo: {"start":205,"length":65}
|
|
>throw (function foo() {
|
|
> new Error(x.toString());
|
|
> })()
|
|
>:=> (line 23, col 4) to (line 25, col 8)
|
|
23 > throw (function foo() {
|
|
|
|
~~ => Pos: (210 to 211) SpanInfo: {"start":211,"length":59}
|
|
>(function foo() {
|
|
> new Error(x.toString());
|
|
> })()
|
|
>:=> (line 23, col 10) to (line 25, col 8)
|
|
23 > throw (function foo() {
|
|
|
|
~~~~~~~~~~~~~~~~~ => Pos: (212 to 228) SpanInfo: {"start":237,"length":23}
|
|
>new Error(x.toString())
|
|
>:=> (line 24, col 8) to (line 24, col 31)
|
|
--------------------------------
|
|
24 > new Error(x.toString());
|
|
|
|
~~~~~~~~~~~~~~~~~~ => Pos: (229 to 246) SpanInfo: {"start":237,"length":23}
|
|
>new Error(x.toString())
|
|
>:=> (line 24, col 8) to (line 24, col 31)
|
|
24 > new Error(x.toString());
|
|
|
|
~~~~~~~~~~~~ => Pos: (247 to 258) SpanInfo: {"start":247,"length":12}
|
|
>x.toString()
|
|
>:=> (line 24, col 18) to (line 24, col 30)
|
|
24 > new Error(x.toString());
|
|
|
|
~~~ => Pos: (259 to 261) SpanInfo: {"start":237,"length":23}
|
|
>new Error(x.toString())
|
|
>:=> (line 24, col 8) to (line 24, col 31)
|
|
--------------------------------
|
|
25 > })();
|
|
|
|
~~~~~ => Pos: (262 to 266) SpanInfo: {"start":266,"length":1}
|
|
>}
|
|
>:=> (line 25, col 4) to (line 25, col 5)
|
|
25 > })();
|
|
|
|
~~~~~ => Pos: (267 to 271) SpanInfo: {"start":211,"length":59}
|
|
>(function foo() {
|
|
> new Error(x.toString());
|
|
> })()
|
|
>:=> (line 23, col 10) to (line 25, col 8)
|
|
--------------------------------
|
|
26 >}
|
|
|
|
~~ => Pos: (272 to 273) SpanInfo: {"start":205,"length":65}
|
|
>throw (function foo() {
|
|
> new Error(x.toString());
|
|
> })()
|
|
>:=> (line 23, col 4) to (line 25, col 8)
|
|
--------------------------------
|
|
27 >finally {
|
|
|
|
~~~~~~~~~~ => Pos: (274 to 283) SpanInfo: {"start":288,"length":3}
|
|
>x++
|
|
>:=> (line 28, col 4) to (line 28, col 7)
|
|
--------------------------------
|
|
28 > x++;
|
|
|
|
~~~~~~~~~ => Pos: (284 to 292) SpanInfo: {"start":288,"length":3}
|
|
>x++
|
|
>:=> (line 28, col 4) to (line 28, col 7)
|
|
--------------------------------
|
|
29 >}
|
|
~ => Pos: (293 to 293) SpanInfo: {"start":288,"length":3}
|
|
>x++
|
|
>:=> (line 28, col 4) to (line 28, col 7) |