|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object
|
+--RETRAN
|
+--Expression
|
+--CondExpression
A conditional expression - modified for RETRAN-2
| Field Summary | |
private Expression |
falseBranch
|
private Expression |
testCond
|
private Expression |
trueBranch
|
| Constructor Summary | |
CondExpression(Expression c,
Expression t,
Expression f)
Constructs a CondExpression. |
|
| Method Summary | |
void |
JGen()
Generates java source code for the conditional expression. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private Expression testCond
private Expression trueBranch
private Expression falseBranch
| Constructor Detail |
public CondExpression(Expression c,
Expression t,
Expression f)
c - the test conditiont - the true branchf - the false branch| Method Detail |
public void JGen()
JGen in class RETRAN
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||