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
|
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/functionDeclarationIsOk.ts ===
async function * f1() {
>f1 : Symbol(f1, Decl(functionDeclarationIsOk.ts, 0, 0))
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/awaitNameIsOk.ts ===
async function * await() {
>await : Symbol(await, Decl(awaitNameIsOk.ts, 0, 0), Decl(awaitAsTypeIsOk.ts, 0, 0))
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/yieldNameIsOk.ts ===
async function * yield() {
>yield : Symbol(yield, Decl(yieldNameIsOk.ts, 0, 0), Decl(yieldAsTypeIsOk.ts, 0, 0))
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/awaitParameterIsError.ts ===
async function * f4(await) {
>f4 : Symbol(f4, Decl(awaitParameterIsError.ts, 0, 0))
>await : Symbol(await, Decl(awaitNameIsOk.ts, 0, 0), Decl(awaitAsTypeIsOk.ts, 0, 0))
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/yieldParameterIsError.ts ===
async function * f5(yield) {
>f5 : Symbol(f5, Decl(yieldParameterIsError.ts, 0, 0))
>yield : Symbol(yield, Decl(yieldNameIsOk.ts, 0, 0), Decl(yieldAsTypeIsOk.ts, 0, 0))
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/awaitInParameterInitializerIsError.ts ===
async function * f6(a = await 1) {
>f6 : Symbol(f6, Decl(awaitInParameterInitializerIsError.ts, 0, 0))
>a : Symbol(a, Decl(awaitInParameterInitializerIsError.ts, 0, 20))
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/yieldInParameterInitializerIsError.ts ===
async function * f7(a = yield) {
>f7 : Symbol(f7, Decl(yieldInParameterInitializerIsError.ts, 0, 0))
>a : Symbol(a, Decl(yieldInParameterInitializerIsError.ts, 0, 20))
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/nestedAsyncGeneratorIsOk.ts ===
async function * f8() {
>f8 : Symbol(f8, Decl(nestedAsyncGeneratorIsOk.ts, 0, 0))
async function * g() {
>g : Symbol(g, Decl(nestedAsyncGeneratorIsOk.ts, 0, 23))
}
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/nestedFunctionDeclarationNamedYieldIsError.ts ===
async function * f9() {
>f9 : Symbol(f9, Decl(nestedFunctionDeclarationNamedYieldIsError.ts, 0, 0))
function yield() {
> : Symbol((Missing), Decl(nestedFunctionDeclarationNamedYieldIsError.ts, 0, 23))
}
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/nestedFunctionExpressionNamedYieldIsError.ts ===
async function * f10() {
>f10 : Symbol(f10, Decl(nestedFunctionExpressionNamedYieldIsError.ts, 0, 0))
const x = function yield() {
>x : Symbol(x, Decl(nestedFunctionExpressionNamedYieldIsError.ts, 1, 9))
};
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/nestedFunctionDeclarationNamedAwaitIsError.ts ===
async function * f11() {
>f11 : Symbol(f11, Decl(nestedFunctionDeclarationNamedAwaitIsError.ts, 0, 0))
function await() {
> : Symbol((Missing), Decl(nestedFunctionDeclarationNamedAwaitIsError.ts, 0, 24))
}
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/nestedFunctionExpressionNamedAwaitIsError.ts ===
async function * f12() {
>f12 : Symbol(f12, Decl(nestedFunctionExpressionNamedAwaitIsError.ts, 0, 0))
const x = function yield() {
>x : Symbol(x, Decl(nestedFunctionExpressionNamedAwaitIsError.ts, 1, 9))
};
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/yieldIsOk.ts ===
async function * f13() {
>f13 : Symbol(f13, Decl(yieldIsOk.ts, 0, 0))
yield;
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/yieldWithValueIsOk.ts ===
async function * f14() {
>f14 : Symbol(f14, Decl(yieldWithValueIsOk.ts, 0, 0))
yield 1;
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/yieldStarMissingValueIsError.ts ===
async function * f15() {
>f15 : Symbol(f15, Decl(yieldStarMissingValueIsError.ts, 0, 0))
yield *;
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/yieldStarWithValueIsOk.ts ===
async function * f16() {
>f16 : Symbol(f16, Decl(yieldStarWithValueIsOk.ts, 0, 0))
yield * [];
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/awaitWithValueIsOk.ts ===
async function * f17() {
>f17 : Symbol(f17, Decl(awaitWithValueIsOk.ts, 0, 0))
await 1;
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/awaitMissingValueIsError.ts ===
async function * f18() {
>f18 : Symbol(f18, Decl(awaitMissingValueIsError.ts, 0, 0))
await;
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/awaitAsTypeIsOk.ts ===
interface await {}
>await : Symbol(await, Decl(awaitNameIsOk.ts, 0, 0), Decl(awaitAsTypeIsOk.ts, 0, 0))
async function * f19() {
>f19 : Symbol(f19, Decl(awaitAsTypeIsOk.ts, 0, 18))
let x: await;
>x : Symbol(x, Decl(awaitAsTypeIsOk.ts, 2, 7))
>await : Symbol(await, Decl(awaitNameIsOk.ts, 0, 0), Decl(awaitAsTypeIsOk.ts, 0, 0))
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/yieldAsTypeIsOk.ts ===
interface yield {}
>yield : Symbol(yield, Decl(yieldNameIsOk.ts, 0, 0), Decl(yieldAsTypeIsOk.ts, 0, 0))
async function * f20() {
>f20 : Symbol(f20, Decl(yieldAsTypeIsOk.ts, 0, 18))
let x: yield;
>x : Symbol(x, Decl(yieldAsTypeIsOk.ts, 2, 7))
>yield : Symbol(yield, Decl(yieldNameIsOk.ts, 0, 0), Decl(yieldAsTypeIsOk.ts, 0, 0))
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/yieldInNestedComputedPropertyIsOk.ts ===
async function * f21() {
>f21 : Symbol(f21, Decl(yieldInNestedComputedPropertyIsOk.ts, 0, 0))
const x = { [yield]: 1 };
>x : Symbol(x, Decl(yieldInNestedComputedPropertyIsOk.ts, 1, 9))
>[yield] : Symbol([yield], Decl(yieldInNestedComputedPropertyIsOk.ts, 1, 15))
}
|