Trait rsmt2::parse::IdentParser[][src]

pub trait IdentParser<Ident, Type, Input>: Copy {
    fn parse_ident(self, i: Input) -> SmtRes<Ident>;
fn parse_type(self, i: 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, i: Input) -> SmtRes<Ident>[src]

Parses an identifier.

fn parse_type(self, i: Input) -> SmtRes<Type>[src]

Parses a type.

Loading content...

Implementors

impl<'a> IdentParser<String, String, &'a str> for Parser[src]

impl<'a, Ident, Type, T> IdentParser<Ident, Type, &'a str> for T where
    T: IdentParser<Ident, Type, &'a [u8]>, 
[src]

impl<'a, Ident, Type, T, Br> IdentParser<Ident, Type, &'a mut SmtParser<Br>> for T where
    T: IdentParser<Ident, Type, &'a str>,
    Br: BufRead
[src]

Loading content...