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

Method getLocation

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

Source from the content-addressed store, hash-verified

181}
182
183func (p *parserHelper) getLocation(id int64) common.Location {
184 return p.sourceInfo.GetStartLocation(id)
185}
186
187func (p *parserHelper) getLocationByOffset(offset int32) common.Location {
188 return p.getSourceInfo().GetLocationByOffset(offset)

Callers 3

nextMacroIDMethod · 0.80
reportErrorMethod · 0.80
expandMacroMethod · 0.80

Calls 1

GetStartLocationMethod · 0.80

Tested by

no test coverage detected