(expr *zeroOrOneExpr)
| 25720 | } |
| 25721 | |
| 25722 | func (p *parser) parseZeroOrOneExpr(expr *zeroOrOneExpr) (any, bool) { |
| 25723 | if p.debug { |
| 25724 | defer p.out(p.in("parseZeroOrOneExpr")) |
| 25725 | } |
| 25726 | |
| 25727 | p.pushV() |
| 25728 | val, _ := p.parseExprWrap(expr.expr) |
| 25729 | p.popV() |
| 25730 | // whether it matched or not, consider it a match |
| 25731 | return val, true |
| 25732 | } |