|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcetus.hir.Expression
cetus.hir.InfExpression
public class InfExpression
Class InfExpression expresses infinity states of values.
| Field Summary |
|---|
| Fields inherited from class cetus.hir.Expression |
|---|
children, needs_parens, object_print_method, parent |
| Constructor Summary | |
|---|---|
InfExpression(int sign)
Constructor |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clone method |
int |
compareTo(Expression e)
|
static void |
defaultPrint(InfExpression inf,
java.io.OutputStream stream)
Default print method |
boolean |
equals(java.lang.Object o)
|
int |
sign()
Returns the sign of the infinity expression |
java.lang.String |
toString()
Converts the expression to String |
| Methods inherited from class cetus.hir.Expression |
|---|
equals2, findExpression, getChildren, getParent, getStatement, needsParens, print, printSelf, removeChild, setChild, setParens, setParent, setPrintMethod, swapWith, verify |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InfExpression(int sign)
sign - the sign of the infinity expression| Method Detail |
|---|
public java.lang.Object clone()
clone in class Expression
public static void defaultPrint(InfExpression inf,
java.io.OutputStream stream)
public java.lang.String toString()
toString in class Expressionpublic boolean equals(java.lang.Object o)
equals in class Expressionpublic int compareTo(Expression e)
compareTo in interface java.lang.Comparable<Expression>compareTo in class Expressionpublic int sign()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||