|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Ident | +--Type
This class represents a type indentifier
Field Summary | |
static Type |
ErrType
Error Type. |
static Type |
UnivType
Universal Type. |
Constructor Summary | |
Type(String name)
Constructor of the type. |
Method Summary | |
Node |
constant()
Returns the constant of the type. |
boolean |
equal(Type type)
Indicates whether some other type is corresponding to this one. |
int |
incrNumGene()
Increments and returns number of generated variables from this type. |
boolean |
isBoolean()
Indicates if this type has boolean property. |
Node |
oppositeOf(Node c)
Gives opposite of a specified boolean constant. |
void |
setTestSet(NodeList ts)
Sets the test set of the type to a specified list of term. |
NodeList |
testSet()
Returns test set of the type. |
String |
toString()
Returns a string representation of this identifier. |
Methods inherited from class Ident |
getName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static Type ErrType
public static Type UnivType
Constructor Detail |
public Type(String name)
name
- name of the type.Method Detail |
public int incrNumGene()
public NodeList testSet()
public Node constant()
public void setTestSet(NodeList ts)
ts
- the specified node list.public boolean isBoolean()
public Node oppositeOf(Node c)
c
- a node.public boolean equal(Type type)
type
- the other type.public String toString()
toString
in class Ident
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |