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

Method newLogicManager

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

Source from the content-addressed store, hash-verified

896}
897
898func (p *parser) newLogicManager(function string, term ast.Expr) *logicManager {
899 if p.enableVariadicOperatorASTs {
900 return newVariadicLogicManager(p.exprFactory, function, term)
901 }
902 return newBalancingLogicManager(p.exprFactory, function, term)
903}
904
905func (p *parser) reportError(ctx any, format string, args ...any) ast.Expr {
906 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