public final class Sort
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
Sort[] |
getArguments()
Get the sort arguments for a sort.
|
java.lang.String |
getIndexedName()
Get the indexed name of this sort in smtlib representation.
|
java.math.BigInteger[] |
getIndices()
Get the indices, if this is an indexed sort like (_ bv 5).
|
java.lang.String |
getName()
Get the name of this sort.
|
Sort |
getRealSort()
Get the real sort.
|
de.uni_freiburg.informatik.ultimate.logic.Theory |
getTheory() |
int |
hashCode() |
boolean |
isArraySort()
Returns true if this is an array sort.
|
boolean |
isInternal()
Returns true if this sort is internal, i.e., defined by an SMTLIB
theory.
|
boolean |
isNumericSort()
Returns true if this is a numeric sort.
|
boolean |
isParametric()
This returns true if and only if the sort was created with
Script.sortVariables(String...) . |
java.lang.String |
toString()
This returns the SMTLIB string represenation of this sort.
|
public java.lang.String getName()
public java.lang.String getIndexedName()
public java.math.BigInteger[] getIndices()
public Sort[] getArguments()
declare-sort(name, int)
where the second parameter is not zero. In that case the sort is created
with sort arguments and these arguments are returned by this method.public Sort getRealSort()
define-sort
.
For other sorts this just returns this.public boolean isParametric()
Script.sortVariables(String...)
. These are only used for a
later define-sort
command.public java.lang.String toString()
toString
in class java.lang.Object
public de.uni_freiburg.informatik.ultimate.logic.Theory getTheory()
public boolean isArraySort()
public boolean isNumericSort()
public boolean isInternal()
public int hashCode()
hashCode
in class java.lang.Object