Trait rsmt2::parse::IdentParser
[−]
[src]
pub trait IdentParser<Ident, Type, Input>: Copy { fn parse_ident(self, _: Input) -> SmtRes<Ident>; fn parse_type(self, _: Input) -> SmtRes<Type>; }
Can parse identifiers and types. Used for get_model
.
For more information refer to the module-level documentation.
Required Methods
fn parse_ident(self, _: Input) -> SmtRes<Ident>
Parses an identifier.
fn parse_type(self, _: Input) -> SmtRes<Type>
Parses a type.
Implementors
impl<'a, Ident, Type, T> IdentParser<Ident, Type, &'a str> for T where
T: IdentParser<Ident, Type, &'a [u8]>,impl<'a, Ident, Type, T, Br> IdentParser<Ident, Type, &'a mut SmtParser<Br>> for T where
T: IdentParser<Ident, Type, &'a str>,
Br: BufRead,impl<'a> IdentParser<String, String, &'a str> for rsmt2::example::simple::Parser
impl<'a> IdentParser<(Var, Option<usize>), Type, &'a str> for rsmt2::example::Parser