polyglot.frontend
Class VisitorPass
java.lang.Object
polyglot.frontend.AbstractPass
polyglot.frontend.VisitorPass
- All Implemented Interfaces:
- Pass
public class VisitorPass
- extends AbstractPass
A pass which runs a visitor.
Nested classes/interfaces inherited from interface polyglot.frontend.Pass |
Pass.ID |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
VisitorPass
public VisitorPass(Pass.ID id,
Job job)
VisitorPass
public VisitorPass(Pass.ID id,
Job job,
NodeVisitor v)
visitor
public void visitor(NodeVisitor v)
visitor
public NodeVisitor visitor()
run
public boolean run()
- Description copied from class:
AbstractPass
- Run the pass, returning true on success.
- Specified by:
run
in interface Pass
- Specified by:
run
in class AbstractPass
toString
public java.lang.String toString()
- Overrides:
toString
in class AbstractPass