Returns the start position for a node that starts at the current token.
(&self)
| 305 | |
| 306 | /// Returns the start position for a node that starts at the current token. |
| 307 | fn node_start(&self) -> TextSize { |
| 308 | self.current_token_range().start() |
| 309 | } |
| 310 | |
| 311 | fn node_range(&self, start: TextSize) -> TextRange { |
| 312 | // It's possible during error recovery that the parsing didn't consume any tokens. In that |
no test coverage detected