mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
43 lines
1.6 KiB
Plaintext
43 lines
1.6 KiB
Plaintext
//// [tests/cases/conformance/es6/classDeclaration/emitClassDeclarationWithLiteralPropertyNameInES6.ts] ////
|
|
|
|
=== emitClassDeclarationWithLiteralPropertyNameInES6.ts ===
|
|
class B {
|
|
>B : Symbol(B, Decl(emitClassDeclarationWithLiteralPropertyNameInES6.ts, 0, 0))
|
|
|
|
"hello" = 10;
|
|
>"hello" : Symbol(B["hello"], Decl(emitClassDeclarationWithLiteralPropertyNameInES6.ts, 0, 9))
|
|
|
|
0b110 = "world";
|
|
>0b110 : Symbol(B[0b110], Decl(emitClassDeclarationWithLiteralPropertyNameInES6.ts, 1, 17))
|
|
|
|
0o23534 = "WORLD";
|
|
>0o23534 : Symbol(B[0o23534], Decl(emitClassDeclarationWithLiteralPropertyNameInES6.ts, 2, 20))
|
|
|
|
20 = "twenty";
|
|
>20 : Symbol(B[20], Decl(emitClassDeclarationWithLiteralPropertyNameInES6.ts, 3, 22))
|
|
|
|
"foo"() { }
|
|
>"foo" : Symbol(B["foo"], Decl(emitClassDeclarationWithLiteralPropertyNameInES6.ts, 4, 18))
|
|
|
|
0b1110() {}
|
|
>0b1110 : Symbol(B[0b1110], Decl(emitClassDeclarationWithLiteralPropertyNameInES6.ts, 5, 15))
|
|
|
|
11() { }
|
|
>11 : Symbol(B[11], Decl(emitClassDeclarationWithLiteralPropertyNameInES6.ts, 6, 15))
|
|
|
|
interface() { }
|
|
>interface : Symbol(B.interface, Decl(emitClassDeclarationWithLiteralPropertyNameInES6.ts, 7, 12))
|
|
|
|
static "hi" = 10000;
|
|
>"hi" : Symbol(B["hi"], Decl(emitClassDeclarationWithLiteralPropertyNameInES6.ts, 8, 19))
|
|
|
|
static 22 = "twenty-two";
|
|
>22 : Symbol(B[22], Decl(emitClassDeclarationWithLiteralPropertyNameInES6.ts, 9, 24))
|
|
|
|
static 0b101 = "binary";
|
|
>0b101 : Symbol(B[0b101], Decl(emitClassDeclarationWithLiteralPropertyNameInES6.ts, 10, 29))
|
|
|
|
static 0o3235 = "octal";
|
|
>0o3235 : Symbol(B[0o3235], Decl(emitClassDeclarationWithLiteralPropertyNameInES6.ts, 11, 28))
|
|
}
|