Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.grinvin.expr.ExpressionToString
Method Summary | |
int |
|
String |
|
void |
|
void |
|
void |
|
public int getStrength()
Return the strength of the resulting string. (Used to determine whether parentheses are needed.)
public String getString()
Return the resulting string.
public void visitCompound(Compound compound)
- Specified by:
- visitCompound in interface Expression.Visitor
public void visitIntegerLiteral(IntegerLiteral literal)
- Specified by:
- visitIntegerLiteral in interface Expression.Visitor
public void visitInvariant(Invariant invariant)
- Specified by:
- visitInvariant in interface Expression.Visitor