Returns the start position for a node that starts at the current token.
(&self)
| 278 | |
| 279 | /// Returns the start position for a node that starts at the current token. |
| 280 | fn node_start(&self) -> TextSize { |
| 281 | self.current_token_range().start() |
| 282 | } |
| 283 | |
| 284 | fn node_range(&self, start: TextSize) -> TextRange { |
| 285 | // It's possible during error recovery that the parsing didn't consume any tokens. In that |
no test coverage detected