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 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210
|
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 135) SpanInfo: {"start":117,"length":17}
>throw new Error()
>:=> (line 12, col 4) 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 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 261) SpanInfo: {"start":237,"length":23}
>new Error(x.toString())
>:=> (line 24, col 8) to (line 24, col 31)
--------------------------------
25 > })();
~~~~~~~~~~ => Pos: (262 to 271) SpanInfo: {"start":266,"length":1}
>}
>:=> (line 25, col 4) to (line 25, col 5)
--------------------------------
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)
|