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

Method parseRule

compiler/parser/parser.go:25274–25281  ·  view source on GitHub ↗
(rule *rule)

Source from the content-addressed store, hash-verified

25272}
25273
25274func (p *parser) parseRule(rule *rule) (any, bool) {
25275 p.rstack = append(p.rstack, rule)
25276 p.pushV()
25277 val, ok := p.parseExprWrap(rule.expr)
25278 p.popV()
25279 p.rstack = p.rstack[:len(p.rstack)-1]
25280 return val, ok
25281}
25282
25283func (p *parser) parseExprWrap(expr any) (any, bool) {
25284 var pt savepoint

Callers 4

parseRuleMemoizeMethod · 0.95
parseRuleWrapMethod · 0.95

Calls 3

pushVMethod · 0.95
parseExprWrapMethod · 0.95
popVMethod · 0.95

Tested by

no test coverage detected