|
|
| Term () |
| | Construct a new term object.
|
| |
| | Term (Expression e) |
| | Construct a term with the expression e.
|
| |
| | Term (Formula f) |
| | Construct a term with the formula f.
|
| |
| Type | type () const |
| | Get read-only access to the type of the term.
|
| |
| const Expression & | expression () const |
| | Get read-only access to the expression of the term.
|
| |
| Expression & | m_expression () |
| | Get read-write access to the expression of the term.
|
| |
| const Formula & | formula () const |
| | Get read-only access to the formula of the term.
|
| |
| Formula & | m_formula () |
| | Get read-write access to the formula of the term.
|
| |
| Term | Substitute (const Variable &v, const Term &t) |
| | Create a new Term with substitutes the variable v in this term with t.
|
| |
| void | Check (Sort s) const |
| | Check if this term can be matched with s.
|
| |
| void | Check (Variable::Type t) const |
| | Check if this term can be matched with t.
|
| |
Generic term that can be either an expression or a formula.
It is used to store the parsed term from the SMT2 file. They can take many forms, such as:
- variables
- constants
- functions
Definition at line 34 of file Term.h.