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

Method OffsetLocation

parser/macro.go:291–291  ·  view source on GitHub ↗

OffsetLocation returns the Location of the expression identifier.

(exprID int64)

Source from the content-addressed store, hash-verified

289
290 // OffsetLocation returns the Location of the expression identifier.
291 OffsetLocation(exprID int64) common.Location
292
293 // NewError associates an error message with a given expression id.
294 NewError(exprID int64, message string) *common.Error

Callers 5

OffsetLocationMethod · 0.65
verifySourceInfoCoverageFunction · 0.65
exprLinesFromPolicyFunction · 0.65
relSourceMethod · 0.65
OffsetLocationMethod · 0.65

Implementers 1

exprHelperparser/helper.go

Calls

no outgoing calls

Tested by 3

verifySourceInfoCoverageFunction · 0.52
exprLinesFromPolicyFunction · 0.52
OffsetLocationMethod · 0.52