|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectTranslate.Exp
Translate.Exp.Ex
public static class Exp.Ex
A wrapper for tree code expressions that produce a value.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class Translate.Exp |
|---|
Exp.Cx, Exp.Ex, Exp.Nx |
| Constructor Summary | |
|---|---|
Exp.Ex(Tree.Exp e)
Wrap and return a tree code expression. |
|
| Method Summary | |
|---|---|
Tree.Stm |
unCx(Temp.Label t,
Temp.Label f)
Unwrap this expression, to obtain code that causes transfer of control based on the Boolean value of the expression. |
Tree.Exp |
unEx()
Unwrap this expression, to obtain tree code that computes a value. |
Tree.Stm |
unNx()
Unwrap this expression, to obtain tree code that should be executed only for its side-effects. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Exp.Ex(Tree.Exp e)
e - the wrapped tree code expression| Method Detail |
|---|
public Tree.Exp unEx()
Exp
unEx in class Exppublic Tree.Stm unNx()
Exp
unNx in class Exp
public Tree.Stm unCx(Temp.Label t,
Temp.Label f)
Exp
unCx in class Expt - label to branch to on truef - label to branch to on false
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||