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

Method NestedRule

policy/compiler.go:164–166  ·  view source on GitHub ↗

NestedRule returns the nested rule, if set.

()

Source from the content-addressed store, hash-verified

162
163// NestedRule returns the nested rule, if set.
164func (m *CompiledMatch) NestedRule() *CompiledRule {
165 return m.nestedRule
166}
167
168// OutputType returns the cel.Type associated with output expression.
169func (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