(
this: Parser,
node: Undone<N.ExportNamedDeclaration | N.ExportAllDeclaration>,
expect?: boolean,
)
| 2658 | } |
| 2659 | |
| 2660 | parseExportFrom( |
| 2661 | this: Parser, |
| 2662 | node: Undone<N.ExportNamedDeclaration | N.ExportAllDeclaration>, |
| 2663 | expect?: boolean, |
| 2664 | ): void { |
| 2665 | if (this.eatContextual(tt._from)) { |
| 2666 | node.source = this.parseImportSource(); |
| 2667 | this.maybeParseImportAttributes(node); |
| 2668 | } else if (expect) { |
| 2669 | this.unexpected(null, tt._from); |
| 2670 | } |
| 2671 | |
| 2672 | this.semicolon(); |
| 2673 | } |
| 2674 | |
| 2675 | shouldParseExportDeclaration(): boolean { |
| 2676 | const { type } = this.state; |
nothing calls this directly
no test coverage detected