|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectpolyglot.frontend.AbstractPass
polyglot.frontend.ParserPass
public class ParserPass
A pass which runs a parser. After parsing it stores the AST in the Job. so it can be accessed by later passes.
| Field Summary | |
|---|---|
protected Compiler |
compiler
|
| Fields inherited from class polyglot.frontend.AbstractPass |
|---|
exclusive_time, goal, inclusive_time |
| Constructor Summary | |
|---|---|
ParserPass(Compiler compiler,
Goal goal)
|
|
| Method Summary | |
|---|---|
boolean |
run()
Run the pass, returning true on success. |
java.lang.String |
toString()
|
| Methods inherited from class polyglot.frontend.AbstractPass |
|---|
exclusiveTime, goal, inclusiveTime, name, resetTimers, toggleTimers |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Compiler compiler
| Constructor Detail |
|---|
public ParserPass(Compiler compiler,
Goal goal)
| Method Detail |
|---|
public boolean run()
AbstractPass
run in interface Passrun in class AbstractPasspublic java.lang.String toString()
toString in class AbstractPass
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||