pub enum StatementNode {
Function(Function),
WhileLoop(WhileLoop),
Variable(Variable),
}
Expand description
The main statement enum, allowing for grouping of statements inside of the AST.
Variants§
Trait Implementations§
Source§impl Debug for StatementNode
impl Debug for StatementNode
Source§impl PartialEq for StatementNode
impl PartialEq for StatementNode
impl StructuralPartialEq for StatementNode
Auto Trait Implementations§
impl Freeze for StatementNode
impl RefUnwindSafe for StatementNode
impl Send for StatementNode
impl Sync for StatementNode
impl Unpin for StatementNode
impl UnwindSafe for StatementNode
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