public class ResiduatedGoal extends Goal
| Constructor and Description |
|---|
ResiduatedGoal(Goal goal)
Constructs a residuation with the specified goal.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTrigger(Type type)
Installs a trigger link to this residuation from each unbound type parameter that
occurs in the specified type.
|
int |
refCount()
Returns the number of unbound type parameters in this residuation.
|
void |
release(Type type,
GoalProver prover)
Releases this residuation for the specified type in the context of the specified
goal prover.
|
ResiduatedGoal |
setGoal(Goal goal)
Sets the goal controlled by this residuation to be the specified goal, and
returns this residuation.
|
void |
setRefCount(int n)
Sets the number of unbound type parameters in this residuation.
|
java.lang.String |
toString()
Returns a printable form for this residuation.
|
void |
trigger(GoalProver prover)
Triggers this residuation in the context of the specified goal prover.
|
setTimeStamp, setTimeStamp, timeStamppublic ResiduatedGoal(Goal goal)
public final int refCount()
public final ResiduatedGoal setGoal(Goal goal)
public final void setRefCount(int n)
public final void addTrigger(Type type)
public final void release(Type type, GoalProver prover) throws FailedUnificationException
FailedUnificationExceptionpublic final void trigger(GoalProver prover) throws FailedUnificationException
FailedUnificationException