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

Method Matches

policy/parser.go:252–254  ·  view source on GitHub ↗

Matches returns the ordered set of Match declarations.

()

Source from the content-addressed store, hash-verified

250
251// Matches returns the ordered set of Match declarations.
252func (r *Rule) Matches() []*Match {
253 return r.matches[:]
254}
255
256// Variables returns the order set of Variable tuples.
257func (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