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

Method reportSyntaxError

parser/pratt_parser.go:332–334  ·  view source on GitHub ↗
(ctx any, format string, args ...any)

Source from the content-addressed store, hash-verified

330}
331
332func (p *prattParserWorker) reportSyntaxError(ctx any, format string, args ...any) ast.Expr {
333 return p.reportError(ctx, "Syntax error: "+format, args...)
334}
335
336func (p *prattParserWorker) newLogicManager(function string, term ast.Expr) *logicManager {
337 if p.enableVariadicOperatorASTs {

Callers 14

nextSignificantTokenMethod · 0.95
expectMethod · 0.95
parseMethod · 0.95
parseStructMethod · 0.95
parseUnaryOpsMethod · 0.95
parsePrimaryMethod · 0.95
parseIdentOrCallMethod · 0.95
parseArgumentsMethod · 0.95
parseIntLiteralMethod · 0.95
parseUintLiteralMethod · 0.95

Calls 1

reportErrorMethod · 0.95

Tested by

no test coverage detected