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

Method newLogicManager

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

Source from the content-addressed store, hash-verified

888}
889
890func (p *parser) newLogicManager(function string, term ast.Expr) *logicManager {
891 if p.enableVariadicOperatorASTs {
892 return newVariadicLogicManager(p.exprFactory, function, term)
893 }
894 return newBalancingLogicManager(p.exprFactory, function, term)
895}
896
897func (p *parser) reportError(ctx any, format string, args ...any) ast.Expr {
898 var location common.Location

Callers 2

VisitConditionalOrMethod · 0.95
VisitConditionalAndMethod · 0.95

Calls 2

newVariadicLogicManagerFunction · 0.85
newBalancingLogicManagerFunction · 0.85

Tested by

no test coverage detected