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

Method OffsetLocation

common/ast/ast_test.go:463–468  ·  view source on GitHub ↗
(offset int32)

Source from the content-addressed store, hash-verified

461}
462
463func (src *mockSource) OffsetLocation(offset int32) (common.Location, bool) {
464 if offset == 0 {
465 return src.baseLocation, true
466 }
467 return src.Source.OffsetLocation(offset)
468}
469
470func TestSourceInfoRenumberIDs(t *testing.T) {
471 info := ast.NewSourceInfo(nil)

Callers

nothing calls this directly

Calls 1

OffsetLocationMethod · 0.65

Tested by

no test coverage detected