Enum smt2parser::concrete::Command [−][src]
pub enum Command {}Show variants
Assert { term: Term, }, CheckSat, CheckSatAssuming { literals: Vec<(Symbol, bool)>, }, DeclareConst { symbol: Symbol, sort: Sort, }, DeclareDatatype { symbol: Symbol, datatype: DatatypeDec, }, DeclareDatatypes { datatypes: Vec<(Symbol, Numeral, DatatypeDec)>, }, DeclareFun { symbol: Symbol, parameters: Vec<Sort>, sort: Sort, }, DeclareSort { symbol: Symbol, arity: Numeral, }, DefineFun { sig: FunctionDec, term: Term, }, DefineFunRec { sig: FunctionDec, term: Term, }, DefineFunsRec { funs: Vec<(FunctionDec, Term)>, }, DefineSort { symbol: Symbol, parameters: Vec<Symbol>, sort: Sort, }, Echo { message: String, }, Exit, GetAssertions, GetAssignment, GetInfo { flag: Keyword, }, GetModel, GetOption { keyword: Keyword, }, GetProof, GetUnsatAssumptions, GetUnsatCore, GetValue { terms: Vec<Term>, }, Pop { level: Numeral, }, Push { level: Numeral, }, Reset, ResetAssertions, SetInfo { keyword: Keyword, value: AttributeValue, }, SetLogic { symbol: Symbol, }, SetOption { keyword: Keyword, value: AttributeValue, },
Expand description
Concrete syntax for a command.
Variants
Show fields
Fields of Assert
term: Term
Show fields
Fields of DeclareDatatype
symbol: Symbol
datatype: DatatypeDec
Show fields
Fields of DefineFun
sig: FunctionDec
term: Term
Show fields
Fields of DefineFunRec
sig: FunctionDec
term: Term
Show fields
Fields of DefineFunsRec
funs: Vec<(FunctionDec, Term)>
Show fields
Fields of Echo
message: String
Show fields
Fields of GetInfo
flag: Keyword
Show fields
Fields of GetOption
keyword: Keyword
Show fields
Fields of Pop
level: Numeral
Show fields
Fields of Push
level: Numeral
Show fields
Fields of SetInfo
keyword: Keyword
value: AttributeValue
Show fields
Fields of SetLogic
symbol: Symbol
Show fields
Fields of SetOption
keyword: Keyword
value: AttributeValue
Implementations
pub fn accept<V, T, E, S1, S2, S3, S4, S5, S6, S7>(
self,
visitor: &mut V
) -> Result<T, E> where
V: SortVisitor<S1, T = S2, E = E> + SymbolVisitor<T = S1, E = E> + QualIdentifierVisitor<Identifier<S1>, S2, T = S3, E = E> + ConstantVisitor<T = S4, E = E> + KeywordVisitor<T = S5, E = E> + SExprVisitor<S4, S1, S5, T = S6, E = E> + TermVisitor<S4, S3, S5, S6, S1, S2, T = S7, E = E> + CommandVisitor<S7, S1, S2, S5, S4, S6, T = T, E = E>,
pub fn accept<V, T, E, S1, S2, S3, S4, S5, S6, S7>(
self,
visitor: &mut V
) -> Result<T, E> where
V: SortVisitor<S1, T = S2, E = E> + SymbolVisitor<T = S1, E = E> + QualIdentifierVisitor<Identifier<S1>, S2, T = S3, E = E> + ConstantVisitor<T = S4, E = E> + KeywordVisitor<T = S5, E = E> + SExprVisitor<S4, S1, S5, T = S6, E = E> + TermVisitor<S4, S3, S5, S6, S1, S2, T = S7, E = E> + CommandVisitor<S7, S1, S2, S5, S4, S6, T = T, E = E>,
Visit a concrete command.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Command
impl UnwindSafe for Command
Blanket Implementations
Mutably borrows from an owned value. Read more