File: sourceMapValidationFunctions.symbols

package info (click to toggle)
node-typescript 2.1.5-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 203,952 kB
  • ctags: 52,987
  • sloc: sh: 11; makefile: 5
file content (36 lines) | stat: -rw-r--r-- 1,637 bytes parent folder | download | duplicates (7)
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
=== tests/cases/compiler/sourceMapValidationFunctions.ts ===
var greetings = 0;
>greetings : Symbol(greetings, Decl(sourceMapValidationFunctions.ts, 0, 3))

function greet(greeting: string): number {
>greet : Symbol(greet, Decl(sourceMapValidationFunctions.ts, 0, 18))
>greeting : Symbol(greeting, Decl(sourceMapValidationFunctions.ts, 1, 15))

    greetings++;
>greetings : Symbol(greetings, Decl(sourceMapValidationFunctions.ts, 0, 3))

    return greetings;
>greetings : Symbol(greetings, Decl(sourceMapValidationFunctions.ts, 0, 3))
}
function greet2(greeting: string, n = 10, x?: string, ...restParams: string[]): number {
>greet2 : Symbol(greet2, Decl(sourceMapValidationFunctions.ts, 4, 1))
>greeting : Symbol(greeting, Decl(sourceMapValidationFunctions.ts, 5, 16))
>n : Symbol(n, Decl(sourceMapValidationFunctions.ts, 5, 33))
>x : Symbol(x, Decl(sourceMapValidationFunctions.ts, 5, 41))
>restParams : Symbol(restParams, Decl(sourceMapValidationFunctions.ts, 5, 53))

    greetings++;
>greetings : Symbol(greetings, Decl(sourceMapValidationFunctions.ts, 0, 3))

    return greetings;
>greetings : Symbol(greetings, Decl(sourceMapValidationFunctions.ts, 0, 3))
}
function foo(greeting: string, n = 10, x?: string, ...restParams: string[])
>foo : Symbol(foo, Decl(sourceMapValidationFunctions.ts, 8, 1))
>greeting : Symbol(greeting, Decl(sourceMapValidationFunctions.ts, 9, 13))
>n : Symbol(n, Decl(sourceMapValidationFunctions.ts, 9, 30))
>x : Symbol(x, Decl(sourceMapValidationFunctions.ts, 9, 38))
>restParams : Symbol(restParams, Decl(sourceMapValidationFunctions.ts, 9, 50))
{
    return;
}