|
|||||||||
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.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface polyglot.frontend.Pass |
---|
Pass.ID |
Field Summary | |
---|---|
protected Job |
job
|
protected PrettyPrinter |
pp
|
protected CodeWriter |
w
|
Fields inherited from class polyglot.frontend.AbstractPass |
---|
exclusive_time, id, inclusive_time |
Fields inherited from interface polyglot.frontend.Pass |
---|
ADD_MEMBERS, ADD_MEMBERS_ALL, BUILD_TYPES, BUILD_TYPES_ALL, CLEAN_SIGS, CLEAN_SUPER, CLEAN_SUPER_ALL, CONSTRUCTOR_CHECK, DISAM, DISAM_ALL, DUMP, EXC_CHECK, EXIT_CHECK, FIRST_BARRIER, FOLD, FWD_REF_CHECK, INIT_CHECK, OUTPUT, PARSE, PRE_OUTPUT_ALL, REACH_CHECK, SERIALIZE, SET_EXPECTED_TYPES, TYPE_CHECK |
Constructor Summary | |
---|---|
PrettyPrintPass(Pass.ID id,
Job job,
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, id, 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 Job job
protected PrettyPrinter pp
protected CodeWriter w
Constructor Detail |
---|
public PrettyPrintPass(Pass.ID id, Job job, CodeWriter w, PrettyPrinter pp)
outputFiles
.
Method Detail |
---|
public boolean run()
AbstractPass
run
in interface Pass
run
in class AbstractPass
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |