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

Method newLogicManager

parser/pratt_parser.go:336–341  ·  view source on GitHub ↗
(function string, term ast.Expr)

Source from the content-addressed store, hash-verified

334}
335
336func (p *prattParserWorker) newLogicManager(function string, term ast.Expr) *logicManager {
337 if p.enableVariadicOperatorASTs {
338 return newVariadicLogicManager(p.exprFactory, function, term)
339 }
340 return newBalancingLogicManager(p.exprFactory, function, term)
341}
342
343func (p *prattParserWorker) globalCallOrMacro(exprID int64, function string, args ...ast.Expr) ast.Expr {
344 if expr, found := p.expandMacro(exprID, function, nil, args...); found {

Callers 1

parseLogicalChainMethod · 0.95

Calls 2

newVariadicLogicManagerFunction · 0.85
newBalancingLogicManagerFunction · 0.85

Tested by

no test coverage detected