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

Function newNonOptionalCompositionStep

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

490
491// newNonOptionalCompositionStep returns an output step whose output is not optional.
492func newNonOptionalCompositionStep(ctx *cel.OptimizerContext, cond, out ast.Expr) nonOptionalCompositionStep {
493 return nonOptionalCompositionStep{
494 baseCompositionStep: &baseCompositionStep{
495 ctx: ctx,
496 cond: cond,
497 out: out,
498 },
499 }
500}
501
502type nonOptionalCompositionStep struct {
503 *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