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

Method NewLocation

common/source.go:144–146  ·  view source on GitHub ↗

NewLocation implements the Source interface method.

(line, col int)

Source from the content-addressed store, hash-verified

142
143// NewLocation implements the Source interface method.
144func (s *sourceImpl) NewLocation(line, col int) Location {
145 return NewLocation(line, col)
146}
147
148// OffsetLocation implements the Source interface method.
149func (s *sourceImpl) OffsetLocation(offset int32) (Location, bool) {

Callers

nothing calls this directly

Calls 1

NewLocationFunction · 0.85

Tested by

no test coverage detected