Enum bf::ast::Statement[][src]

pub enum Statement {
    Cmd(Command),
    Loop(Box<[Statement]>),
}

An unoptimized BF statement.

Variants

A non-loop command.

Invariants

The Command cannot be Begin or End.

A loop surrounding a sequence of instructions.

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