(
this: Parser,
refExpressionErrors: ExpressionErrors | null,
)
| 3221 | } |
| 3222 | |
| 3223 | parseVoidPattern( |
| 3224 | this: Parser, |
| 3225 | refExpressionErrors: ExpressionErrors | null, |
| 3226 | ): N.VoidPattern { |
| 3227 | this.expectPlugin("discardBinding"); |
| 3228 | const node = this.startNode<N.VoidPattern>(); |
| 3229 | if (refExpressionErrors != null) { |
| 3230 | refExpressionErrors.voidPatternLoc = this.state.startLoc; |
| 3231 | } |
| 3232 | this.next(); |
| 3233 | return this.finishNode(node, "VoidPattern"); |
| 3234 | } |
| 3235 | |
| 3236 | parseMaybeAssignAllowInOrVoidPattern( |
| 3237 | this: Parser, |
nothing calls this directly
no test coverage detected