|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTranslate.Exp
Translate.Exp.Nx
public static class Exp.Nx
A wrapper for tree code statements that have side-effects.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class Translate.Exp |
---|
Exp.Cx, Exp.Ex, Exp.Nx |
Constructor Summary | |
---|---|
Exp.Nx(Tree.Stm s)
Wrap and return a tree code statement. |
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.Nx(Tree.Stm s)
s
- the wrapped tree code statementMethod Detail |
---|
public Tree.Exp unEx()
Exp
unEx
in class Exp
public Tree.Stm unNx()
Exp
unNx
in class Exp
public Tree.Stm unCx(Temp.Label t, Temp.Label f)
Exp
unCx
in class Exp
t
- 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 |