File: emitDefaultParametersFunctionPropertyES6.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 (26 lines) | stat: -rw-r--r-- 1,456 bytes parent folder | download | duplicates (7)
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
=== tests/cases/conformance/es6/defaultParameters/emitDefaultParametersFunctionPropertyES6.ts ===
var obj2 = {
>obj2 : Symbol(obj2, Decl(emitDefaultParametersFunctionPropertyES6.ts, 0, 3))

    func1(y = 10, ...rest) { },
>func1 : Symbol(func1, Decl(emitDefaultParametersFunctionPropertyES6.ts, 0, 12))
>y : Symbol(y, Decl(emitDefaultParametersFunctionPropertyES6.ts, 1, 10))
>rest : Symbol(rest, Decl(emitDefaultParametersFunctionPropertyES6.ts, 1, 17))

    func2(x = "hello") { },
>func2 : Symbol(func2, Decl(emitDefaultParametersFunctionPropertyES6.ts, 1, 31))
>x : Symbol(x, Decl(emitDefaultParametersFunctionPropertyES6.ts, 2, 10))

    func3(x: string, z: number, y = "hello") { },
>func3 : Symbol(func3, Decl(emitDefaultParametersFunctionPropertyES6.ts, 2, 27))
>x : Symbol(x, Decl(emitDefaultParametersFunctionPropertyES6.ts, 3, 10))
>z : Symbol(z, Decl(emitDefaultParametersFunctionPropertyES6.ts, 3, 20))
>y : Symbol(y, Decl(emitDefaultParametersFunctionPropertyES6.ts, 3, 31))

    func4(x: string, z: number, y = "hello", ...rest) { },
>func4 : Symbol(func4, Decl(emitDefaultParametersFunctionPropertyES6.ts, 3, 49))
>x : Symbol(x, Decl(emitDefaultParametersFunctionPropertyES6.ts, 4, 10))
>z : Symbol(z, Decl(emitDefaultParametersFunctionPropertyES6.ts, 4, 20))
>y : Symbol(y, Decl(emitDefaultParametersFunctionPropertyES6.ts, 4, 31))
>rest : Symbol(rest, Decl(emitDefaultParametersFunctionPropertyES6.ts, 4, 44))
}