mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
51 lines
2.8 KiB
Plaintext
51 lines
2.8 KiB
Plaintext
//// [tests/cases/compiler/declarationEmitDestructuringObjectLiteralPattern2.ts] ////
|
|
|
|
=== declarationEmitDestructuringObjectLiteralPattern2.ts ===
|
|
var { a: x11, b: { a: y11, b: { a: z11 }}} = { a: 1, b: { a: "hello", b: { a: true } } };
|
|
>a : Symbol(a, Decl(declarationEmitDestructuringObjectLiteralPattern2.ts, 0, 46))
|
|
>x11 : Symbol(x11, Decl(declarationEmitDestructuringObjectLiteralPattern2.ts, 0, 5))
|
|
>b : Symbol(b, Decl(declarationEmitDestructuringObjectLiteralPattern2.ts, 0, 52))
|
|
>a : Symbol(a, Decl(declarationEmitDestructuringObjectLiteralPattern2.ts, 0, 57))
|
|
>y11 : Symbol(y11, Decl(declarationEmitDestructuringObjectLiteralPattern2.ts, 0, 18))
|
|
>b : Symbol(b, Decl(declarationEmitDestructuringObjectLiteralPattern2.ts, 0, 69))
|
|
>a : Symbol(a, Decl(declarationEmitDestructuringObjectLiteralPattern2.ts, 0, 74))
|
|
>z11 : Symbol(z11, Decl(declarationEmitDestructuringObjectLiteralPattern2.ts, 0, 31))
|
|
>a : Symbol(a, Decl(declarationEmitDestructuringObjectLiteralPattern2.ts, 0, 46))
|
|
>b : Symbol(b, Decl(declarationEmitDestructuringObjectLiteralPattern2.ts, 0, 52))
|
|
>a : Symbol(a, Decl(declarationEmitDestructuringObjectLiteralPattern2.ts, 0, 57))
|
|
>b : Symbol(b, Decl(declarationEmitDestructuringObjectLiteralPattern2.ts, 0, 69))
|
|
>a : Symbol(a, Decl(declarationEmitDestructuringObjectLiteralPattern2.ts, 0, 74))
|
|
|
|
function f15() {
|
|
>f15 : Symbol(f15, Decl(declarationEmitDestructuringObjectLiteralPattern2.ts, 0, 89))
|
|
|
|
var a4 = "hello";
|
|
>a4 : Symbol(a4, Decl(declarationEmitDestructuringObjectLiteralPattern2.ts, 3, 7))
|
|
|
|
var b4 = 1;
|
|
>b4 : Symbol(b4, Decl(declarationEmitDestructuringObjectLiteralPattern2.ts, 4, 7))
|
|
|
|
var c4 = true;
|
|
>c4 : Symbol(c4, Decl(declarationEmitDestructuringObjectLiteralPattern2.ts, 5, 7))
|
|
|
|
return { a4, b4, c4 };
|
|
>a4 : Symbol(a4, Decl(declarationEmitDestructuringObjectLiteralPattern2.ts, 6, 12))
|
|
>b4 : Symbol(b4, Decl(declarationEmitDestructuringObjectLiteralPattern2.ts, 6, 16))
|
|
>c4 : Symbol(c4, Decl(declarationEmitDestructuringObjectLiteralPattern2.ts, 6, 20))
|
|
}
|
|
var { a4, b4, c4 } = f15();
|
|
>a4 : Symbol(a4, Decl(declarationEmitDestructuringObjectLiteralPattern2.ts, 8, 5))
|
|
>b4 : Symbol(b4, Decl(declarationEmitDestructuringObjectLiteralPattern2.ts, 8, 9))
|
|
>c4 : Symbol(c4, Decl(declarationEmitDestructuringObjectLiteralPattern2.ts, 8, 13))
|
|
>f15 : Symbol(f15, Decl(declarationEmitDestructuringObjectLiteralPattern2.ts, 0, 89))
|
|
|
|
namespace m {
|
|
>m : Symbol(m, Decl(declarationEmitDestructuringObjectLiteralPattern2.ts, 8, 27))
|
|
|
|
export var { a4, b4, c4 } = f15();
|
|
>a4 : Symbol(a4, Decl(declarationEmitDestructuringObjectLiteralPattern2.ts, 11, 16))
|
|
>b4 : Symbol(b4, Decl(declarationEmitDestructuringObjectLiteralPattern2.ts, 11, 20))
|
|
>c4 : Symbol(c4, Decl(declarationEmitDestructuringObjectLiteralPattern2.ts, 11, 24))
|
|
>f15 : Symbol(f15, Decl(declarationEmitDestructuringObjectLiteralPattern2.ts, 0, 89))
|
|
}
|