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

Struct testVariadicLogicOptimizer

cel/folding_test.go:1917–1917  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1915}
1916
1917type testVariadicLogicOptimizer struct{}
1918
1919func (t *testVariadicLogicOptimizer) Optimize(ctx *OptimizerContext, a *ast.AST) *ast.AST {
1920 call := ctx.NewCall(operators.LogicalAnd, ctx.NewIdent("x"), ctx.NewLiteral(types.True), ctx.NewIdent("y"))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected