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

Method popV

compiler/parser/parser.go:24885–24893  ·  view source on GitHub ↗

pop a variable set from the vstack.

()

Source from the content-addressed store, hash-verified

24883
24884// pop a variable set from the vstack.
24885func (p *parser) popV() {
24886 // if the map is not empty, clear it
24887 m := p.vstack[len(p.vstack)-1]
24888 if len(m) > 0 {
24889 // GC that map
24890 p.vstack[len(p.vstack)-1] = nil
24891 }
24892 p.vstack = p.vstack[:len(p.vstack)-1]
24893}
24894
24895// push a recovery expression with its labels to the recoveryStack
24896func (p *parser) pushRecovery(labels []string, expr any) {

Callers 8

parseRuleMethod · 0.95
parseAndExprMethod · 0.95
parseChoiceExprMethod · 0.95
parseLabeledExprMethod · 0.95
parseNotExprMethod · 0.95
parseOneOrMoreExprMethod · 0.95
parseZeroOrMoreExprMethod · 0.95
parseZeroOrOneExprMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected