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

Struct CompiledMatch

policy/compiler.go:120–125  ·  view source on GitHub ↗

CompiledMatch represents a match block which has an optional condition (true, by default) as well as an output or a nested rule (one or the other, but not both).

Source from the content-addressed store, hash-verified

118// CompiledMatch represents a match block which has an optional condition (true, by default) as well
119// as an output or a nested rule (one or the other, but not both).
120type CompiledMatch struct {
121 exprID int64
122 cond *cel.Ast
123 output *OutputValue
124 nestedRule *CompiledRule
125}
126
127// SourceID returns the source identifier associated with the compiled match.
128func (m *CompiledMatch) SourceID() int64 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected