Returns the byte offset of the next position in the input.
(&self)
| 71 | |
| 72 | /// Returns the byte offset of the next position in the input. |
| 73 | pub fn next_pos(&self) -> usize { |
| 74 | self.pos + self.len |
| 75 | } |
| 76 | } |
| 77 | |
| 78 | /// An abstraction over input used in the matching engines. |