(c rune)
| 82 | func (s *scanner) errorExpected(t rune) { s.syntaxError(s.tokenToString(t) + " expected") } |
| 83 | func (s *scanner) numberError() { s.scanError("malformed number", tkNumber) } |
| 84 | func isNewLine(c rune) bool { return c == '\n' || c == '\r' } |
| 85 | func isDecimal(c rune) bool { return '0' <= c && c <= '9' } |
| 86 | |
| 87 | func (s *scanner) tokenToString(t rune) string { |
no outgoing calls
no test coverage detected