129 lines
4.5 KiB
Plaintext
129 lines
4.5 KiB
Plaintext
|
|
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 >var y = x ? x + 10 : 30;
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (12 to 36) SpanInfo: {"start":12,"length":23}
|
|
>var y = x ? x + 10 : 30
|
|
>:=> (line 2, col 0) to (line 2, col 23)
|
|
--------------------------------
|
|
3 >var z = (function foo() {
|
|
|
|
~~~~~~~ => Pos: (37 to 43) SpanInfo: {"start":37,"length":90}
|
|
>var z = (function foo() {
|
|
> return x;
|
|
>})() ? y : function bar() {
|
|
> return x;
|
|
>} ()
|
|
>:=> (line 3, col 0) to (line 7, col 4)
|
|
3 >var z = (function foo() {
|
|
|
|
~~ => Pos: (44 to 45) SpanInfo: {"start":45,"length":36}
|
|
>(function foo() {
|
|
> return x;
|
|
>})()
|
|
>:=> (line 3, col 8) to (line 5, col 4)
|
|
3 >var z = (function foo() {
|
|
|
|
~~~~~~~~~~~~~~~~~ => Pos: (46 to 62) SpanInfo: {"start":67,"length":8}
|
|
>return x
|
|
>:=> (line 4, col 4) to (line 4, col 12)
|
|
--------------------------------
|
|
4 > return x;
|
|
|
|
~~~~~~~~~~~~~~ => Pos: (63 to 76) SpanInfo: {"start":67,"length":8}
|
|
>return x
|
|
>:=> (line 4, col 4) to (line 4, col 12)
|
|
--------------------------------
|
|
5 >})() ? y : function bar() {
|
|
|
|
~ => Pos: (77 to 77) SpanInfo: {"start":77,"length":1}
|
|
>}
|
|
>:=> (line 5, col 0) to (line 5, col 1)
|
|
5 >})() ? y : function bar() {
|
|
|
|
~~~ => Pos: (78 to 80) SpanInfo: {"start":45,"length":36}
|
|
>(function foo() {
|
|
> return x;
|
|
>})()
|
|
>:=> (line 3, col 8) to (line 5, col 4)
|
|
5 >})() ? y : function bar() {
|
|
|
|
~~~~~~ => Pos: (81 to 86) SpanInfo: {"start":37,"length":90}
|
|
>var z = (function foo() {
|
|
> return x;
|
|
>})() ? y : function bar() {
|
|
> return x;
|
|
>} ()
|
|
>:=> (line 3, col 0) to (line 7, col 4)
|
|
5 >})() ? y : function bar() {
|
|
|
|
~~~~~~~~~~~~~~~~~~ => Pos: (87 to 104) SpanInfo: {"start":113,"length":8}
|
|
>return x
|
|
>:=> (line 6, col 8) to (line 6, col 16)
|
|
--------------------------------
|
|
6 > return x;
|
|
|
|
~~~~~~~~~~~~~~~~~~ => Pos: (105 to 122) SpanInfo: {"start":113,"length":8}
|
|
>return x
|
|
>:=> (line 6, col 8) to (line 6, col 16)
|
|
--------------------------------
|
|
7 >} ();
|
|
|
|
~ => Pos: (123 to 123) SpanInfo: {"start":123,"length":1}
|
|
>}
|
|
>:=> (line 7, col 0) to (line 7, col 1)
|
|
7 >} ();
|
|
|
|
~~~~~ => Pos: (124 to 128) SpanInfo: {"start":88,"length":39}
|
|
>function bar() {
|
|
> return x;
|
|
>} ()
|
|
>:=> (line 5, col 11) to (line 7, col 4)
|
|
--------------------------------
|
|
8 >x = y ? (function () {
|
|
|
|
~~~~~~~ => Pos: (129 to 135) SpanInfo: {"start":129,"length":47}
|
|
>x = y ? (function () {
|
|
> return z;
|
|
>})() : 10
|
|
>:=> (line 8, col 0) to (line 10, col 10)
|
|
8 >x = y ? (function () {
|
|
|
|
~~ => Pos: (136 to 137) SpanInfo: {"start":137,"length":33}
|
|
>(function () {
|
|
> return z;
|
|
>})()
|
|
>:=> (line 8, col 8) to (line 10, col 4)
|
|
8 >x = y ? (function () {
|
|
|
|
~~~~~~~~~~~~~~ => Pos: (138 to 151) SpanInfo: {"start":156,"length":8}
|
|
>return z
|
|
>:=> (line 9, col 4) to (line 9, col 12)
|
|
--------------------------------
|
|
9 > return z;
|
|
|
|
~~~~~~~~~~~~~~ => Pos: (152 to 165) SpanInfo: {"start":156,"length":8}
|
|
>return z
|
|
>:=> (line 9, col 4) to (line 9, col 12)
|
|
--------------------------------
|
|
10 >})() : 10;
|
|
~ => Pos: (166 to 166) SpanInfo: {"start":166,"length":1}
|
|
>}
|
|
>:=> (line 10, col 0) to (line 10, col 1)
|
|
10 >})() : 10;
|
|
~~~ => Pos: (167 to 169) SpanInfo: {"start":137,"length":33}
|
|
>(function () {
|
|
> return z;
|
|
>})()
|
|
>:=> (line 8, col 8) to (line 10, col 4)
|
|
10 >})() : 10;
|
|
~~~~~~~ => Pos: (170 to 176) SpanInfo: {"start":129,"length":47}
|
|
>x = y ? (function () {
|
|
> return z;
|
|
>})() : 10
|
|
>:=> (line 8, col 0) to (line 10, col 10) |