Enum smt2parser::concrete::Command[][src]

pub enum Command<Term = Term, Symbol = Symbol, Sort = Sort, Keyword = Keyword, Constant = Constant, SExpr = SExpr> {
Show 30 variants Assert { term: Term, }, CheckSat, CheckSatAssuming { literals: Vec<(Symbol, bool)>, }, DeclareConst { symbol: Symbol, sort: Sort, }, DeclareDatatype { symbol: Symbol, datatype: DatatypeDec<Symbol, Sort>, }, DeclareDatatypes { datatypes: Vec<(Symbol, Numeral, DatatypeDec<Symbol, Sort>)>, }, DeclareFun { symbol: Symbol, parameters: Vec<Sort>, sort: Sort, }, DeclareSort { symbol: Symbol, arity: Numeral, }, DefineFun { sig: FunctionDec<Symbol, Sort>, term: Term, }, DefineFunRec { sig: FunctionDec<Symbol, Sort>, term: Term, }, DefineFunsRec { funs: Vec<(FunctionDec<Symbol, Sort>, 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<Constant, Symbol, SExpr>, }, SetLogic { symbol: Symbol, }, SetOption { keyword: Keyword, value: AttributeValue<Constant, Symbol, SExpr>, },
}
Expand description

Concrete syntax for a command.

Variants

Assert

Fields of Assert

term: Term
CheckSat
CheckSatAssuming

Fields of CheckSatAssuming

literals: Vec<(Symbol, bool)>
DeclareConst

Fields of DeclareConst

symbol: Symbolsort: Sort
DeclareDatatype

Fields of DeclareDatatype

symbol: Symboldatatype: DatatypeDec<Symbol, Sort>
DeclareDatatypes

Fields of DeclareDatatypes

datatypes: Vec<(Symbol, Numeral, DatatypeDec<Symbol, Sort>)>
DeclareFun

Fields of DeclareFun

symbol: Symbolparameters: Vec<Sort>sort: Sort
DeclareSort

Fields of DeclareSort

symbol: Symbolarity: Numeral
DefineFun

Fields of DefineFun

sig: FunctionDec<Symbol, Sort>term: Term
DefineFunRec

Fields of DefineFunRec

sig: FunctionDec<Symbol, Sort>term: Term
DefineFunsRec

Fields of DefineFunsRec

funs: Vec<(FunctionDec<Symbol, Sort>, Term)>
DefineSort

Fields of DefineSort

symbol: Symbolparameters: Vec<Symbol>sort: Sort
Echo

Fields of Echo

message: String
Exit
GetAssertions
GetAssignment
GetInfo

Fields of GetInfo

flag: Keyword
GetModel
GetOption

Fields of GetOption

keyword: Keyword
GetProof
GetUnsatAssumptions
GetUnsatCore
GetValue

Fields of GetValue

terms: Vec<Term>
Pop

Fields of Pop

level: Numeral
Push

Fields of Push

level: Numeral
Reset
ResetAssertions
SetInfo

Fields of SetInfo

keyword: Keywordvalue: AttributeValue<Constant, Symbol, SExpr>
SetLogic

Fields of SetLogic

symbol: Symbol
SetOption

Fields of SetOption

keyword: Keywordvalue: AttributeValue<Constant, Symbol, SExpr>

Implementations

Visit a concrete command.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Formats the value using the given formatter. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.