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

Function NewVariable

policy/parser.go:266–268  ·  view source on GitHub ↗

NewVariable creates a variable instance.

(exprID int64)

Source from the content-addressed store, hash-verified

264
265// NewVariable creates a variable instance.
266func NewVariable(exprID int64) *Variable {
267 return &Variable{exprID: exprID}
268}
269
270// Variable is a named expression which may be referenced in subsequent expressions.
271type Variable struct {

Callers 1

NewVariableMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected