File: fatarrowfunctionsInFunctions.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 (33 lines) | stat: -rw-r--r-- 1,416 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
=== tests/cases/compiler/fatarrowfunctionsInFunctions.ts ===
declare function setTimeout(expression: any, msec?: number, language?: any): number;
>setTimeout : Symbol(setTimeout, Decl(lib.dom.d.ts, --, --), Decl(fatarrowfunctionsInFunctions.ts, 0, 0))
>expression : Symbol(expression, Decl(fatarrowfunctionsInFunctions.ts, 0, 28))
>msec : Symbol(msec, Decl(fatarrowfunctionsInFunctions.ts, 0, 44))
>language : Symbol(language, Decl(fatarrowfunctionsInFunctions.ts, 0, 59))

var messenger = {
>messenger : Symbol(messenger, Decl(fatarrowfunctionsInFunctions.ts, 2, 3))

    message: "Hello World",
>message : Symbol(message, Decl(fatarrowfunctionsInFunctions.ts, 2, 17))

    start: function() {
>start : Symbol(start, Decl(fatarrowfunctionsInFunctions.ts, 3, 27))

        var _self = this;
>_self : Symbol(_self, Decl(fatarrowfunctionsInFunctions.ts, 5, 11))

        setTimeout(function() {
>setTimeout : Symbol(setTimeout, Decl(lib.dom.d.ts, --, --), Decl(fatarrowfunctionsInFunctions.ts, 0, 0))

            _self.message.toString(); 
>_self : Symbol(_self, Decl(fatarrowfunctionsInFunctions.ts, 5, 11))

        }, 3000); 
    }
}; 
messenger.start(); 
>messenger.start : Symbol(start, Decl(fatarrowfunctionsInFunctions.ts, 3, 27))
>messenger : Symbol(messenger, Decl(fatarrowfunctionsInFunctions.ts, 2, 3))
>start : Symbol(start, Decl(fatarrowfunctionsInFunctions.ts, 3, 27))