polyglot.frontend.goals
Class CodeGenerated

java.lang.Object
  extended by polyglot.frontend.goals.AbstractGoal
      extended by polyglot.frontend.goals.SourceFileGoal
          extended by polyglot.frontend.goals.CodeGenerated
All Implemented Interfaces:
EndGoal, Goal

public class CodeGenerated
extends SourceFileGoal
implements EndGoal

Comment for CompileGoal

Author:
nystrom

Field Summary
 
Fields inherited from class polyglot.frontend.goals.AbstractGoal
corequisites, job, name, prerequisites, state
 
Fields inherited from interface polyglot.frontend.goals.Goal
ATTEMPTED, REACHED, RUNNING, UNREACHABLE, UNREACHABLE_THIS_RUN, UNREACHED
 
Constructor Summary
protected CodeGenerated(Job job)
           
 
Method Summary
static Goal create(Scheduler scheduler, Job job)
           
 Pass createPass(ExtensionInfo extInfo)
          Creates a pass to attempt to satisfy the goal.
 java.util.Collection prerequisiteGoals(Scheduler scheduler)
          Goals that must be completed before attempting this goal.
 
Methods inherited from class polyglot.frontend.goals.AbstractGoal
addCorequisiteGoal, addPrerequisiteGoal, checkCycles, conflictsWith, corequisiteGoals, equals, hasBeenReached, hashCode, isReachable, job, name, setState, setUnreachable, setUnreachableThisRun, state, stateString, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface polyglot.frontend.goals.Goal
addCorequisiteGoal, addPrerequisiteGoal, conflictsWith, corequisiteGoals, hasBeenReached, isReachable, job, name, setState, setUnreachable, setUnreachableThisRun, state
 

Constructor Detail

CodeGenerated

protected CodeGenerated(Job job)
Parameters:
job - The job to compile.
Method Detail

create

public static Goal create(Scheduler scheduler,
                          Job job)

createPass

public Pass createPass(ExtensionInfo extInfo)
Description copied from class: AbstractGoal
Creates a pass to attempt to satisfy the goal.

Specified by:
createPass in interface Goal
Specified by:
createPass in class AbstractGoal

prerequisiteGoals

public java.util.Collection prerequisiteGoals(Scheduler scheduler)
Description copied from interface: Goal
Goals that must be completed before attempting this goal. The graph of dependencies between prerequisite goals should be acyclic.

Specified by:
prerequisiteGoals in interface Goal
Overrides:
prerequisiteGoals in class AbstractGoal