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

Method AddVariables

policy/parser.go:282–284  ·  view source on GitHub ↗

AddVariables adds a list of variables to the rule.

(v []*Variable)

Source from the content-addressed store, hash-verified

280
281// AddVariables adds a list of variables to the rule.
282func (r *Rule) AddVariables(v []*Variable) {
283 r.variables = append(r.variables, v...)
284}
285
286func (r *Rule) getExplanationOutputRule() *Rule {
287 if r == nil {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected