jltools.frontend
Class  AbstractPass
java.lang.Object
  |
  +--jltools.frontend.AbstractPass
- All Implemented Interfaces: 
 - Pass
 
- Direct Known Subclasses: 
 - BarrierPass, EmptyPass, ParserPass, Translator, VisitorPass
 
- public abstract class AbstractPass
- extends java.lang.Object
- implements Pass
   
The base class for most passes.
 
 
 
| 
Method Summary | 
 void | 
reinit()
 
          Reinitialize the pass so it can be rerun. | 
 boolean | 
repeat()
 
          Return true if the pass should be rerun. | 
abstract  boolean | 
run()
 
          Run the pass. | 
 java.util.List | 
runAfter()
 
          Return the list of passes which we must run after. | 
 void | 
runAfter(Pass pass)
 
          Run this pass after pass. | 
 jltools.frontend.Status | 
status()
 
          Get the status of the pass. | 
 void | 
status(jltools.frontend.Status status)
 
            | 
 java.lang.String | 
toString()
 
            | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
| Methods inherited from interface jltools.frontend.Pass | 
status | 
 
AbstractPass
public AbstractPass()
runAfter
public void runAfter(Pass pass)
- Description copied from interface: 
Pass 
- Run this pass after 
pass.  This will cause the pass to be rerun if it is currently running.
- Specified by: 
 runAfter in interface Pass
 
 
repeat
public boolean repeat()
- Description copied from interface: 
Pass 
- Return true if the pass should be rerun.
- Specified by: 
 repeat in interface Pass
 
 
reinit
public void reinit()
- Description copied from interface: 
Pass 
- Reinitialize the pass so it can be rerun.
- Specified by: 
 reinit in interface Pass
 
 
runAfter
public java.util.List runAfter()
- Description copied from interface: 
Pass 
- Return the list of passes which we must run after.
- Specified by: 
 runAfter in interface Pass
 
 
status
public jltools.frontend.Status status()
- Description copied from interface: 
Pass 
- Get the status of the pass.
- Specified by: 
 status in interface Pass
 
 
status
public void status(jltools.frontend.Status status)
 
run
public abstract boolean run()
- Description copied from interface: 
Pass 
- Run the pass.
- Specified by: 
 run in interface Pass
 
 
toString
public java.lang.String toString()
- Overrides:
 toString in class java.lang.Object