(&self, cursor: Cursor)
| 333 | } |
| 334 | |
| 335 | pub fn to_source_cursor(&self, cursor: Cursor) -> SourceCursor<'a> { |
| 336 | SourceCursor::from(cursor, cursor.str_slice(self.source_text)) |
| 337 | } |
| 338 | |
| 339 | pub fn consume_trivia(&mut self) -> Vec<'a, Cursor> { |
| 340 | let mut trivia = Vec::new_in(self.bump); |