File: exportBinding.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 (35 lines) | stat: -rw-r--r-- 886 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
35
=== tests/cases/conformance/es6/modules/exportConsts.ts ===
export { x }
>x : Symbol(x, Decl(exportConsts.ts, 0, 8))

export { x as xx }
>x : Symbol(x, Decl(exportConsts.ts, 4, 5))
>xx : Symbol(xx, Decl(exportConsts.ts, 1, 8))

export default x;
>x : Symbol(x, Decl(exportConsts.ts, 4, 5))

const x = 'x'
>x : Symbol(x, Decl(exportConsts.ts, 4, 5))

export { Y as Z }
>Y : Symbol(Y, Decl(exportConsts.ts, 6, 17))
>Z : Symbol(Z, Decl(exportConsts.ts, 6, 8))

class Y {}
>Y : Symbol(Y, Decl(exportConsts.ts, 6, 17))

=== tests/cases/conformance/es6/modules/exportVars.ts ===
export { y }
>y : Symbol(y, Decl(exportVars.ts, 0, 8))

export { y as yy }
>y : Symbol(y, Decl(exportVars.ts, 3, 3))
>yy : Symbol(yy, Decl(exportVars.ts, 1, 8))

export default y;
>y : Symbol(y, Decl(exportVars.ts, 3, 3))

var y = 'y'
>y : Symbol(y, Decl(exportVars.ts, 3, 3))