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

Struct CompiledVariable

policy/compiler.go:91–96  ·  view source on GitHub ↗

CompiledVariable represents the variable name, expression, and associated type-check declaration.

Source from the content-addressed store, hash-verified

89
90// CompiledVariable represents the variable name, expression, and associated type-check declaration.
91type CompiledVariable struct {
92 exprID int64
93 name string
94 expr *cel.Ast
95 varDecl *decls.VariableDecl
96}
97
98// SourceID returns the source metadata identifier associated with the variable.
99func (v *CompiledVariable) SourceID() int64 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected