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

Function newVariadicLogicManager

parser/helper.go:265–273  ·  view source on GitHub ↗

newVariadicLogicManager creates a logic manager instance bound to a specific function and its first term.

(fac ast.ExprFactory, function string, term ast.Expr)

Source from the content-addressed store, hash-verified

263
264// newVariadicLogicManager creates a logic manager instance bound to a specific function and its first term.
265func newVariadicLogicManager(fac ast.ExprFactory, function string, term ast.Expr) *logicManager {
266 return &logicManager{
267 exprFactory: fac,
268 function: function,
269 terms: []ast.Expr{term},
270 ops: []int64{},
271 variadicASTs: true,
272 }
273}
274
275// newBalancingLogicManager creates a logic manager instance bound to a specific function and its first term.
276func newBalancingLogicManager(fac ast.ExprFactory, function string, term ast.Expr) *logicManager {

Callers 1

newLogicManagerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected