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

Method Matches

policy/compiler.go:56–58  ·  view source on GitHub ↗

Matches returns the list of matches associated with the rule.

()

Source from the content-addressed store, hash-verified

54
55// Matches returns the list of matches associated with the rule.
56func (r *CompiledRule) Matches() []*CompiledMatch {
57 return r.matches[:]
58}
59
60// Semantic returns the evaluation semantic for the compiled rule.
61func (r *CompiledRule) Semantic() SemanticType {

Callers 5

OutputTypeMethod · 0.95
HasOptionalOutputMethod · 0.95
compileRuleMethod · 0.45
checkUnreachableCodeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected