Enum z3tracer::syntax::Term[][src]

pub enum Term {
    App {
        name: String,
        args: Vec<Ident>,
        meaning: Option<Meaning>,
    },
    Var {
        index: u64,
    },
    Quant {
        name: String,
        params: usize,
        triggers: Vec<Ident>,
        body: Ident,
        var_names: Option<Vec<VarName>>,
    },
    Lambda {
        name: String,
        params: u64,
        triggers: Vec<Ident>,
        body: Ident,
    },
    Proof {
        name: String,
        args: Vec<Ident>,
        property: Ident,
    },
}

Concrete representation of a term.

Variants

App

Fields of App

name: Stringargs: Vec<Ident>meaning: Option<Meaning>
Var

Fields of Var

index: u64
Quant

Fields of Quant

name: Stringparams: usizetriggers: Vec<Ident>body: Identvar_names: Option<Vec<VarName>>
Lambda

Fields of Lambda

name: Stringparams: u64triggers: Vec<Ident>body: Ident
Proof

Fields of Proof

name: Stringargs: Vec<Ident>property: Ident

Implementations

impl Term[src]

Trait Implementations

impl Clone for Term[src]

impl Debug for Term[src]

impl Eq for Term[src]

impl Hash for Term[src]

impl PartialEq<Term> for Term[src]

impl StructuralEq for Term[src]

impl StructuralPartialEq for Term[src]

impl<'a, F, E> Visitor<'a, F, E> for Term where
    F: FnMut(&'a Ident) -> Result<(), E>, 
[src]

Auto Trait Implementations

impl RefUnwindSafe for Term

impl Send for Term

impl Sync for Term

impl Unpin for Term

impl UnwindSafe for Term

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> 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.