File: propertyOrdering2.symbols

package info (click to toggle)
node-typescript 3.3.3333-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 324,548 kB
  • sloc: makefile: 6; sh: 3
file content (22 lines) | stat: -rw-r--r-- 678 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
=== tests/cases/compiler/propertyOrdering2.ts ===
class Foo {
>Foo : Symbol(Foo, Decl(propertyOrdering2.ts, 0, 0))

    constructor(public x, y) { }
>x : Symbol(Foo.x, Decl(propertyOrdering2.ts, 1, 16))
>y : Symbol(y, Decl(propertyOrdering2.ts, 1, 25))

       foo() {
>foo : Symbol(Foo.foo, Decl(propertyOrdering2.ts, 1, 32))

        var a = this.x;
>a : Symbol(a, Decl(propertyOrdering2.ts, 3, 11))
>this.x : Symbol(Foo.x, Decl(propertyOrdering2.ts, 1, 16))
>this : Symbol(Foo, Decl(propertyOrdering2.ts, 0, 0))
>x : Symbol(Foo.x, Decl(propertyOrdering2.ts, 1, 16))

        return this.y;
>this : Symbol(Foo, Decl(propertyOrdering2.ts, 0, 0))
    }
}