Returns the start position for a node that starts at the current token.
(&self)
| 315 | |
| 316 | /// Returns the start position for a node that starts at the current token. |
| 317 | fn node_start(&self) -> TextSize { |
| 318 | self.current_token_range().start() |
| 319 | } |
| 320 | |
| 321 | fn node_range(&self, start: TextSize) -> TextRange { |
| 322 | // It's possible during error recovery that the parsing didn't consume any tokens. In that |
no test coverage detected