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

Method SetExpression

policy/parser.go:335–337  ·  view source on GitHub ↗

SetExpression sets the variable expression.

(e ValueString)

Source from the content-addressed store, hash-verified

333
334// SetExpression sets the variable expression.
335func (v *Variable) SetExpression(e ValueString) {
336 v.expression = e
337}
338
339// NewMatch creates a match instance.
340func NewMatch(exprID int64) *Match {

Callers 2

parseVariableInlineMethod · 0.80
parseVariableObjectMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected