120 lines
No EOL
4.7 KiB
Text
120 lines
No EOL
4.7 KiB
Text
|
|
1 >class Greeter {
|
|
|
|
~~~~~~~~~~~~~~~~ => Pos: (0 to 15) SpanInfo: {"start":79,"length":1}
|
|
>}
|
|
>:=> (line 3, col 4) to (line 3, col 5)
|
|
--------------------------------
|
|
2 > constructor(public greeting: string, ...b: string[]) {
|
|
|
|
~~~~~~~~~~~~~~~~ => Pos: (16 to 31) SpanInfo: {"start":79,"length":1}
|
|
>}
|
|
>:=> (line 3, col 4) to (line 3, col 5)
|
|
2 > constructor(public greeting: string, ...b: string[]) {
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (32 to 55) SpanInfo: {"start":32,"length":23}
|
|
>public greeting: string
|
|
>:=> (line 2, col 16) to (line 2, col 39)
|
|
2 > constructor(public greeting: string, ...b: string[]) {
|
|
|
|
~~~~~~~~~~~~~~~~=> Pos: (56 to 71) SpanInfo: {"start":57,"length":14}
|
|
>...b: string[]
|
|
>:=> (line 2, col 41) to (line 2, col 55)
|
|
2 > constructor(public greeting: string, ...b: string[]) {
|
|
|
|
~~~=> Pos: (72 to 74) SpanInfo: {"start":79,"length":1}
|
|
>}
|
|
>:=> (line 3, col 4) to (line 3, col 5)
|
|
--------------------------------
|
|
3 > }
|
|
|
|
~~~~~~ => Pos: (75 to 80) SpanInfo: {"start":79,"length":1}
|
|
>}
|
|
>:=> (line 3, col 4) to (line 3, col 5)
|
|
--------------------------------
|
|
4 > greet() {
|
|
|
|
~~~~~~~~~~~~~~ => Pos: (81 to 94) SpanInfo: {"start":103,"length":39}
|
|
>return "<h1>" + this.greeting + "</h1>"
|
|
>:=> (line 5, col 8) to (line 5, col 47)
|
|
--------------------------------
|
|
5 > return "<h1>" + this.greeting + "</h1>";
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (95 to 143) SpanInfo: {"start":103,"length":39}
|
|
>return "<h1>" + this.greeting + "</h1>"
|
|
>:=> (line 5, col 8) to (line 5, col 47)
|
|
--------------------------------
|
|
6 > }
|
|
|
|
~~~~~~ => Pos: (144 to 149) SpanInfo: {"start":148,"length":1}
|
|
>}
|
|
>:=> (line 6, col 4) to (line 6, col 5)
|
|
--------------------------------
|
|
7 > private x: string;
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (150 to 172) SpanInfo: undefined
|
|
--------------------------------
|
|
8 > private x1: number = 10;
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (173 to 201) SpanInfo: {"start":177,"length":24}
|
|
>private x1: number = 10;
|
|
>:=> (line 8, col 4) to (line 8, col 28)
|
|
--------------------------------
|
|
9 > private fn() {
|
|
|
|
~~~~~~~~~~~~~~~~~~~ => Pos: (202 to 220) SpanInfo: {"start":229,"length":20}
|
|
>return this.greeting
|
|
>:=> (line 10, col 8) to (line 10, col 28)
|
|
--------------------------------
|
|
10 > return this.greeting;
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (221 to 250) SpanInfo: {"start":229,"length":20}
|
|
>return this.greeting
|
|
>:=> (line 10, col 8) to (line 10, col 28)
|
|
--------------------------------
|
|
11 > }
|
|
|
|
~~~~~~ => Pos: (251 to 256) SpanInfo: {"start":255,"length":1}
|
|
>}
|
|
>:=> (line 11, col 4) to (line 11, col 5)
|
|
--------------------------------
|
|
12 > get greetings() {
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~ => Pos: (257 to 278) SpanInfo: {"start":287,"length":20}
|
|
>return this.greeting
|
|
>:=> (line 13, col 8) to (line 13, col 28)
|
|
--------------------------------
|
|
13 > return this.greeting;
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (279 to 308) SpanInfo: {"start":287,"length":20}
|
|
>return this.greeting
|
|
>:=> (line 13, col 8) to (line 13, col 28)
|
|
--------------------------------
|
|
14 > }
|
|
|
|
~~~~~~ => Pos: (309 to 314) SpanInfo: {"start":313,"length":1}
|
|
>}
|
|
>:=> (line 14, col 4) to (line 14, col 5)
|
|
--------------------------------
|
|
15 > set greetings(greetings: string) {
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (315 to 353) SpanInfo: {"start":362,"length":25}
|
|
>this.greeting = greetings
|
|
>:=> (line 16, col 8) to (line 16, col 33)
|
|
--------------------------------
|
|
16 > this.greeting = greetings;
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (354 to 388) SpanInfo: {"start":362,"length":25}
|
|
>this.greeting = greetings
|
|
>:=> (line 16, col 8) to (line 16, col 33)
|
|
--------------------------------
|
|
17 > }
|
|
|
|
~~~~~~ => Pos: (389 to 394) SpanInfo: {"start":393,"length":1}
|
|
>}
|
|
>:=> (line 17, col 4) to (line 17, col 5)
|
|
--------------------------------
|
|
18 >}
|
|
~ => Pos: (395 to 395) SpanInfo: {"start":395,"length":1}
|
|
>}
|
|
>:=> (line 18, col 0) to (line 18, col 1) |