TypeScript/tests/baselines/reference/taggedTemplateStringsWithTypedTagsES6.symbols
2015-04-15 16:44:20 -07:00

80 lines
3.8 KiB
Plaintext

=== tests/cases/conformance/es6/templates/taggedTemplateStringsWithTypedTagsES6.ts ===
interface I {
>I : Symbol(I, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 0, 0))
(stringParts: string[], ...rest: number[]): I;
>stringParts : Symbol(stringParts, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 1, 5))
>rest : Symbol(rest, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 1, 27))
>I : Symbol(I, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 0, 0))
g: I;
>g : Symbol(g, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 1, 50))
>I : Symbol(I, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 0, 0))
h: I;
>h : Symbol(h, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 2, 9))
>I : Symbol(I, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 0, 0))
member: I;
>member : Symbol(member, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 3, 9))
>I : Symbol(I, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 0, 0))
thisIsNotATag(x: string): void
>thisIsNotATag : Symbol(thisIsNotATag, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 4, 14))
>x : Symbol(x, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 5, 18))
[x: number]: I;
>x : Symbol(x, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 6, 5))
>I : Symbol(I, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 0, 0))
}
var f: I;
>f : Symbol(f, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 9, 3))
>I : Symbol(I, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 0, 0))
f `abc`
>f : Symbol(f, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 9, 3))
f `abc${1}def${2}ghi`;
>f : Symbol(f, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 9, 3))
f `abc`.member
>f `abc`.member : Symbol(I.member, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 3, 9))
>f : Symbol(f, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 9, 3))
>member : Symbol(I.member, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 3, 9))
f `abc${1}def${2}ghi`.member;
>f `abc${1}def${2}ghi`.member : Symbol(I.member, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 3, 9))
>f : Symbol(f, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 9, 3))
>member : Symbol(I.member, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 3, 9))
f `abc`["member"];
>f : Symbol(f, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 9, 3))
>"member" : Symbol(I.member, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 3, 9))
f `abc${1}def${2}ghi`["member"];
>f : Symbol(f, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 9, 3))
>"member" : Symbol(I.member, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 3, 9))
f `abc`[0].member `abc${1}def${2}ghi`;
>f `abc`[0].member : Symbol(I.member, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 3, 9))
>f : Symbol(f, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 9, 3))
>member : Symbol(I.member, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 3, 9))
f `abc${1}def${2}ghi`["member"].member `abc${1}def${2}ghi`;
>f `abc${1}def${2}ghi`["member"].member : Symbol(I.member, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 3, 9))
>f : Symbol(f, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 9, 3))
>"member" : Symbol(I.member, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 3, 9))
>member : Symbol(I.member, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 3, 9))
f.thisIsNotATag(`abc`);
>f.thisIsNotATag : Symbol(I.thisIsNotATag, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 4, 14))
>f : Symbol(f, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 9, 3))
>thisIsNotATag : Symbol(I.thisIsNotATag, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 4, 14))
f.thisIsNotATag(`abc${1}def${2}ghi`);
>f.thisIsNotATag : Symbol(I.thisIsNotATag, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 4, 14))
>f : Symbol(f, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 9, 3))
>thisIsNotATag : Symbol(I.thisIsNotATag, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 4, 14))