Trait rsmt2::ParseSmt2 [] [src]

pub trait ParseSmt2 {
    type Ident: Debug;
    type Value: Debug;
    type Expr: Debug;
    type Proof: Debug;
    type I;
    fn parse_ident<'a>(&self, _: &'a [u8]) -> IResult<&'a [u8], Self::Ident>;
    fn parse_value<'a>(&self, _: &'a [u8]) -> IResult<&'a [u8], Self::Value>;
    fn parse_expr<'a>(&self,
                      _: &'a [u8],
                      _: &Self::I)
                      -> IResult<&'a [u8], Self::Expr>; fn parse_proof<'a>(&self, _: &'a [u8]) -> IResult<&'a [u8], Self::Proof>; }

Parsers on the user's structure.

Not all of them are necessary depending on the queries wanted. See each method for details.

Associated Types

Type of identifiers in the user's structure.

Type of values in the user's structure.

Type of expressions in the user's structure.

Type of proofs in the user's structure.

Type of the info passed when parsing expressions.

Required Methods

Parses an ident from self, viewed as a reader.

Required by

  • get-assignment
  • get-model
  • get-unsat-assumptions
  • get-unsat-core

Parses a value from self, viewed as a reader.

Required by

  • get-value
  • get-assignment
  • get-model

Parses an expression from self, viewed as a reader.

Required by

  • get_assertions

Parses a proof from self, viewed as a reader.

Required by

  • get_proof

Implementors