File: commentsOnObjectLiteral3.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 (34 lines) | stat: -rw-r--r-- 971 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
23
24
25
26
27
28
29
30
31
32
33
34
=== tests/cases/compiler/commentsOnObjectLiteral3.ts ===
var v = {
>v : Symbol(v, Decl(commentsOnObjectLiteral3.ts, 0, 3))

 //property
 prop: 1 /* multiple trailing comments */ /*trailing comments*/,
>prop : Symbol(prop, Decl(commentsOnObjectLiteral3.ts, 0, 9))

 //property
 func: function () {
>func : Symbol(func, Decl(commentsOnObjectLiteral3.ts, 2, 64))

 },
 //PropertyName + CallSignature
 func1() { },
>func1 : Symbol(func1, Decl(commentsOnObjectLiteral3.ts, 5, 3))

 //getter
 get a() {
>a : Symbol(a, Decl(commentsOnObjectLiteral3.ts, 7, 13), Decl(commentsOnObjectLiteral3.ts, 11, 18))

  return this.prop;
 } /*trailing 1*/,
 //setter
 set a(value) {
>a : Symbol(a, Decl(commentsOnObjectLiteral3.ts, 7, 13), Decl(commentsOnObjectLiteral3.ts, 11, 18))
>value : Symbol(value, Decl(commentsOnObjectLiteral3.ts, 13, 7))

  this.prop = value;
>value : Symbol(value, Decl(commentsOnObjectLiteral3.ts, 13, 7))

 } // trailing 2
};