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 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259
|
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/methodIsOk.ts ===
class C1 {
>C1 : Symbol(C1, Decl(methodIsOk.ts, 0, 0))
async * f() {
>f : Symbol(C1.f, Decl(methodIsOk.ts, 0, 10))
}
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/awaitMethodNameIsOk.ts ===
class C2 {
>C2 : Symbol(C2, Decl(awaitMethodNameIsOk.ts, 0, 0))
async * await() {
>await : Symbol(C2.await, Decl(awaitMethodNameIsOk.ts, 0, 10))
}
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/yieldMethodNameIsOk.ts ===
class C3 {
>C3 : Symbol(C3, Decl(yieldMethodNameIsOk.ts, 0, 0))
async * yield() {
>yield : Symbol(C3.yield, Decl(yieldMethodNameIsOk.ts, 0, 10))
}
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/awaitParameterIsError.ts ===
class C4 {
>C4 : Symbol(C4, Decl(awaitParameterIsError.ts, 0, 0))
async * f(await) {
>f : Symbol(C4.f, Decl(awaitParameterIsError.ts, 0, 10))
}
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/yieldParameterIsError.ts ===
class C5 {
>C5 : Symbol(C5, Decl(yieldParameterIsError.ts, 0, 0))
async * f(yield) {
>f : Symbol(C5.f, Decl(yieldParameterIsError.ts, 0, 10))
}
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/awaitInParameterInitializerIsError.ts ===
class C6 {
>C6 : Symbol(C6, Decl(awaitInParameterInitializerIsError.ts, 0, 0))
async * f(a = await 1) {
>f : Symbol(C6.f, Decl(awaitInParameterInitializerIsError.ts, 0, 10))
>a : Symbol(a, Decl(awaitInParameterInitializerIsError.ts, 1, 14))
}
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/yieldInParameterInitializerIsError.ts ===
class C7 {
>C7 : Symbol(C7, Decl(yieldInParameterInitializerIsError.ts, 0, 0))
async * f(a = yield) {
>f : Symbol(C7.f, Decl(yieldInParameterInitializerIsError.ts, 0, 10))
>a : Symbol(a, Decl(yieldInParameterInitializerIsError.ts, 1, 14))
}
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/nestedAsyncGeneratorIsOk.ts ===
class C8 {
>C8 : Symbol(C8, Decl(nestedAsyncGeneratorIsOk.ts, 0, 0))
async * f() {
>f : Symbol(C8.f, Decl(nestedAsyncGeneratorIsOk.ts, 0, 10))
async function * g() {
>g : Symbol(g, Decl(nestedAsyncGeneratorIsOk.ts, 1, 17))
}
}
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/nestedFunctionDeclarationNamedYieldIsError.ts ===
class C9 {
>C9 : Symbol(C9, Decl(nestedFunctionDeclarationNamedYieldIsError.ts, 0, 0))
async * f() {
>f : Symbol(C9.f, Decl(nestedFunctionDeclarationNamedYieldIsError.ts, 0, 10))
function yield() {
> : Symbol((Missing), Decl(nestedFunctionDeclarationNamedYieldIsError.ts, 1, 17))
}
}
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/nestedFunctionExpressionNamedYieldIsError.ts ===
class C10 {
>C10 : Symbol(C10, Decl(nestedFunctionExpressionNamedYieldIsError.ts, 0, 0))
async * f() {
>f : Symbol(C10.f, Decl(nestedFunctionExpressionNamedYieldIsError.ts, 0, 11))
const x = function yield() {
>x : Symbol(x, Decl(nestedFunctionExpressionNamedYieldIsError.ts, 2, 13))
};
}
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/nestedFunctionDeclarationNamedAwaitIsError.ts ===
class C11 {
>C11 : Symbol(C11, Decl(nestedFunctionDeclarationNamedAwaitIsError.ts, 0, 0))
async * f() {
>f : Symbol(C11.f, Decl(nestedFunctionDeclarationNamedAwaitIsError.ts, 0, 11))
function await() {
> : Symbol((Missing), Decl(nestedFunctionDeclarationNamedAwaitIsError.ts, 1, 17))
}
}
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/nestedFunctionExpressionNamedAwaitIsError.ts ===
class C12 {
>C12 : Symbol(C12, Decl(nestedFunctionExpressionNamedAwaitIsError.ts, 0, 0))
async * f() {
>f : Symbol(C12.f, Decl(nestedFunctionExpressionNamedAwaitIsError.ts, 0, 11))
const x = function await() {
>x : Symbol(x, Decl(nestedFunctionExpressionNamedAwaitIsError.ts, 2, 13))
};
}
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/yieldIsOk.ts ===
class C13 {
>C13 : Symbol(C13, Decl(yieldIsOk.ts, 0, 0))
async * f() {
>f : Symbol(C13.f, Decl(yieldIsOk.ts, 0, 11))
yield;
}
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/yieldWithValueIsOk.ts ===
class C14 {
>C14 : Symbol(C14, Decl(yieldWithValueIsOk.ts, 0, 0))
async * f() {
>f : Symbol(C14.f, Decl(yieldWithValueIsOk.ts, 0, 11))
yield 1;
}
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/yieldStarMissingValueIsError.ts ===
class C15 {
>C15 : Symbol(C15, Decl(yieldStarMissingValueIsError.ts, 0, 0))
async * f() {
>f : Symbol(C15.f, Decl(yieldStarMissingValueIsError.ts, 0, 11))
yield *;
}
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/yieldStarWithValueIsOk.ts ===
class C16 {
>C16 : Symbol(C16, Decl(yieldStarWithValueIsOk.ts, 0, 0))
async * f() {
>f : Symbol(C16.f, Decl(yieldStarWithValueIsOk.ts, 0, 11))
yield * [];
}
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/awaitWithValueIsOk.ts ===
class C17 {
>C17 : Symbol(C17, Decl(awaitWithValueIsOk.ts, 0, 0))
async * f() {
>f : Symbol(C17.f, Decl(awaitWithValueIsOk.ts, 0, 11))
await 1;
}
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/awaitMissingValueIsError.ts ===
class C18 {
>C18 : Symbol(C18, Decl(awaitMissingValueIsError.ts, 0, 0))
async * f() {
>f : Symbol(C18.f, Decl(awaitMissingValueIsError.ts, 0, 11))
await;
}
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/awaitAsTypeIsOk.ts ===
interface await {}
>await : Symbol(await, Decl(awaitAsTypeIsOk.ts, 0, 0))
class C19 {
>C19 : Symbol(C19, Decl(awaitAsTypeIsOk.ts, 0, 18))
async * f() {
>f : Symbol(C19.f, Decl(awaitAsTypeIsOk.ts, 1, 11))
let x: await;
>x : Symbol(x, Decl(awaitAsTypeIsOk.ts, 3, 11))
>await : Symbol(await, Decl(awaitAsTypeIsOk.ts, 0, 0))
}
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/yieldAsTypeIsStrictError.ts ===
interface yield {}
>yield : Symbol(yield, Decl(yieldAsTypeIsStrictError.ts, 0, 0))
class C20 {
>C20 : Symbol(C20, Decl(yieldAsTypeIsStrictError.ts, 0, 18))
async * f() {
>f : Symbol(C20.f, Decl(yieldAsTypeIsStrictError.ts, 1, 11))
let x: yield;
>x : Symbol(x, Decl(yieldAsTypeIsStrictError.ts, 3, 11))
>yield : Symbol(yield, Decl(yieldAsTypeIsStrictError.ts, 0, 0))
}
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/yieldInClassComputedPropertyIsError.ts ===
class C21 {
>C21 : Symbol(C21, Decl(yieldInClassComputedPropertyIsError.ts, 0, 0))
async * [yield]() {
>[yield] : Symbol(C21[yield], Decl(yieldInClassComputedPropertyIsError.ts, 0, 11))
}
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/yieldInNestedComputedPropertyIsOk.ts ===
class C22 {
>C22 : Symbol(C22, Decl(yieldInNestedComputedPropertyIsOk.ts, 0, 0))
async * f() {
>f : Symbol(C22.f, Decl(yieldInNestedComputedPropertyIsOk.ts, 0, 11))
const x = { [yield]: 1 };
>x : Symbol(x, Decl(yieldInNestedComputedPropertyIsOk.ts, 2, 13))
>[yield] : Symbol([yield], Decl(yieldInNestedComputedPropertyIsOk.ts, 2, 19))
}
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/asyncGeneratorGetAccessorIsError.ts ===
class C23 {
>C23 : Symbol(C23, Decl(asyncGeneratorGetAccessorIsError.ts, 0, 0))
async * get x() {
>get : Symbol(C23.get, Decl(asyncGeneratorGetAccessorIsError.ts, 0, 11))
>x : Symbol(C23.x, Decl(asyncGeneratorGetAccessorIsError.ts, 1, 15))
return 1;
}
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/asyncGeneratorSetAccessorIsError.ts ===
class C24 {
>C24 : Symbol(C24, Decl(asyncGeneratorSetAccessorIsError.ts, 0, 0))
async * set x(value: number) {
>set : Symbol(C24.set, Decl(asyncGeneratorSetAccessorIsError.ts, 0, 11))
>x : Symbol(C24.x, Decl(asyncGeneratorSetAccessorIsError.ts, 1, 15))
>value : Symbol(value, Decl(asyncGeneratorSetAccessorIsError.ts, 1, 18))
}
}
=== tests/cases/conformance/parser/ecmascriptnext/asyncGenerators/asyncGeneratorPropertyIsError.ts ===
class C25 {
>C25 : Symbol(C25, Decl(asyncGeneratorPropertyIsError.ts, 0, 0))
async * x = 1;
>x : Symbol(C25.x, Decl(asyncGeneratorPropertyIsError.ts, 0, 11))
>1 : Symbol(C25[1], Decl(asyncGeneratorPropertyIsError.ts, 1, 15))
}
|