polyglot.frontend
Class SpawnPass

java.lang.Object
  extended by polyglot.frontend.AbstractPass
      extended by polyglot.frontend.SpawnPass
All Implemented Interfaces:
Pass

public class SpawnPass
extends AbstractPass

The SpawnPass spawns a new job and runs it on the current job's top-level context and ast. This allows passes to be re-run.


Nested Class Summary
 
Nested classes/interfaces inherited from interface polyglot.frontend.Pass
Pass.ID
 
Field Summary
 
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
SpawnPass(Pass.ID id, Job job, Pass.ID begin, Pass.ID end)
           
 
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
 

Constructor Detail

SpawnPass

public SpawnPass(Pass.ID id,
                 Job job,
                 Pass.ID begin,
                 Pass.ID end)
Method Detail

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