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