|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.norecess.citkit.tir.expressions.NilETIR
public class NilETIR
The TIR for a nil value.
Constructor Summary | |
---|---|
NilETIR()
Constructs a nil expression. |
|
NilETIR(IPosition position)
Constructs a nil expression. |
Method Summary | ||
---|---|---|
|
accept(ExpressionTIRVisitor<T> visitor)
Implements the visitor pattern with ExpressionTIRVisitor . |
|
boolean |
equals(java.lang.Object o)
|
|
IPosition |
getPosition()
Retrieves the position of the code that generated the TIR. |
|
HobbesType |
getType()
Retrieves the type of the expression. |
|
int |
hashCode()
|
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NilETIR(IPosition position)
position
- the position of the nil expression.public NilETIR()
Method Detail |
---|
public HobbesType getType()
ExpressionTIR
getType
in interface ExpressionTIR
public <T> T accept(ExpressionTIRVisitor<T> visitor)
ExpressionTIR
ExpressionTIRVisitor
.
accept
in interface ExpressionTIR
visitor
- the visitor object.
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public IPosition getPosition()
getPosition
in interface HobbesTIR
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |