File: parser.asyncGenerators.functionExpressions.esnext.symbols

package info (click to toggle)
node-typescript 3.3.3333-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 324,548 kB
  • sloc: makefile: 6; sh: 3
file content (154 lines) | stat: -rw-r--r-- 6,158 bytes parent folder | download
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/functionExpressionIsOk.ts ===
const f1 = async function * f() {
>f1 : Symbol(f1, Decl(functionExpressionIsOk.ts, 0, 5))
>f : Symbol(f, Decl(functionExpressionIsOk.ts, 0, 10))

};
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/awaitNameIsError.ts ===
const f2 = async function * await() {
>f2 : Symbol(f2, Decl(awaitNameIsError.ts, 0, 5))
>await : Symbol(await, Decl(awaitNameIsError.ts, 0, 27), Decl(awaitAsTypeIsOk.ts, 0, 0))

};
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/yieldNameIsError.ts ===
const f3 = async function * yield() {
>f3 : Symbol(f3, Decl(yieldNameIsError.ts, 0, 5))
>yield : Symbol(yield, Decl(yieldNameIsError.ts, 0, 27), Decl(yieldAsTypeIsOk.ts, 0, 0))

};
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/awaitParameterIsError.ts ===
const f4 = async function * (await) {
>f4 : Symbol(f4, Decl(awaitParameterIsError.ts, 0, 5))
>await : Symbol(await, Decl(awaitParameterIsError.ts, 0, 29))

};
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/yieldParameterIsError.ts ===
const f5 = async function * (yield) {
>f5 : Symbol(f5, Decl(yieldParameterIsError.ts, 0, 5))
>yield : Symbol(yield, Decl(yieldParameterIsError.ts, 0, 29))

};
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/awaitInParameterInitializerIsError.ts ===
const f6 = async function * (a = await 1) {
>f6 : Symbol(f6, Decl(awaitInParameterInitializerIsError.ts, 0, 5))
>a : Symbol(a, Decl(awaitInParameterInitializerIsError.ts, 0, 29))

};
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/yieldInParameterInitializerIsError.ts ===
const f7 = async function * (a = yield) {
>f7 : Symbol(f7, Decl(yieldInParameterInitializerIsError.ts, 0, 5))
>a : Symbol(a, Decl(yieldInParameterInitializerIsError.ts, 0, 29))

};
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/nestedAsyncGeneratorIsOk.ts ===
const f8 = async function * () {
>f8 : Symbol(f8, Decl(nestedAsyncGeneratorIsOk.ts, 0, 5))

    async function * g() {
>g : Symbol(g, Decl(nestedAsyncGeneratorIsOk.ts, 0, 32))
    }
};
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/nestedFunctionDeclarationNamedYieldIsError.ts ===
const f9 = async function * () {
>f9 : Symbol(f9, Decl(nestedFunctionDeclarationNamedYieldIsError.ts, 0, 5))

    function yield() {
> : Symbol((Missing), Decl(nestedFunctionDeclarationNamedYieldIsError.ts, 0, 32))
    }
};
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/nestedFunctionExpressionNamedYieldIsError.ts ===
const f10 = async function * () {
>f10 : Symbol(f10, Decl(nestedFunctionExpressionNamedYieldIsError.ts, 0, 5))

    const x = function yield() {
>x : Symbol(x, Decl(nestedFunctionExpressionNamedYieldIsError.ts, 1, 9))

    };
};
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/nestedFunctionDeclarationNamedAwaitIsError.ts ===
const f11 = async function * () {
>f11 : Symbol(f11, Decl(nestedFunctionDeclarationNamedAwaitIsError.ts, 0, 5))

    function await() {
> : Symbol((Missing), Decl(nestedFunctionDeclarationNamedAwaitIsError.ts, 0, 33))
    }
};
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/nestedFunctionExpressionNamedAwaitIsError.ts ===
const f12 = async function * () {
>f12 : Symbol(f12, Decl(nestedFunctionExpressionNamedAwaitIsError.ts, 0, 5))

    const x = function await() {
>x : Symbol(x, Decl(nestedFunctionExpressionNamedAwaitIsError.ts, 1, 9))

    };
};
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/yieldIsOk.ts ===
const f13 = async function * () {
>f13 : Symbol(f13, Decl(yieldIsOk.ts, 0, 5))

    yield;
};
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/yieldWithValueIsOk.ts ===
const f14 = async function * () {
>f14 : Symbol(f14, Decl(yieldWithValueIsOk.ts, 0, 5))

    yield 1;
};
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/yieldStarMissingValueIsError.ts ===
const f15 = async function * () {
>f15 : Symbol(f15, Decl(yieldStarMissingValueIsError.ts, 0, 5))

    yield *;
};
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/yieldStarWithValueIsOk.ts ===
const f16 = async function * () {
>f16 : Symbol(f16, Decl(yieldStarWithValueIsOk.ts, 0, 5))

    yield * [];
};
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/awaitWithValueIsOk.ts ===
const f17 = async function * () {
>f17 : Symbol(f17, Decl(awaitWithValueIsOk.ts, 0, 5))

    await 1;
};
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/awaitMissingValueIsError.ts ===
const f18 = async function * () {
>f18 : Symbol(f18, Decl(awaitMissingValueIsError.ts, 0, 5))

    await;
};
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/awaitAsTypeIsOk.ts ===
interface await {}
>await : Symbol(await, Decl(awaitNameIsError.ts, 0, 27), Decl(awaitAsTypeIsOk.ts, 0, 0))

const f19 = async function * () {
>f19 : Symbol(f19, Decl(awaitAsTypeIsOk.ts, 1, 5))

    let x: await;
>x : Symbol(x, Decl(awaitAsTypeIsOk.ts, 2, 7))
>await : Symbol(await, Decl(awaitNameIsError.ts, 0, 27), Decl(awaitAsTypeIsOk.ts, 0, 0))

};
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/yieldAsTypeIsOk.ts ===
interface yield {}
>yield : Symbol(yield, Decl(yieldNameIsError.ts, 0, 27), Decl(yieldAsTypeIsOk.ts, 0, 0))

const f20 = async function * () {
>f20 : Symbol(f20, Decl(yieldAsTypeIsOk.ts, 1, 5))

    let x: yield;
>x : Symbol(x, Decl(yieldAsTypeIsOk.ts, 2, 7))
>yield : Symbol(yield, Decl(yieldNameIsError.ts, 0, 27), Decl(yieldAsTypeIsOk.ts, 0, 0))

};
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/yieldInNestedComputedPropertyIsOk.ts ===
const f21 = async function *() {
>f21 : Symbol(f21, Decl(yieldInNestedComputedPropertyIsOk.ts, 0, 5))

    const x = { [yield]: 1 };
>x : Symbol(x, Decl(yieldInNestedComputedPropertyIsOk.ts, 1, 9))
>[yield] : Symbol([yield], Decl(yieldInNestedComputedPropertyIsOk.ts, 1, 15))

};