[][src]Enum smt2::syntax::ast::Term

pub enum Term {
    Ident(Located<Ident>),
    Let {
        bindings: Vec<Located<Binding>>,
        body: Box<Located<Term>>,
    },
    Forall {
        vars: Vec<Located<SortedVar>>,
        body: Box<Located<Term>>,
    },
    Exists {
        vars: Vec<Located<SortedVar>>,
        body: Box<Located<Term>>,
    },
    Match {
        term: Box<Located<Term>>,
        cases: Vec<Located<MatchCase>>,
    },
    Apply {
        id: Located<Ident>,
        args: Box<Vec<Located<Term>>>,
    },
    Coerce {
        term: Box<Located<Term>>,
        sort: Located<Sort>,
    },
}

::= <spec_const> | ( let ( <var_binding>+ ) ) | ( forall ( <sorted_var>+ ) ) | ( exists ( <sorted_var>+ ) )

Variants

Ident(Located<Ident>)
Let

Fields of Let

bindings: Vec<Located<Binding>>body: Box<Located<Term>>
Forall

Fields of Forall

vars: Vec<Located<SortedVar>>body: Box<Located<Term>>
Exists

Fields of Exists

vars: Vec<Located<SortedVar>>body: Box<Located<Term>>
Match

Fields of Match

term: Box<Located<Term>>cases: Vec<Located<MatchCase>>
Apply

Fields of Apply

id: Located<Ident>args: Box<Vec<Located<Term>>>
Coerce

Fields of Coerce

term: Box<Located<Term>>sort: Located<Sort>

Trait Implementations

impl Clone for Term[src]

impl Display for Term[src]

impl Display for Term[src]

impl Parsable for Term[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> 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.