public class TermVariable extends Term
lets
,
quantified formulas
, and
define-fun
.
Term variables are created by Script.variable(String, Sort)
.Modifier and Type | Method and Description |
---|---|
Sort |
getDeclaredSort()
Return the declared sort of the variable.
|
java.lang.String |
getName()
Return the name of the variable.
|
Sort |
getSort()
Return the (expanded) sort of the variable.
|
java.lang.String |
toString()
The SMTLIB representation of the term.
|
void |
toStringHelper(java.util.ArrayDeque<java.lang.Object> mTodo)
Convert a term to a string in a stack based fashion.
|
getFreeVars, getTheory, hashCode, toStringDirect
public java.lang.String getName()
public Sort getDeclaredSort()
public Sort getSort()
public java.lang.String toString()
public void toStringHelper(java.util.ArrayDeque<java.lang.Object> mTodo)
toStringHelper
in class Term
mTodo
- The stack where to put the strings and sub terms.PrintTerm