pub enum NodeKind {
Module,
Statement,
Suite,
Group,
Expression,
}Expand description
Concrete source-tree node category.
Variants§
Module
Complete file input.
Statement
Logical statement.
Suite
Indented suite.
Group
Delimited expression/grouping region.
Expression
Expression region whose precedence was admitted through the Pratt table.
Trait Implementations§
impl Eq for NodeKind
impl StructuralPartialEq for NodeKind
Auto Trait Implementations§
impl Freeze for NodeKind
impl RefUnwindSafe for NodeKind
impl Send for NodeKind
impl Sync for NodeKind
impl Unpin for NodeKind
impl UnsafeUnpin for NodeKind
impl UnwindSafe for NodeKind
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