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

Function newNonOptionalCompositionStep

policy/composer.go:448–456  ·  view source on GitHub ↗

newNonOptionalCompositionStep returns an output step whose output is not optional.

(ctx *cel.OptimizerContext, cond, out ast.Expr)

Source from the content-addressed store, hash-verified

446
447// newNonOptionalCompositionStep returns an output step whose output is not optional.
448func newNonOptionalCompositionStep(ctx *cel.OptimizerContext, cond, out ast.Expr) nonOptionalCompositionStep {
449 return nonOptionalCompositionStep{
450 baseCompositionStep: &baseCompositionStep{
451 ctx: ctx,
452 cond: cond,
453 out: out,
454 },
455 }
456}
457
458type nonOptionalCompositionStep struct {
459 *baseCompositionStep

Callers 3

optimizeRuleMethod · 0.85
combineMethod · 0.85
combineMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected