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

Method parseAndExpr

compiler/parser/parser.go:25396–25410  ·  view source on GitHub ↗
(and *andExpr)

Source from the content-addressed store, hash-verified

25394}
25395
25396func (p *parser) parseAndExpr(and *andExpr) (any, bool) {
25397 if p.debug {
25398 defer p.out(p.in("parseAndExpr"))
25399 }
25400
25401 pt := p.pt
25402 state := p.cloneState()
25403 p.pushV()
25404 _, ok := p.parseExprWrap(and.expr)
25405 p.popV()
25406 p.restoreState(state)
25407 p.restore(pt)
25408
25409 return nil, ok
25410}
25411
25412func (p *parser) parseAnyMatcher(any *anyMatcher) (any, bool) {
25413 if p.debug {

Callers 1

parseExprMethod · 0.95

Calls 8

outMethod · 0.95
inMethod · 0.95
cloneStateMethod · 0.95
pushVMethod · 0.95
parseExprWrapMethod · 0.95
popVMethod · 0.95
restoreStateMethod · 0.95
restoreMethod · 0.95

Tested by

no test coverage detected