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

Function newNonOptionalCompositionStep

policy/composer.go:498–506  ·  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

496
497// newNonOptionalCompositionStep returns an output step whose output is not optional.
498func newNonOptionalCompositionStep(ctx *cel.OptimizerContext, cond, out ast.Expr) nonOptionalCompositionStep {
499 return nonOptionalCompositionStep{
500 baseCompositionStep: &baseCompositionStep{
501 ctx: ctx,
502 cond: cond,
503 out: out,
504 },
505 }
506}
507
508type nonOptionalCompositionStep struct {
509 *baseCompositionStep

Callers 6

OptimizeMethod · 0.85
optimizeRuleMethod · 0.85
createBaseStepMethod · 0.85
combineAggregateMethod · 0.85
combineMethod · 0.85
combineMethod · 0.85

Calls

no outgoing calls

Tested by 1

OptimizeMethod · 0.68