File: emitter.asyncGenerators.functionExpressions.es5.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 (46 lines) | stat: -rw-r--r-- 1,346 bytes parent folder | download | duplicates (5)
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
=== tests/cases/conformance/emitter/es5/asyncGenerators/F1.ts ===
const f1 = async function * () {
>f1 : Symbol(f1, Decl(F1.ts, 0, 5))
}
=== tests/cases/conformance/emitter/es5/asyncGenerators/F2.ts ===
const f2 = async function * () {
>f2 : Symbol(f2, Decl(F2.ts, 0, 5))

    const x = yield;
>x : Symbol(x, Decl(F2.ts, 1, 9))
}
=== tests/cases/conformance/emitter/es5/asyncGenerators/F3.ts ===
const f3 = async function * () {
>f3 : Symbol(f3, Decl(F3.ts, 0, 5))

    const x = yield 1;
>x : Symbol(x, Decl(F3.ts, 1, 9))
}
=== tests/cases/conformance/emitter/es5/asyncGenerators/F4.ts ===
const f4 = async function * () {
>f4 : Symbol(f4, Decl(F4.ts, 0, 5))

    const x = yield* [1];
>x : Symbol(x, Decl(F4.ts, 1, 9))
}
=== tests/cases/conformance/emitter/es5/asyncGenerators/F5.ts ===
const f5 = async function * () {
>f5 : Symbol(f5, Decl(F5.ts, 0, 5))

    const x = yield* (async function*() { yield 1; })();
>x : Symbol(x, Decl(F5.ts, 1, 9))
}
=== tests/cases/conformance/emitter/es5/asyncGenerators/F6.ts ===
const f6 = async function * () {
>f6 : Symbol(f6, Decl(F6.ts, 0, 5))

    const x = await 1;
>x : Symbol(x, Decl(F6.ts, 1, 9))
}
=== tests/cases/conformance/emitter/es5/asyncGenerators/F7.ts ===
const f7 = async function * () {
>f7 : Symbol(f7, Decl(F7.ts, 0, 5))

    return 1;
}