pub trait StatementReconstructor: ExpressionReconstructor {
    // Provided methods
    fn reconstruct_statement(
        &mut self,
        input: Statement,
    ) -> (Statement, Self::AdditionalOutput) { ... }
    fn reconstruct_assert(
        &mut self,
        input: AssertStatement,
    ) -> (Statement, Self::AdditionalOutput) { ... }
    fn reconstruct_assign(
        &mut self,
        input: AssignStatement,
    ) -> (Statement, Self::AdditionalOutput) { ... }
    fn reconstruct_block(
        &mut self,
        input: Block,
    ) -> (Block, Self::AdditionalOutput) { ... }
    fn reconstruct_conditional(
        &mut self,
        input: ConditionalStatement,
    ) -> (Statement, Self::AdditionalOutput) { ... }
    fn reconstruct_console(
        &mut self,
        input: ConsoleStatement,
    ) -> (Statement, Self::AdditionalOutput) { ... }
    fn reconstruct_const(
        &mut self,
        input: ConstDeclaration,
    ) -> (Statement, Self::AdditionalOutput) { ... }
    fn reconstruct_definition(
        &mut self,
        input: DefinitionStatement,
    ) -> (Statement, Self::AdditionalOutput) { ... }
    fn reconstruct_expression_statement(
        &mut self,
        input: ExpressionStatement,
    ) -> (Statement, Self::AdditionalOutput) { ... }
    fn reconstruct_iteration(
        &mut self,
        input: IterationStatement,
    ) -> (Statement, Self::AdditionalOutput) { ... }
    fn reconstruct_return(
        &mut self,
        input: ReturnStatement,
    ) -> (Statement, Self::AdditionalOutput) { ... }
}
Expand description

A Reconstructor trait for statements in the AST.

Provided Methods§

Implementors§