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

Function NewVariable

policy/parser.go:308–310  ·  view source on GitHub ↗

NewVariable creates a variable instance.

(exprID int64)

Source from the content-addressed store, hash-verified

306
307// NewVariable creates a variable instance.
308func NewVariable(exprID int64) *Variable {
309 return &Variable{exprID: exprID}
310}
311
312// Variable is a named expression which may be referenced in subsequent expressions.
313type Variable struct {

Callers 1

NewVariableMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected