File: declarationEmitDestructuring3.symbols

package info (click to toggle)
node-typescript 2.1.5-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 203,952 kB
  • ctags: 52,987
  • sloc: sh: 11; makefile: 5
file content (13 lines) | stat: -rw-r--r-- 600 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
=== tests/cases/compiler/declarationEmitDestructuring3.ts ===
function bar([x, z, ...w]) { }
>bar : Symbol(bar, Decl(declarationEmitDestructuring3.ts, 0, 0))
>x : Symbol(x, Decl(declarationEmitDestructuring3.ts, 0, 14))
>z : Symbol(z, Decl(declarationEmitDestructuring3.ts, 0, 16))
>w : Symbol(w, Decl(declarationEmitDestructuring3.ts, 0, 19))

function foo([x, ...y] = [1, "string", true]) { }
>foo : Symbol(foo, Decl(declarationEmitDestructuring3.ts, 0, 30))
>x : Symbol(x, Decl(declarationEmitDestructuring3.ts, 1, 14))
>y : Symbol(y, Decl(declarationEmitDestructuring3.ts, 1, 16))