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

Method Line

common/location.go:19–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17// Location interface to represent a location within Source.
18type Location interface {
19 Line() int // 1-based line number within source.
20 Column() int // 0-based column number within source.
21}
22

Callers 10

verifySourceInfoCoverageFunction · 0.65
exprLinesFromPolicyFunction · 0.65
relSourceMethod · 0.65
idMethod · 0.65
GetMetadataMethod · 0.65
LocationOffsetMethod · 0.65
ToDisplayStringMethod · 0.65
ToDisplayStringMethod · 0.65
NewSourceInfoFunction · 0.65

Implementers 1

SourceLocationcommon/location.go

Calls

no outgoing calls

Tested by 4

verifySourceInfoCoverageFunction · 0.52
exprLinesFromPolicyFunction · 0.52
GetMetadataMethod · 0.52