(start, end int32, msg string)
| 254 | } |
| 255 | |
| 256 | func (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 | |
| 261 | func (l *lexer) advance(n int32) { |
| 262 | l.pos += n |
no outgoing calls
no test coverage detected