|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectpiglet.translate.SpigletResult
public final class SpigletResult
The result of visiting a Piglet expression subtree in translating to Spiglet.
| Constructor Summary | |
|---|---|
SpigletResult(SimpleExp exp)
Wraps a simple expression as a result. |
|
| Method Summary | |
|---|---|
SimpleExp |
getExp()
Returns the wrapped expression result. |
SpigletTemp |
processAsTemp(SpigletContext context)
Returns a Temp object that is equivalent to the evaluation of the wrapped expression result. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpigletResult(SimpleExp exp)
exp - the expression result| Method Detail |
|---|
public SimpleExp getExp()
public SpigletTemp processAsTemp(SpigletContext context)
context - the context to where a possible MOVE statement
might be attached
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||