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

Method AddVariable

policy/parser.go:277–279  ·  view source on GitHub ↗

AddVariable adds a variable to the rule.

(v *Variable)

Source from the content-addressed store, hash-verified

275
276// AddVariable adds a variable to the rule.
277func (r *Rule) AddVariable(v *Variable) {
278 r.variables = append(r.variables, v)
279}
280
281// AddVariables adds a list of variables to the rule.
282func (r *Rule) AddVariables(v []*Variable) {

Callers 1

parseVariablesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected