Enum bf::peephole::Statement[][src]

pub enum Statement {
    Instr(Instruction),
    Loop(Box<[Statement]>),
}
[]

Instructions as output by the peephole optimizer.

Variants

[]

A bytecode instruction, which does not contain any loops.

Invariants

Should not contain a JumpZero or JumpNotZero instruction.

[]

A loop.

Trait Implementations

impl Clone for Statement
[src]
[+]

[]

Returns a copy of the value. Read more

[]

Performs copy-assignment from source. Read more

impl Debug for Statement
[src]
[+]

[]

Formats the value using the given formatter. Read more

impl Eq for Statement
[src]

impl PartialEq for Statement
[src]
[+]

[]

This method tests for self and other values to be equal, and is used by ==. Read more

[]

This method tests for !=.

Auto Trait Implementations

impl Send for Statement

impl Sync for Statement