Returns the start position for a node that starts at the current token.
(&self)
| 193 | |
| 194 | /// Returns the start position for a node that starts at the current token. |
| 195 | fn node_start(&self) -> TextSize { |
| 196 | self.current_token_range().start() |
| 197 | } |
| 198 | |
| 199 | fn node_range(&self, start: TextSize) -> TextRange { |
| 200 | // It's possible during error recovery that the parsing didn't consume any tokens. In that |
no test coverage detected