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

Method deleteID

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

Source from the content-addressed store, hash-verified

215}
216
217func (p *parserHelper) deleteID(id int64) {
218 p.sourceInfo.ClearOffsetRange(id)
219 if id == p.nextID-1 {
220 p.nextID--
221 }
222}
223
224func (p *parserHelper) getLocation(id int64) common.Location {
225 return p.sourceInfo.GetStartLocation(id)

Callers 3

expandMacroMethod · 0.80
expandMacroMethod · 0.80
extractStructNameMethod · 0.80

Calls 1

ClearOffsetRangeMethod · 0.80

Tested by

no test coverage detected