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

Assert
Show fields

Fields of Assert

term: Term
CheckSat
CheckSatAssuming
Show fields

Fields of CheckSatAssuming

literals: Vec<(Symbol, bool)>
DeclareConst
Show fields

Fields of DeclareConst

symbol: Symbolsort: Sort
DeclareDatatype
Show fields

Fields of DeclareDatatype

symbol: Symboldatatype: DatatypeDec
DeclareDatatypes
Show fields

Fields of DeclareDatatypes

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

Fields of DeclareFun

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

Fields of DeclareSort

symbol: Symbolarity: Numeral
DefineFun
Show fields

Fields of DefineFun

sig: FunctionDecterm: Term
DefineFunRec
Show fields

Fields of DefineFunRec

sig: FunctionDecterm: Term
DefineFunsRec
Show fields

Fields of DefineFunsRec

funs: Vec<(FunctionDec, Term)>
DefineSort
Show fields

Fields of DefineSort

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

Fields of Echo

message: String
Exit
GetAssertions
GetAssignment
GetInfo
Show fields

Fields of GetInfo

flag: Keyword
GetModel
GetOption
Show fields

Fields of GetOption

keyword: Keyword
GetProof
GetUnsatAssumptions
GetUnsatCore
GetValue
Show fields

Fields of GetValue

terms: Vec<Term>
Pop
Show fields

Fields of Pop

level: Numeral
Push
Show fields

Fields of Push

level: Numeral
Reset
ResetAssertions
SetInfo
Show fields

Fields of SetInfo

keyword: Keywordvalue: AttributeValue
SetLogic
Show fields

Fields of SetLogic

symbol: Symbol
SetOption
Show fields

Fields of SetOption

keyword: Keywordvalue: AttributeValue

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.