Enum rush_analyzer::ast::AnalyzedStatement
source · pub enum AnalyzedStatement<'src> {
Let(AnalyzedLetStmt<'src>),
Return(AnalyzedReturnStmt<'src>),
Loop(AnalyzedLoopStmt<'src>),
While(AnalyzedWhileStmt<'src>),
For(AnalyzedForStmt<'src>),
Break,
Continue,
Expr(AnalyzedExpression<'src>),
}Variants§
Let(AnalyzedLetStmt<'src>)
Return(AnalyzedReturnStmt<'src>)
Loop(AnalyzedLoopStmt<'src>)
While(AnalyzedWhileStmt<'src>)
For(AnalyzedForStmt<'src>)
Break
Continue
Expr(AnalyzedExpression<'src>)
Implementations§
source§impl AnalyzedStatement<'_>
impl AnalyzedStatement<'_>
Trait Implementations§
source§impl<'src> Clone for AnalyzedStatement<'src>
impl<'src> Clone for AnalyzedStatement<'src>
source§fn clone(&self) -> AnalyzedStatement<'src>
fn clone(&self) -> AnalyzedStatement<'src>
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 more