(
this: Parser,
refExpressionErrors: ExpressionErrors | null,
)
| 3213 | } |
| 3214 | |
| 3215 | parseVoidPattern( |
| 3216 | this: Parser, |
| 3217 | refExpressionErrors: ExpressionErrors | null, |
| 3218 | ): N.VoidPattern { |
| 3219 | this.expectPlugin("discardBinding"); |
| 3220 | const node = this.startNode<N.VoidPattern>(); |
| 3221 | if (refExpressionErrors != null) { |
| 3222 | refExpressionErrors.voidPatternLoc = this.state.startLoc; |
| 3223 | } |
| 3224 | this.next(); |
| 3225 | return this.finishNode(node, "VoidPattern"); |
| 3226 | } |
| 3227 | |
| 3228 | parseMaybeAssignAllowInOrVoidPattern( |
| 3229 | this: Parser, |
nothing calls this directly
no test coverage detected