Class MatchTerm
java.lang.Object
de.uni_freiburg.informatik.ultimate.logic.Term
de.uni_freiburg.informatik.ultimate.logic.MatchTerm
public class MatchTerm extends Term
Represents a match term in SMTLIB 2. This class represents the
SMTLIB 2 construct
(match t (((c_1 v_11.. v1m) t_1) ... ((c_n v_n1.. vnm) t_m)))
- Author:
- Jochen Hoenicke
-
Field Summary
-
Method Summary
Modifier and Type Method Description Term[]getCases()DataType.Constructor[]getConstructors()TermgetDataTerm()SortgetSort()Returns the SMTLIB sort of this term.TermVariable[][]getVariables()static inthashMatch(Term dataArg, TermVariable[][] vars, Term[] cases)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
-
getSort
Description copied from class:TermReturns the SMTLIB sort of this term. -
getDataTerm
-
getConstructors
-
getVariables
-
getCases
-
hashMatch
-
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
-