()
| 310 | } |
| 311 | |
| 312 | func (s *formattingScanner) readEOFTokenRange() TextRangeWithKind { |
| 313 | debug.Assert(s.isOnEOF()) |
| 314 | return NewTextRangeWithKind( |
| 315 | s.s.TokenFullStart(), |
| 316 | s.s.TokenEnd(), |
| 317 | ast.KindEndOfFile, |
| 318 | ) |
| 319 | } |
| 320 | |
| 321 | func (s *formattingScanner) isOnToken() bool { |
| 322 | current := s.s.Token() |
no test coverage detected