(
this: Parser,
flags: ParseStatementFlag,
)
| 386 | // ImportDeclaration and ExportDeclaration are also handled here so we can throw recoverable errors |
| 387 | // when they are not at the top level |
| 388 | parseStatementLike( |
| 389 | this: Parser, |
| 390 | flags: ParseStatementFlag, |
| 391 | ): |
| 392 | | N.Statement |
| 393 | | N.Declaration |
| 394 | | N.ImportDeclaration |
| 395 | | N.ExportDefaultDeclaration |
| 396 | | N.ExportNamedDeclaration |
| 397 | | N.ExportAllDeclaration { |
| 398 | let decorators: N.Decorator[] | null = null; |
| 399 | |
| 400 | if (this.match(tt.at)) { |
| 401 | decorators = this.parseDecorators(true); |
| 402 | } |
| 403 | return this.parseStatementContent(flags, decorators); |
| 404 | } |
| 405 | |
| 406 | parseStatementContent( |
| 407 | this: Parser, |
nothing calls this directly
no test coverage detected