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

26 lines
1.1 KiB
Plaintext

=== tests/cases/compiler/detachedCommentAtStartOfLambdaFunction2.ts ===
class TestFile {
>TestFile : Symbol(TestFile, Decl(detachedCommentAtStartOfLambdaFunction2.ts, 0, 0))
name: string;
>name : Symbol(name, Decl(detachedCommentAtStartOfLambdaFunction2.ts, 0, 16))
foo(message: string): () => string {
>foo : Symbol(foo, Decl(detachedCommentAtStartOfLambdaFunction2.ts, 1, 17))
>message : Symbol(message, Decl(detachedCommentAtStartOfLambdaFunction2.ts, 2, 8))
return (...x: string[]) =>
>x : Symbol(x, Decl(detachedCommentAtStartOfLambdaFunction2.ts, 3, 16))
/// <summary>Test summary</summary>
/// <param name="message" type="String" />
/// <returns type="Function" />
message + this.name;
>message : Symbol(message, Decl(detachedCommentAtStartOfLambdaFunction2.ts, 2, 8))
>this.name : Symbol(name, Decl(detachedCommentAtStartOfLambdaFunction2.ts, 0, 16))
>this : Symbol(TestFile, Decl(detachedCommentAtStartOfLambdaFunction2.ts, 0, 0))
>name : Symbol(name, Decl(detachedCommentAtStartOfLambdaFunction2.ts, 0, 16))
}
}