233 lines
No EOL
7.1 KiB
Text
233 lines
No EOL
7.1 KiB
Text
|
|
1 >var x = {
|
|
|
|
~~~~~~~~~~ => Pos: (0 to 9) SpanInfo: {"start":0,"length":179}
|
|
>var x = {
|
|
> a: 10,
|
|
> b: () => 10,
|
|
> someMethod() {
|
|
> return "Hello";
|
|
> },
|
|
> get y() {
|
|
> return 30;
|
|
> },
|
|
> set z(x: number) {
|
|
> var bar = x;
|
|
> }
|
|
>}
|
|
>:=> (line 1, col 0) to (line 13, col 1)
|
|
--------------------------------
|
|
2 > a: 10,
|
|
|
|
~~~~~~~~~~~ => Pos: (10 to 20) SpanInfo: {"start":0,"length":179}
|
|
>var x = {
|
|
> a: 10,
|
|
> b: () => 10,
|
|
> someMethod() {
|
|
> return "Hello";
|
|
> },
|
|
> get y() {
|
|
> return 30;
|
|
> },
|
|
> set z(x: number) {
|
|
> var bar = x;
|
|
> }
|
|
>}
|
|
>:=> (line 1, col 0) to (line 13, col 1)
|
|
--------------------------------
|
|
3 > b: () => 10,
|
|
|
|
~~~~~~~~~~~~~~~~~ => Pos: (21 to 37) SpanInfo: {"start":34,"length":2}
|
|
>10
|
|
>:=> (line 3, col 13) to (line 3, col 15)
|
|
--------------------------------
|
|
4 > someMethod() {
|
|
|
|
~~~~~~~~~~~~~~~~~~~ => Pos: (38 to 56) SpanInfo: {"start":65,"length":14}
|
|
>return "Hello"
|
|
>:=> (line 5, col 8) to (line 5, col 22)
|
|
--------------------------------
|
|
5 > return "Hello";
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (57 to 80) SpanInfo: {"start":65,"length":14}
|
|
>return "Hello"
|
|
>:=> (line 5, col 8) to (line 5, col 22)
|
|
--------------------------------
|
|
6 > },
|
|
|
|
~~~~~~~ => Pos: (81 to 87) SpanInfo: {"start":85,"length":1}
|
|
>}
|
|
>:=> (line 6, col 4) to (line 6, col 5)
|
|
--------------------------------
|
|
7 > get y() {
|
|
|
|
~~~~~~~~~~~~~~ => Pos: (88 to 101) SpanInfo: {"start":110,"length":9}
|
|
>return 30
|
|
>:=> (line 8, col 8) to (line 8, col 17)
|
|
--------------------------------
|
|
8 > return 30;
|
|
|
|
~~~~~~~~~~~~~~~~~~~ => Pos: (102 to 120) SpanInfo: {"start":110,"length":9}
|
|
>return 30
|
|
>:=> (line 8, col 8) to (line 8, col 17)
|
|
--------------------------------
|
|
9 > },
|
|
|
|
~~~~~~~ => Pos: (121 to 127) SpanInfo: {"start":125,"length":1}
|
|
>}
|
|
>:=> (line 9, col 4) to (line 9, col 5)
|
|
--------------------------------
|
|
10 > set z(x: number) {
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (128 to 150) SpanInfo: {"start":159,"length":11}
|
|
>var bar = x
|
|
>:=> (line 11, col 8) to (line 11, col 19)
|
|
--------------------------------
|
|
11 > var bar = x;
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~ => Pos: (151 to 171) SpanInfo: {"start":159,"length":11}
|
|
>var bar = x
|
|
>:=> (line 11, col 8) to (line 11, col 19)
|
|
--------------------------------
|
|
12 > }
|
|
|
|
~~~~~~ => Pos: (172 to 177) SpanInfo: {"start":176,"length":1}
|
|
>}
|
|
>:=> (line 12, col 4) to (line 12, col 5)
|
|
--------------------------------
|
|
13 >};
|
|
|
|
~~~ => Pos: (178 to 180) SpanInfo: {"start":0,"length":179}
|
|
>var x = {
|
|
> a: 10,
|
|
> b: () => 10,
|
|
> someMethod() {
|
|
> return "Hello";
|
|
> },
|
|
> get y() {
|
|
> return 30;
|
|
> },
|
|
> set z(x: number) {
|
|
> var bar = x;
|
|
> }
|
|
>}
|
|
>:=> (line 1, col 0) to (line 13, col 1)
|
|
--------------------------------
|
|
14 >var a = ({
|
|
|
|
~~~~~~~~~~~ => Pos: (181 to 191) SpanInfo: {"start":181,"length":192}
|
|
>var a = ({
|
|
> a: 10,
|
|
> b: () => 10,
|
|
> someMethod() {
|
|
> return "Hello";
|
|
> },
|
|
> get y() {
|
|
> return 30;
|
|
> },
|
|
> set z(x: number) {
|
|
> var bar = x;
|
|
> }
|
|
>}).someMethod
|
|
>:=> (line 14, col 0) to (line 26, col 13)
|
|
--------------------------------
|
|
15 > a: 10,
|
|
|
|
~~~~~~~~~~~ => Pos: (192 to 202) SpanInfo: {"start":181,"length":192}
|
|
>var a = ({
|
|
> a: 10,
|
|
> b: () => 10,
|
|
> someMethod() {
|
|
> return "Hello";
|
|
> },
|
|
> get y() {
|
|
> return 30;
|
|
> },
|
|
> set z(x: number) {
|
|
> var bar = x;
|
|
> }
|
|
>}).someMethod
|
|
>:=> (line 14, col 0) to (line 26, col 13)
|
|
--------------------------------
|
|
16 > b: () => 10,
|
|
|
|
~~~~~~~~~~~~~~~~~ => Pos: (203 to 219) SpanInfo: {"start":216,"length":2}
|
|
>10
|
|
>:=> (line 16, col 13) to (line 16, col 15)
|
|
--------------------------------
|
|
17 > someMethod() {
|
|
|
|
~~~~~~~~~~~~~~~~~~~ => Pos: (220 to 238) SpanInfo: {"start":247,"length":14}
|
|
>return "Hello"
|
|
>:=> (line 18, col 8) to (line 18, col 22)
|
|
--------------------------------
|
|
18 > return "Hello";
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (239 to 262) SpanInfo: {"start":247,"length":14}
|
|
>return "Hello"
|
|
>:=> (line 18, col 8) to (line 18, col 22)
|
|
--------------------------------
|
|
19 > },
|
|
|
|
~~~~~~~ => Pos: (263 to 269) SpanInfo: {"start":267,"length":1}
|
|
>}
|
|
>:=> (line 19, col 4) to (line 19, col 5)
|
|
--------------------------------
|
|
20 > get y() {
|
|
|
|
~~~~~~~~~~~~~~ => Pos: (270 to 283) SpanInfo: {"start":292,"length":9}
|
|
>return 30
|
|
>:=> (line 21, col 8) to (line 21, col 17)
|
|
--------------------------------
|
|
21 > return 30;
|
|
|
|
~~~~~~~~~~~~~~~~~~~ => Pos: (284 to 302) SpanInfo: {"start":292,"length":9}
|
|
>return 30
|
|
>:=> (line 21, col 8) to (line 21, col 17)
|
|
--------------------------------
|
|
22 > },
|
|
|
|
~~~~~~~ => Pos: (303 to 309) SpanInfo: {"start":307,"length":1}
|
|
>}
|
|
>:=> (line 22, col 4) to (line 22, col 5)
|
|
--------------------------------
|
|
23 > set z(x: number) {
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (310 to 332) SpanInfo: {"start":341,"length":11}
|
|
>var bar = x
|
|
>:=> (line 24, col 8) to (line 24, col 19)
|
|
--------------------------------
|
|
24 > var bar = x;
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~ => Pos: (333 to 353) SpanInfo: {"start":341,"length":11}
|
|
>var bar = x
|
|
>:=> (line 24, col 8) to (line 24, col 19)
|
|
--------------------------------
|
|
25 > }
|
|
|
|
~~~~~~ => Pos: (354 to 359) SpanInfo: {"start":358,"length":1}
|
|
>}
|
|
>:=> (line 25, col 4) to (line 25, col 5)
|
|
--------------------------------
|
|
26 >}).someMethod;
|
|
|
|
~~~~~~~~~~~~~~~ => Pos: (360 to 374) SpanInfo: {"start":181,"length":192}
|
|
>var a = ({
|
|
> a: 10,
|
|
> b: () => 10,
|
|
> someMethod() {
|
|
> return "Hello";
|
|
> },
|
|
> get y() {
|
|
> return 30;
|
|
> },
|
|
> set z(x: number) {
|
|
> var bar = x;
|
|
> }
|
|
>}).someMethod
|
|
>:=> (line 14, col 0) to (line 26, col 13)
|
|
--------------------------------
|
|
27 >a();
|
|
~~~~ => Pos: (375 to 378) SpanInfo: {"start":375,"length":3}
|
|
>a()
|
|
>:=> (line 27, col 0) to (line 27, col 3) |