MCPcopy Create free account
hub / github.com/brimdata/super / parseZeroOrOneExpr

Method parseZeroOrOneExpr

compiler/parser/parser.go:25722–25732  ·  view source on GitHub ↗
(expr *zeroOrOneExpr)

Source from the content-addressed store, hash-verified

25720}
25721
25722func (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}

Callers 1

parseExprMethod · 0.95

Calls 5

outMethod · 0.95
inMethod · 0.95
pushVMethod · 0.95
parseExprWrapMethod · 0.95
popVMethod · 0.95

Tested by

no test coverage detected