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

Method setError

parser/lexer.go:256–259  ·  view source on GitHub ↗
(start, end int32, msg string)

Source from the content-addressed store, hash-verified

254}
255
256func (l *lexer) setError(start, end int32, msg string) token {
257 l.err = lexerError{start: start, end: end, message: msg}
258 return token{kind: tokError, start: start, end: end}
259}
260
261func (l *lexer) advance(n int32) {
262 l.pos += n

Callers 4

consumeQuotedIdentMethod · 0.95
consumeStringLiteralMethod · 0.95
consumeNumericLiteralMethod · 0.95
LexMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected