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

Method Content

parser/parser_test.go:2420–2422  ·  view source on GitHub ↗

Content returns the embedded source snippet.

()

Source from the content-addressed store, hash-verified

2418
2419// Content returns the embedded source snippet.
2420func (rel *RelativeSource) Content() string {
2421 return rel.localSrc.Content()
2422}
2423
2424// OffsetLocation returns the absolute location given the relative offset, if found.
2425func (rel *RelativeSource) OffsetLocation(offset int32) (common.Location, bool) {

Callers

nothing calls this directly

Calls 1

ContentMethod · 0.65

Tested by

no test coverage detected