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

Method GetLocation

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

Source from the content-addressed store, hash-verified

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

Callers 1

GetMetadataMethod · 0.95

Calls 1

GetStartLocationMethod · 0.80

Tested by

no test coverage detected