pub struct Parser<'a, I: Iterator<Item = Cursor> + Clone> { /* private fields */ }Implementations§
Source§impl<'a, I> Parser<'a, I>
impl<'a, I> Parser<'a, I>
Sourcepub fn new(bump: &'a Bump, source_text: &'a str, cursor_iter: I) -> Self
pub fn new(bump: &'a Bump, source_text: &'a str, cursor_iter: I) -> Self
Create a new parser with an iterator over cursors