[][src]Enum smpl::byte_gen::Instruction

pub enum Instruction {
    Store(LocationArg),
    StoreStructure(LocationHashMap<String, Arg>),
    StoreArray1(LocationVec<Arg>),
    StoreArray2(LocationArgu64),
    AddI(LocationArgArg),
    SubI(LocationArgArg),
    MulI(LocationArgArg),
    DivI(LocationArgArg),
    ModI(LocationArgArg),
    AddF(LocationArgArg),
    SubF(LocationArgArg),
    MulF(LocationArgArg),
    DivF(LocationArgArg),
    ModF(LocationArgArg),
    And(LocationArgArg),
    Or(LocationArgArg),
    GEqI(LocationArgArg),
    LEqI(LocationArgArg),
    GEI(LocationArgArg),
    LEI(LocationArgArg),
    GEqF(LocationArgArg),
    LEqF(LocationArgArg),
    GEF(LocationArgArg),
    LEF(LocationArgArg),
    Eq(LocationArgArg),
    InEq(LocationArgArg),
    Negate(LocationArg),
    Invert(LocationArg),
    FnCall(LocationVec<Arg>),
    Return(Option<Arg>),
    TakeReturn(Location),
    Jump(JumpTarget),
    JumpCondition(JumpTargetArg),
    JumpNegateCondition(JumpTargetArg),
    RelJump(RelJumpTarget),
    RelJumpCondition(RelJumpTargetArg),
    RelJumpNegateCondition(RelJumpTargetArg),
}

Variants

Store(LocationArg)
StoreStructure(LocationHashMap<String, Arg>)
StoreArray1(LocationVec<Arg>)
StoreArray2(LocationArgu64)
AddI(LocationArgArg)
SubI(LocationArgArg)
MulI(LocationArgArg)
DivI(LocationArgArg)
ModI(LocationArgArg)
AddF(LocationArgArg)
SubF(LocationArgArg)
MulF(LocationArgArg)
DivF(LocationArgArg)
ModF(LocationArgArg)
And(LocationArgArg)
Or(LocationArgArg)
GEqI(LocationArgArg)
LEqI(LocationArgArg)
GEI(LocationArgArg)
LEI(LocationArgArg)
GEqF(LocationArgArg)
LEqF(LocationArgArg)
GEF(LocationArgArg)
LEF(LocationArgArg)
Eq(LocationArgArg)
InEq(LocationArgArg)
Negate(LocationArg)
Invert(LocationArg)
FnCall(LocationVec<Arg>)
Return(Option<Arg>)
TakeReturn(Location)
JumpCondition(JumpTargetArg)
JumpNegateCondition(JumpTargetArg)
RelJump(RelJumpTarget)
RelJumpCondition(RelJumpTargetArg)
RelJumpNegateCondition(RelJumpTargetArg)

Trait Implementations

impl Clone for Instruction[src]

impl Display for Instruction[src]

impl Debug for Instruction[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]