MCPcopy Index your code
hub / github.com/expr-lang/expr / error

Method error

parser/parser.go:151–153  ·  view source on GitHub ↗
(format string, args ...any)

Source from the content-addressed store, hash-verified

149}
150
151func (p *Parser) error(format string, args ...any) {
152 p.errorAt(p.current, format, args...)
153}
154
155func (p *Parser) errorAt(token Token, format string, args ...any) {
156 if p.err == nil { // show first error

Callers 12

ParseMethod · 0.95
checkNodeLimitMethod · 0.95
nextMethod · 0.95
expectMethod · 0.95
parseExpressionMethod · 0.95
parseSecondaryMethod · 0.95
toIntegerNodeMethod · 0.95
toFloatNodeMethod · 0.95
parseCallMethod · 0.95
parsePredicateMethod · 0.95
parseMapExpressionMethod · 0.95

Calls 1

errorAtMethod · 0.95

Tested by

no test coverage detected