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

Method SetExpression

policy/parser.go:293–295  ·  view source on GitHub ↗

SetExpression sets the variable expression.

(e ValueString)

Source from the content-addressed store, hash-verified

291
292// SetExpression sets the variable expression.
293func (v *Variable) SetExpression(e ValueString) {
294 v.expression = e
295}
296
297// NewMatch creates a match instance.
298func NewMatch(exprID int64) *Match {

Callers 2

parseVariableInlineMethod · 0.80
parseVariableObjectMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected