Class LetTerm
java.lang.Object
de.uni_freiburg.informatik.ultimate.logic.Term
de.uni_freiburg.informatik.ultimate.logic.LetTerm
public class LetTerm extends Term
Representation of a let term. This class represents the SMTLIB 2 construct
(let ((var_0 val_0) ... (var_n val_n)) ...)A let term is created by
Script.let(TermVariable[], Term[], Term).- Author:
- hoenicke
-
Field Summary
-
Method Summary
Modifier and Type Method Description SortgetSort()Returns the SMTLIB sort of this term.TermgetSubTerm()Term[]getValues()TermVariable[]getVariables()static inthashLet(TermVariable[] vars, Term[] values, Term subform)voidtoStringHelper(java.util.ArrayDeque<java.lang.Object> mTodo)Convert a term to a string in a stack based fashion.Methods inherited from class de.uni_freiburg.informatik.ultimate.logic.Term
getFreeVars, getTheory, hashCode, toString, toStringDirect
-
Method Details
-
getVariables
- Returns:
- The variables
-
getValues
- Returns:
- The values
-
getSubTerm
- Returns:
- The subformula
-
getSort
Description copied from class:TermReturns the SMTLIB sort of this term. -
hashLet
-
toStringHelper
public void toStringHelper(java.util.ArrayDeque<java.lang.Object> mTodo)Description copied from class:TermConvert a term to a string in a stack based fashion. This is used for internal purposes. External users can just use toString() or toStringDirect().- Specified by:
toStringHelperin classTerm- Parameters:
mTodo- The stack where to put the strings and sub terms.- See Also:
PrintTerm
-