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

Method makeToken

parser/lexer.go:252–254  ·  view source on GitHub ↗
(kind tokenKind, start, end int32)

Source from the content-addressed store, hash-verified

250}
251
252func (l *lexer) makeToken(kind tokenKind, start, end int32) token {
253 return token{kind: kind, start: start, end: end}
254}
255
256func (l *lexer) setError(start, end int32, msg string) token {
257 l.err = lexerError{start: start, end: end, message: msg}

Callers 5

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

Calls

no outgoing calls

Tested by

no test coverage detected