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

Method Discard

compiler/parser/parser.go:25037–25042  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25035}
25036
25037func (sd storeDict) Discard() {
25038 for k := range sd {
25039 delete(sd, k)
25040 }
25041 statePool.Put(sd)
25042}
25043
25044// clone and return parser current state.
25045func (p *parser) cloneState() storeDict {

Callers 3

restoreStateMethod · 0.80
skipMethod · 0.80
skipMethod · 0.80

Calls 1

PutMethod · 0.65

Tested by

no test coverage detected