polyglot.frontend.goals
Class VisitorGoal

java.lang.Object
  extended by polyglot.frontend.goals.AbstractGoal
      extended by polyglot.frontend.goals.SourceFileGoal
          extended by polyglot.frontend.goals.VisitorGoal
All Implemented Interfaces:
Goal
Direct Known Subclasses:
ConstantsChecked, ConstructorCallsChecked, Disambiguated, ExceptionsChecked, ExitPathsChecked, ForwardReferencesChecked, ImportTableInitialized, InitializationsChecked, ReachabilityChecked, SignaturesDisambiguated, SupertypesDisambiguated, TypeChecked, TypesInitialized

public class VisitorGoal
extends SourceFileGoal


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
VisitorGoal(Job job, NodeVisitor v)
           
 
Method Summary
 Pass createPass(ExtensionInfo extInfo)
          Creates a pass to attempt to satisfy the goal.
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 java.lang.String toString()
           
 NodeVisitor visitor()
           
 
Methods inherited from class polyglot.frontend.goals.AbstractGoal
addCorequisiteGoal, addPrerequisiteGoal, checkCycles, conflictsWith, corequisiteGoals, hasBeenReached, isReachable, job, name, prerequisiteGoals, setState, setUnreachable, setUnreachableThisRun, state, stateString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VisitorGoal

public VisitorGoal(Job job,
                   NodeVisitor v)
Method Detail

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

visitor

public NodeVisitor visitor()

hashCode

public int hashCode()
Overrides:
hashCode in class AbstractGoal

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class AbstractGoal

toString

public java.lang.String toString()
Overrides:
toString in class AbstractGoal