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

Method NestedRule

policy/compiler.go:150–152  ·  view source on GitHub ↗

NestedRule returns the nested rule, if set.

()

Source from the content-addressed store, hash-verified

148
149// NestedRule returns the nested rule, if set.
150func (m *CompiledMatch) NestedRule() *CompiledRule {
151 return m.nestedRule
152}
153
154// OutputType returns the cel.Type associated with output expression.
155func (m *CompiledMatch) OutputType() *cel.Type {

Callers 4

optimizeRuleMethod · 0.80
HasOptionalOutputMethod · 0.80
checkUnreachableCodeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected