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

Method Matches

policy/parser.go:211–213  ·  view source on GitHub ↗

Matches returns the ordered set of Match declarations.

()

Source from the content-addressed store, hash-verified

209
210// Matches returns the ordered set of Match declarations.
211func (r *Rule) Matches() []*Match {
212 return r.matches[:]
213}
214
215// Variables returns the order set of Variable tuples.
216func (r *Rule) Variables() []*Variable {

Callers 4

exprLinesFromPolicyFunction · 0.45
recoverOriginalSourceFunction · 0.45
optimizeRuleMethod · 0.45

Calls

no outgoing calls

Tested by 2

exprLinesFromPolicyFunction · 0.36