Return the current position of the parser, which includes the offset, line and column.
(&self)
| 621 | /// Return the current position of the parser, which includes the offset, |
| 622 | /// line and column. |
| 623 | fn pos(&self) -> Position { |
| 624 | self.parser().pos.get() |
| 625 | } |
| 626 | |
| 627 | /// Create a span at the current position of the parser. Both the start |
| 628 | /// and end of the span are set. |
no test coverage detected