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

Method deleteID

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

Source from the content-addressed store, hash-verified

174}
175
176func (p *parserHelper) deleteID(id int64) {
177 p.sourceInfo.ClearOffsetRange(id)
178 if id == p.nextID-1 {
179 p.nextID--
180 }
181}
182
183func (p *parserHelper) getLocation(id int64) common.Location {
184 return p.sourceInfo.GetStartLocation(id)

Callers 1

expandMacroMethod · 0.80

Calls 1

ClearOffsetRangeMethod · 0.80

Tested by

no test coverage detected