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

Function newVariadicLogicManager

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

267
268// newVariadicLogicManager creates a logic manager instance bound to a specific function and its first term.
269func newVariadicLogicManager(fac ast.ExprFactory, function string, term ast.Expr) *logicManager {
270 return &logicManager{
271 exprFactory: fac,
272 function: function,
273 terms: []ast.Expr{term},
274 ops: []int64{},
275 variadicASTs: true,
276 }
277}
278
279// newBalancingLogicManager creates a logic manager instance bound to a specific function and its first term.
280func 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