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

Method Matches

policy/compiler.go:55–57  ·  view source on GitHub ↗

Matches returns the list of matches associated with the rule.

()

Source from the content-addressed store, hash-verified

53
54// Matches returns the list of matches associated with the rule.
55func (r *CompiledRule) Matches() []*CompiledMatch {
56 return r.matches[:]
57}
58
59// OutputType returns the output type of the first match clause as all match clauses
60// are validated for agreement prior to construction fo the CompiledRule.

Callers 5

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

Calls

no outgoing calls

Tested by

no test coverage detected