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

Method AddVariable

policy/parser.go:236–238  ·  view source on GitHub ↗

AddVariable adds a variable to the rule.

(v *Variable)

Source from the content-addressed store, hash-verified

234
235// AddVariable adds a variable to the rule.
236func (r *Rule) AddVariable(v *Variable) {
237 r.variables = append(r.variables, v)
238}
239
240// AddVariables adds a list of variables to the rule.
241func (r *Rule) AddVariables(v []*Variable) {

Callers 1

parseVariablesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected