|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectharpoon.IR.Tree.Translation
public abstract class Translation
Translation
is an empty class wrapper for various
special context-sensitive Tree.Exp
wrappers.
Boolean expressions are often best compiled different ways
depending on whether they are used in a direct assignment or
as the argument to a conditional branch.
Translation.Exp
is a closure object that allows
this sort of conditional context-sensitive expression resolution.
Nested Class Summary | |
---|---|
static class |
Translation.Cx
The Translation.Cx abstract class specifies how to
evaluate a conditional as an expression or as a side-effects-only
statement. |
static class |
Translation.Ex
The Translation.Ex class is a Translation.Exp
representing a value expression. |
static class |
Translation.Exp
The Translation.Exp class represents an expression
that might be used in several different ways: as a value,
as a branch condition, or as code to be executed for side-effects
only. |
static class |
Translation.Nx
The Translation.Nx class is a Translation.Exp
representing a statement. |
Constructor Summary | |
---|---|
Translation()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Translation()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |