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

Method parseNotCodeExpr

compiler/parser/parser.go:25570–25584  ·  view source on GitHub ↗
(not *notCodeExpr)

Source from the content-addressed store, hash-verified

25568}
25569
25570func (p *parser) parseNotCodeExpr(not *notCodeExpr) (any, bool) {
25571 if p.debug {
25572 defer p.out(p.in("parseNotCodeExpr"))
25573 }
25574
25575 state := p.cloneState()
25576
25577 ok, err := not.run(p)
25578 if err != nil {
25579 p.addErr(err)
25580 }
25581 p.restoreState(state)
25582
25583 return nil, !ok
25584}
25585
25586func (p *parser) parseNotExpr(not *notExpr) (any, bool) {
25587 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