polyglot.frontend.goals
Class TypeExists
java.lang.Object
polyglot.frontend.goals.AbstractGoal
polyglot.frontend.goals.TypeExists
- All Implemented Interfaces:
- Goal
public class TypeExists
- extends AbstractGoal
Comment for TypeExists
- Author:
- nystrom
Field Summary |
protected java.lang.String |
typeName
|
Constructor Summary |
protected |
TypeExists(java.lang.String name)
|
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 |
typeName
protected java.lang.String typeName
TypeExists
protected TypeExists(java.lang.String name)
create
public static Goal create(Scheduler scheduler,
java.lang.String name)
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
typeName
public java.lang.String typeName()
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