pub enum SeqRep<'a> {
Consec(Expr<'a>),
ConsecStar,
ConsecPlus,
Nonconsec(Expr<'a>),
Goto(Expr<'a>),
}Variants§
Trait Implementations§
Source§impl<'a> AcceptVisitor<'a> for SeqRep<'a>
impl<'a> AcceptVisitor<'a> for SeqRep<'a>
Source§impl<'a> ForEachChild<'a> for SeqRep<'a>
impl<'a> ForEachChild<'a> for SeqRep<'a>
Source§fn for_each_child(&'a self, each: &mut dyn FnMut(&'a dyn AnyNode<'a>))
fn for_each_child(&'a self, each: &mut dyn FnMut(&'a dyn AnyNode<'a>))
Apply a function to each child node.
Source§impl<'a> ForEachNode<'a> for SeqRep<'a>
impl<'a> ForEachNode<'a> for SeqRep<'a>
Source§fn for_each_node(&'a self, each: &mut dyn FnMut(&'a dyn AnyNode<'a>))
fn for_each_node(&'a self, each: &mut dyn FnMut(&'a dyn AnyNode<'a>))
Apply a function to this node.
Source§impl<'a> WalkVisitor<'a> for SeqRep<'a>
impl<'a> WalkVisitor<'a> for SeqRep<'a>
impl<'a> Eq for SeqRep<'a>
impl<'a> StructuralPartialEq for SeqRep<'a>
Auto Trait Implementations§
impl<'a> !Freeze for SeqRep<'a>
impl<'a> !RefUnwindSafe for SeqRep<'a>
impl<'a> Send for SeqRep<'a>
impl<'a> Sync for SeqRep<'a>
impl<'a> Unpin for SeqRep<'a>
impl<'a> !UnwindSafe for SeqRep<'a>
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