[][src]Enum isla_lib::ir::Instr

pub enum Instr<A, B> {
    Decl(A, Ty<A>),
    Init(A, Ty<A>, Exp<A>),
    Jump(Exp<A>, usizeString),
    Goto(usize),
    Copy(Loc<A>, Exp<A>),
    Monomorphize(A),
    Call(Loc<A>, bool, A, Vec<Exp<A>>),
    PrimopUnary(Loc<A>, Unary<B>, Exp<A>),
    PrimopBinary(Loc<A>, Binary<B>, Exp<A>, Exp<A>),
    PrimopVariadic(Loc<A>, Variadic<B>, Vec<Exp<A>>),
    Failure,
    Arbitrary,
    End,
}

Variants

Decl(A, Ty<A>)
Init(A, Ty<A>, Exp<A>)
Jump(Exp<A>, usizeString)
Goto(usize)
Copy(Loc<A>, Exp<A>)
Monomorphize(A)
Call(Loc<A>, bool, A, Vec<Exp<A>>)
PrimopUnary(Loc<A>, Unary<B>, Exp<A>)
PrimopBinary(Loc<A>, Binary<B>, Exp<A>, Exp<A>)
PrimopVariadic(Loc<A>, Variadic<B>, Vec<Exp<A>>)
Failure
Arbitrary
End

Trait Implementations

impl<A: Clone, B: Clone> Clone for Instr<A, B>[src]

impl<A: Debug, B: Debug> Debug for Instr<A, B>[src]

Auto Trait Implementations

impl<A, B> RefUnwindSafe for Instr<A, B> where
    A: RefUnwindSafe

impl<A, B> Send for Instr<A, B> where
    A: Send

impl<A, B> Sync for Instr<A, B> where
    A: Sync

impl<A, B> Unpin for Instr<A, B> where
    A: Unpin

impl<A, B> UnwindSafe for Instr<A, B> where
    A: UnwindSafe

Blanket Implementations

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

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

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.