File: thisInObjectJs.symbols

package info (click to toggle)
node-typescript 4.9.5%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 533,908 kB
  • sloc: javascript: 2,018,330; makefile: 7; sh: 1
file content (45 lines) | stat: -rw-r--r-- 927 bytes parent folder | download | duplicates (2)
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
=== tests/cases/compiler/index.js ===
export { }
let obj = {
>obj : Symbol(obj, Decl(index.js, 1, 3))

  x: 10,
>x : Symbol(x, Decl(index.js, 1, 11))

  y: [1],
>y : Symbol(y, Decl(index.js, 2, 8))

  fun: function() {
>fun : Symbol(fun, Decl(index.js, 3, 9))

    this.x = 1
>this.x : Symbol(x, Decl(index.js, 1, 11))
>this : Symbol(obj, Decl(index.js, 1, 9))
>x : Symbol(fun.x, Decl(index.js, 4, 19))

    this/*1*/
>this : Symbol(obj, Decl(index.js, 1, 9))

  },
  f2: function() {
>f2 : Symbol(f2, Decl(index.js, 7, 4))

    this.x
>this.x : Symbol(x, Decl(index.js, 1, 11))
>this : Symbol(obj, Decl(index.js, 1, 9))
>x : Symbol(x, Decl(index.js, 1, 11))

    this/*2*/
>this : Symbol(obj, Decl(index.js, 1, 9))

  },
  f3: (function() {
>f3 : Symbol(f3, Decl(index.js, 11, 4))

    this.x = 1
>x : Symbol((Anonymous function).x, Decl(index.js, 12, 19))

    this/*3*/
  }),
}