Returns true if and only if this span is empty. That is, it points to a single position in the concrete syntax of a regular expression.
(&self)
| 422 | /// Returns true if and only if this span is empty. That is, it points to |
| 423 | /// a single position in the concrete syntax of a regular expression. |
| 424 | pub fn is_empty(&self) -> bool { |
| 425 | self.start.offset == self.end.offset |
| 426 | } |
| 427 | } |
| 428 | |
| 429 | impl Position { |
no outgoing calls
no test coverage detected