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

Method AddVariables

policy/parser.go:241–243  ·  view source on GitHub ↗

AddVariables adds a list of variables to the rule.

(v []*Variable)

Source from the content-addressed store, hash-verified

239
240// AddVariables adds a list of variables to the rule.
241func (r *Rule) AddVariables(v []*Variable) {
242 r.variables = append(r.variables, v...)
243}
244
245func (r *Rule) getExplanationOutputRule() *Rule {
246 if r == nil {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected