|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpolyglot.frontend.AbstractPass
polyglot.frontend.VisitorPass
public class VisitorPass
A pass which runs a visitor.
Field Summary |
---|
Fields inherited from class polyglot.frontend.AbstractPass |
---|
exclusive_time, goal, inclusive_time |
Constructor Summary | |
---|---|
VisitorPass(Goal goal)
|
|
VisitorPass(Goal goal,
NodeVisitor v)
|
Method Summary | |
---|---|
java.lang.String |
name()
The human-readable name of the pass. |
boolean |
run()
Run the pass, returning true on success. |
NodeVisitor |
visitor()
|
void |
visitor(NodeVisitor v)
|
Methods inherited from class polyglot.frontend.AbstractPass |
---|
exclusiveTime, goal, inclusiveTime, resetTimers, toggleTimers, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VisitorPass(Goal goal)
public VisitorPass(Goal goal, NodeVisitor v)
Method Detail |
---|
public void visitor(NodeVisitor v)
public NodeVisitor visitor()
public boolean run()
AbstractPass
run
in interface Pass
run
in class AbstractPass
public java.lang.String name()
AbstractPass
name
in interface Pass
name
in class AbstractPass
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |