(str string)
| 145 | } |
| 146 | |
| 147 | func (s *scanner) checkNext(str string) bool { |
| 148 | if s.current == 0 || !strings.ContainsRune(str, s.current) { |
| 149 | return false |
| 150 | } |
| 151 | s.saveAndAdvance() |
| 152 | return true |
| 153 | } |
| 154 | |
| 155 | func (s *scanner) skipSeparator() int { // TODO is this the right name? |
| 156 | i, c := 0, s.current |
no test coverage detected