public class Datatype extends Object implements Iterable<DatatypeConstructor>
| Modifier and Type | Class and Description |
|---|---|
class |
Datatype.ConstIterator |
| Modifier and Type | Field and Description |
|---|---|
protected long |
pointer |
| Modifier and Type | Method and Description |
|---|---|
void |
deletePointer() |
protected void |
deletePointer(long pointer) |
boolean |
equals(Object dt)
Syntactic equality operator.
|
DatatypeConstructor |
getConstructor(int idx)
Get the datatype constructor at a given index.
|
DatatypeConstructor |
getConstructor(String name)
Get the datatype constructor with the given name.
|
String |
getName() |
int |
getNumConstructors() |
Sort[] |
getParameters() |
long |
getPointer() |
DatatypeSelector |
getSelector(String name)
Get the datatype constructor with the given name.
|
int |
hashCode()
Get the hash value of a datatype.
|
boolean |
isCodatatype() |
boolean |
isFinite() |
boolean |
isNull() |
boolean |
isParametric() |
boolean |
isRecord() |
boolean |
isTuple() |
boolean |
isWellFounded()
Is this datatype well-founded?
|
Iterator<DatatypeConstructor> |
iterator() |
String |
toString() |
protected String |
toString(long pointer) |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorprotected void deletePointer(long pointer)
public boolean equals(Object dt)
public DatatypeConstructor getConstructor(int idx)
idx - The index of the datatype constructor to return.public DatatypeConstructor getConstructor(String name)
name - The name of the datatype constructor.public DatatypeSelector getSelector(String name)
name - The name of the datatype selector.public String getName()
public int getNumConstructors()
public Sort[] getParameters()
public boolean isParametric()
public boolean isCodatatype()
public boolean isTuple()
public boolean isRecord()
public boolean isFinite()
public boolean isWellFounded()
public boolean isNull()
protected String toString(long pointer)
public Iterator<DatatypeConstructor> iterator()
iterator in interface Iterable<DatatypeConstructor>public int hashCode()
public long getPointer()
public void deletePointer()