pub struct NodeStatementBlock {
pub statements: Vec<NodeStatement>,
}
Expand description
NodeStatementBlock represents a statement block node in the AST It contains a vector of statements
Fields§
§statements: Vec<NodeStatement>
The statements of the statement block
Trait Implementations§
Source§impl AstVisitor for NodeStatementBlock
impl AstVisitor for NodeStatementBlock
fn visit( &self, emitter: &mut dyn AstConverting, ) -> Result<TraversalResult, String>
Source§impl Clone for NodeStatementBlock
impl Clone for NodeStatementBlock
Source§fn clone(&self) -> NodeStatementBlock
fn clone(&self) -> NodeStatementBlock
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NodeStatementBlock
impl Debug for NodeStatementBlock
Source§impl PartialEq for NodeStatementBlock
impl PartialEq for NodeStatementBlock
Source§impl PartialOrd for NodeStatementBlock
impl PartialOrd for NodeStatementBlock
impl Eq for NodeStatementBlock
impl StructuralPartialEq for NodeStatementBlock
Auto Trait Implementations§
impl Freeze for NodeStatementBlock
impl RefUnwindSafe for NodeStatementBlock
impl Send for NodeStatementBlock
impl Sync for NodeStatementBlock
impl Unpin for NodeStatementBlock
impl UnwindSafe for NodeStatementBlock
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