|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectpolyglot.frontend.AbstractPass
polyglot.frontend.PrettyPrintPass
public class PrettyPrintPass
An output pass generates output code from the processed AST.
| Field Summary | |
|---|---|
protected PrettyPrinter |
pp
|
protected CodeWriter |
w
|
| Fields inherited from class polyglot.frontend.AbstractPass |
|---|
exclusive_time, goal, inclusive_time |
| Constructor Summary | |
|---|---|
PrettyPrintPass(Goal goal,
CodeWriter w,
PrettyPrinter pp)
Create a PrettyPrinter. |
|
| Method Summary | |
|---|---|
boolean |
run()
Run the pass, returning true on success. |
| Methods inherited from class polyglot.frontend.AbstractPass |
|---|
exclusiveTime, goal, inclusiveTime, name, resetTimers, toggleTimers, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected PrettyPrinter pp
protected CodeWriter w
| Constructor Detail |
|---|
public PrettyPrintPass(Goal goal,
CodeWriter w,
PrettyPrinter pp)
outputFiles.
| Method Detail |
|---|
public boolean run()
AbstractPass
run in interface Passrun in class AbstractPass
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||