pub enum ParseNode {
Token(Token),
List(ParseNodeList),
}
Expand description
A parse node is either a token or a list of parse nodes.
Variants§
Token(Token)
List(ParseNodeList)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParseNode
impl RefUnwindSafe for ParseNode
impl Send for ParseNode
impl Sync for ParseNode
impl Unpin for ParseNode
impl UnwindSafe for ParseNode
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