MCPcopy Create free account
hub / github.com/cel-expr/cel-go / deleteID

Method deleteID

parser/helper.go:180–185  ·  view source on GitHub ↗
(id int64)

Source from the content-addressed store, hash-verified

178}
179
180func (p *parserHelper) deleteID(id int64) {
181 p.sourceInfo.ClearOffsetRange(id)
182 if id == p.nextID-1 {
183 p.nextID--
184 }
185}
186
187func (p *parserHelper) getLocation(id int64) common.Location {
188 return p.sourceInfo.GetStartLocation(id)

Callers 1

expandMacroMethod · 0.80

Calls 1

ClearOffsetRangeMethod · 0.80

Tested by

no test coverage detected