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

Method parseAndCodeExpr

compiler/parser/parser.go:25380–25394  ·  view source on GitHub ↗
(and *andCodeExpr)

Source from the content-addressed store, hash-verified

25378}
25379
25380func (p *parser) parseAndCodeExpr(and *andCodeExpr) (any, bool) {
25381 if p.debug {
25382 defer p.out(p.in("parseAndCodeExpr"))
25383 }
25384
25385 state := p.cloneState()
25386
25387 ok, err := and.run(p)
25388 if err != nil {
25389 p.addErr(err)
25390 }
25391 p.restoreState(state)
25392
25393 return nil, ok
25394}
25395
25396func (p *parser) parseAndExpr(and *andExpr) (any, bool) {
25397 if p.debug {

Callers 1

parseExprMethod · 0.95

Calls 6

outMethod · 0.95
inMethod · 0.95
cloneStateMethod · 0.95
addErrMethod · 0.95
restoreStateMethod · 0.95
runMethod · 0.45

Tested by

no test coverage detected