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

Method getLocationByOffset

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

Source from the content-addressed store, hash-verified

226}
227
228func (p *parserHelper) getLocationByOffset(offset int32) common.Location {
229 return p.getSourceInfo().GetLocationByOffset(offset)
230}
231
232// buildMacroCallArg iterates the expression and returns a new expression
233// 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