pub struct ItemSet<'g> { /* private fields */ }Implementations§
Source§impl<'g> ItemSet<'g>
impl<'g> ItemSet<'g>
pub fn grammar(&self) -> &'g Grammar
pub fn empty(grammar: &'g Grammar) -> Self
pub fn singleton(item: Item<'g>, analysis: &GrammarAnalysis<'g>) -> Self
pub fn is_empty(&self) -> bool
pub fn items(&self) -> Vec<Item<'g>>
pub fn follow( &self, analysis: &GrammarAnalysis<'g>, symbol: Symbol<'g>, ) -> ItemSet<'g>
Trait Implementations§
impl<'g> Eq for ItemSet<'g>
Auto Trait Implementations§
impl<'g> Freeze for ItemSet<'g>
impl<'g> RefUnwindSafe for ItemSet<'g>
impl<'g> Send for ItemSet<'g>
impl<'g> Sync for ItemSet<'g>
impl<'g> Unpin for ItemSet<'g>
impl<'g> UnwindSafe for ItemSet<'g>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more