forked from microsoft/TypeScript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
quotedConstructors.symbols
66 lines (55 loc) · 2.12 KB
/
quotedConstructors.symbols
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
=== tests/cases/conformance/classes/constructorDeclarations/quotedConstructors.ts ===
class C {
>C : Symbol(C, Decl(quotedConstructors.ts, 0, 0))
"constructor"() {
console.log(this);
>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --))
>console : Symbol(console, Decl(lib.dom.d.ts, --, --))
>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --))
>this : Symbol(C, Decl(quotedConstructors.ts, 0, 0))
}
}
class D {
>D : Symbol(D, Decl(quotedConstructors.ts, 4, 1))
'constructor'() {
console.log(this);
>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --))
>console : Symbol(console, Decl(lib.dom.d.ts, --, --))
>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --))
>this : Symbol(D, Decl(quotedConstructors.ts, 4, 1))
}
}
class E {
>E : Symbol(E, Decl(quotedConstructors.ts, 10, 1))
['constructor']() {
>['constructor'] : Symbol(E['constructor'], Decl(quotedConstructors.ts, 12, 9))
>'constructor' : Symbol(E['constructor'], Decl(quotedConstructors.ts, 12, 9))
console.log(this);
>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --))
>console : Symbol(console, Decl(lib.dom.d.ts, --, --))
>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --))
>this : Symbol(E, Decl(quotedConstructors.ts, 10, 1))
}
}
new class {
"constructor"() {
console.log(this);
>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --))
>console : Symbol(console, Decl(lib.dom.d.ts, --, --))
>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --))
>this : Symbol((Anonymous class), Decl(quotedConstructors.ts, 18, 3))
}
};
var o = { "constructor"() {} };
>o : Symbol(o, Decl(quotedConstructors.ts, 24, 3))
>"constructor" : Symbol("constructor", Decl(quotedConstructors.ts, 24, 9))
class F {
>F : Symbol(F, Decl(quotedConstructors.ts, 24, 31))
"\x63onstructor"() {
console.log(this);
>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --))
>console : Symbol(console, Decl(lib.dom.d.ts, --, --))
>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --))
>this : Symbol(F, Decl(quotedConstructors.ts, 24, 31))
}
}