[−][src]Trait smt2::Environment
SMT2-lib solver environment.
Associated Types
type Logic
type Constant: Clone + PartialEq + SortedWith<GroundSort<Self::Sort>>
type Ident: Clone + PartialEq
type Sort: Sort
type Function
type Error
Required methods
fn sort(&self, id: &Self::Ident) -> Option<Self::Sort>
Find a sort.
fn sort_bool(&self) -> GroundSort<Self::Sort>
Get the Bool sort, which is the only required sort.
fn typecheck_function(
&self,
checker: &mut TypeChecker<Self::Sort>,
f: &Self::Function,
args: &[TypeRef<Self::Sort>],
return_sort: TypeRef<Self::Sort>
)
&self,
checker: &mut TypeChecker<Self::Sort>,
f: &Self::Function,
args: &[TypeRef<Self::Sort>],
return_sort: TypeRef<Self::Sort>
)
Implementors
impl<L, C: Clone + PartialEq, S: Sort, F: Function> Environment for Client<L, C, S, F>
[src]
type Logic = L
type Ident = Ident
type Constant = Sorted<C, GroundSort<S>>
type Sort = S
type Function = F
type Error = Error<L, C, S, F>
fn sort(&self, id: &Ident) -> Option<S>
[src]
Find a sort.
fn sort_bool(&self) -> GroundSort<S>
[src]
Get the Bool sort, which is the only required sort.
fn typecheck_function(
&self,
_checker: &mut TypeChecker<S>,
_f: &F,
_args: &[TypeRef<S>],
_return_sort: TypeRef<S>
)
[src]
&self,
_checker: &mut TypeChecker<S>,
_f: &F,
_args: &[TypeRef<S>],
_return_sort: TypeRef<S>
)