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

Method getLocationByOffset

parser/helper.go:187–189  ·  view source on GitHub ↗
(offset int32)

Source from the content-addressed store, hash-verified

185}
186
187func (p *parserHelper) getLocationByOffset(offset int32) common.Location {
188 return p.getSourceInfo().GetLocationByOffset(offset)
189}
190
191// buildMacroCallArg iterates the expression and returns a new expression
192// where all macros have been replaced by their IDs in MacroCalls

Callers 1

SyntaxErrorMethod · 0.80

Calls 2

getSourceInfoMethod · 0.95
GetLocationByOffsetMethod · 0.80

Tested by

no test coverage detected