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

Method Declaration

policy/compiler.go:128–130  ·  view source on GitHub ↗

Declaration returns the type-check declaration associated with the variable.

()

Source from the content-addressed store, hash-verified

126
127// Declaration returns the type-check declaration associated with the variable.
128func (v *CompiledVariable) Declaration() *decls.VariableDecl {
129 return v.varDecl
130}
131
132// CompiledMatch represents a match block which has an optional condition (true, by default) as well
133// as an output or a nested rule (one or the other, but not both).

Callers 1

registerVariableMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected