[][src]Enum isla_lib::ir::Exp

pub enum Exp<A> {
    Id(A),
    Ref(A),
    Bool(bool),
    Bits(B64),
    String(String),
    Unit,
    I64(i64),
    I128(i128),
    Undefined(Ty<A>),
    Struct(A, Vec<(A, Exp<A>)>),
    Kind(A, Box<Exp<A>>),
    Unwrap(A, Box<Exp<A>>),
    Field(Box<Exp<A>>, A),
    Call(OpVec<Exp<A>>),
}

Variants

Id(A)
Ref(A)
Bool(bool)
Bits(B64)
String(String)
Unit
I64(i64)
I128(i128)
Undefined(Ty<A>)
Struct(A, Vec<(A, Exp<A>)>)
Kind(A, Box<Exp<A>>)
Unwrap(A, Box<Exp<A>>)
Field(Box<Exp<A>>, A)
Call(OpVec<Exp<A>>)

Implementations

impl<A: Hash + Eq + Clone> Exp<A>[src]

pub fn variables(&mut self) -> Variables<A>[src]

Trait Implementations

impl<A: Clone> Clone for Exp<A>[src]

impl<A: Debug> Debug for Exp<A>[src]

impl<'de, A> Deserialize<'de> for Exp<A> where
    A: Deserialize<'de>, 
[src]

impl<A> Serialize for Exp<A> where
    A: Serialize
[src]

Auto Trait Implementations

impl<A> RefUnwindSafe for Exp<A> where
    A: RefUnwindSafe

impl<A> Send for Exp<A> where
    A: Send

impl<A> Sync for Exp<A> where
    A: Sync

impl<A> Unpin for Exp<A> where
    A: Unpin

impl<A> UnwindSafe for Exp<A> 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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.