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

Method NewVariable

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

NewVariable creates a new Variable instance with an ID associated with the YAML node.

(*yaml.Node)

Source from the content-addressed store, hash-verified

441
442 // NewVariable creates a new Variable instance with an ID associated with the YAML node.
443 NewVariable(*yaml.Node) (*Variable, int64)
444
445 // NewMatch creates a new Match instance with an ID associated with the YAML node.
446 NewMatch(*yaml.Node) (*Match, int64)

Callers 1

ParseVariableMethod · 0.65

Implementers 1

parserImplpolicy/parser.go

Calls

no outgoing calls

Tested by

no test coverage detected