Enum reform::structure::Statement[][src]

pub enum Statement<ID: Id = VarName> {
    Module(Module<ID>),
    NewExpression(ID, Element<ID>),
    NewFunction(ID, Vec<ID>, Element<ID>),
    IdentityStatement(IdentityStatement<ID>),
    SplitArg(ID),
    Repeat(Vec<Statement<ID>>),
    Argument(Vec<Element<ID>>, Vec<Statement<ID>>),
    Inside(Vec<Element<ID>>, Vec<Statement<ID>>),
    IfElse(IfCondition<ID>, Vec<Statement<ID>>, Vec<Statement<ID>>),
    ForIn(Element<ID>, Vec<Element<ID>>, Vec<Statement<ID>>),
    ForInRange(Element<ID>, Element<ID>, Element<ID>, Vec<Statement<ID>>),
    Expand,
    Print(PrintModeVec<PrintObject<ID>>),
    Multiply(Element<ID>),
    ReplaceBy(Element<ID>),
    Symmetrize(ID),
    Collect(ID),
    Extract(Element<ID>, Vec<ID>),
    MatchAssign(Element<ID>, Vec<Statement<ID>>),
    Assign(Element<ID>, Element<ID>),
    Maximum(Element<ID>),
    Call(StringVec<Element<ID>>),
    Attrib(Element<ID>, Vec<FunctionAttributes>),
    Discard,
    Jump(usize),
    Eval(IfConditionusize),
    JumpIfChanged(usize),
    PushChange,
}

Variants

Methods

impl Statement<String>
[src]

impl Statement
[src]

Check if a statement contains a dollar variable.

Trait Implementations

impl<ID: Debug + Id> Debug for Statement<ID>
[src]

Formats the value using the given formatter. Read more

impl<ID: Clone + Id> Clone for Statement<ID>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Display for Statement
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<ID> Send for Statement<ID> where
    ID: Send

impl<ID> Sync for Statement<ID> where
    ID: Sync