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

Function newVariadicLogicManager

parser/helper.go:306–314  ·  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

304
305// newVariadicLogicManager creates a logic manager instance bound to a specific function and its first term.
306func newVariadicLogicManager(fac ast.ExprFactory, function string, term ast.Expr) *logicManager {
307 return &logicManager{
308 exprFactory: fac,
309 function: function,
310 terms: []ast.Expr{term},
311 ops: []int64{},
312 variadicASTs: true,
313 }
314}
315
316// newBalancingLogicManager creates a logic manager instance bound to a specific function and its first term.
317func newBalancingLogicManager(fac ast.ExprFactory, function string, term ast.Expr) *logicManager {

Callers 2

newLogicManagerMethod · 0.85
newLogicManagerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected