File: parametersWithNoAnnotationAreAny.symbols

package info (click to toggle)
node-typescript 4.9.5%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 533,908 kB
  • sloc: javascript: 2,018,330; makefile: 7; sh: 1
file content (81 lines) | stat: -rw-r--r-- 3,056 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
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
=== tests/cases/conformance/types/objectTypeLiteral/callSignatures/parametersWithNoAnnotationAreAny.ts ===
function foo(x) { return x; }
>foo : Symbol(foo, Decl(parametersWithNoAnnotationAreAny.ts, 0, 0))
>x : Symbol(x, Decl(parametersWithNoAnnotationAreAny.ts, 0, 13))
>x : Symbol(x, Decl(parametersWithNoAnnotationAreAny.ts, 0, 13))

var f = function foo(x) { return x; }
>f : Symbol(f, Decl(parametersWithNoAnnotationAreAny.ts, 1, 3))
>foo : Symbol(foo, Decl(parametersWithNoAnnotationAreAny.ts, 1, 7))
>x : Symbol(x, Decl(parametersWithNoAnnotationAreAny.ts, 1, 21))
>x : Symbol(x, Decl(parametersWithNoAnnotationAreAny.ts, 1, 21))

var f2 = (x) => x;
>f2 : Symbol(f2, Decl(parametersWithNoAnnotationAreAny.ts, 2, 3))
>x : Symbol(x, Decl(parametersWithNoAnnotationAreAny.ts, 2, 10))
>x : Symbol(x, Decl(parametersWithNoAnnotationAreAny.ts, 2, 10))

var f3 = <T>(x) => x;
>f3 : Symbol(f3, Decl(parametersWithNoAnnotationAreAny.ts, 3, 3))
>T : Symbol(T, Decl(parametersWithNoAnnotationAreAny.ts, 3, 10))
>x : Symbol(x, Decl(parametersWithNoAnnotationAreAny.ts, 3, 13))
>x : Symbol(x, Decl(parametersWithNoAnnotationAreAny.ts, 3, 13))

class C {
>C : Symbol(C, Decl(parametersWithNoAnnotationAreAny.ts, 3, 21))

    foo(x) {
>foo : Symbol(C.foo, Decl(parametersWithNoAnnotationAreAny.ts, 5, 9))
>x : Symbol(x, Decl(parametersWithNoAnnotationAreAny.ts, 6, 8))

        return x;
>x : Symbol(x, Decl(parametersWithNoAnnotationAreAny.ts, 6, 8))
    }
}

interface I {
>I : Symbol(I, Decl(parametersWithNoAnnotationAreAny.ts, 9, 1))

    foo(x);
>foo : Symbol(I.foo, Decl(parametersWithNoAnnotationAreAny.ts, 11, 13))
>x : Symbol(x, Decl(parametersWithNoAnnotationAreAny.ts, 12, 8))

    foo2(x, y);
>foo2 : Symbol(I.foo2, Decl(parametersWithNoAnnotationAreAny.ts, 12, 11))
>x : Symbol(x, Decl(parametersWithNoAnnotationAreAny.ts, 13, 9))
>y : Symbol(y, Decl(parametersWithNoAnnotationAreAny.ts, 13, 11))
}

var a: {
>a : Symbol(a, Decl(parametersWithNoAnnotationAreAny.ts, 16, 3))

    foo(x);
>foo : Symbol(foo, Decl(parametersWithNoAnnotationAreAny.ts, 16, 8))
>x : Symbol(x, Decl(parametersWithNoAnnotationAreAny.ts, 17, 8))
}

var b = {
>b : Symbol(b, Decl(parametersWithNoAnnotationAreAny.ts, 20, 3))

    foo(x) {
>foo : Symbol(foo, Decl(parametersWithNoAnnotationAreAny.ts, 20, 9))
>x : Symbol(x, Decl(parametersWithNoAnnotationAreAny.ts, 21, 8))

        return x;
>x : Symbol(x, Decl(parametersWithNoAnnotationAreAny.ts, 21, 8))

    },
    a: function foo(x) {
>a : Symbol(a, Decl(parametersWithNoAnnotationAreAny.ts, 23, 6))
>foo : Symbol(foo, Decl(parametersWithNoAnnotationAreAny.ts, 24, 6))
>x : Symbol(x, Decl(parametersWithNoAnnotationAreAny.ts, 24, 20))

        return x;
>x : Symbol(x, Decl(parametersWithNoAnnotationAreAny.ts, 24, 20))

    },
    b: (x) => x
>b : Symbol(b, Decl(parametersWithNoAnnotationAreAny.ts, 26, 6))
>x : Symbol(x, Decl(parametersWithNoAnnotationAreAny.ts, 27, 8))
>x : Symbol(x, Decl(parametersWithNoAnnotationAreAny.ts, 27, 8))
}