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

Method GetLocation

parser/parser_test.go:2172–2175  ·  view source on GitHub ↗
(exprID int64)

Source from the content-addressed store, hash-verified

2170var _ metadata = &locationAdorner{}
2171
2172func (l *locationAdorner) GetLocation(exprID int64) (common.Location, bool) {
2173 loc := l.sourceInfo.GetStartLocation(exprID)
2174 return loc, loc != common.NoLocation
2175}
2176
2177func (l *locationAdorner) GetMetadata(elem any) string {
2178 var elemID int64

Callers 1

GetMetadataMethod · 0.95

Calls 1

GetStartLocationMethod · 0.80

Tested by

no test coverage detected