gnu.prolog.vm.interpreter.instruction
Class IRetryMeElse
java.lang.Object
   gnu.prolog.vm.interpreter.instruction.Instruction
gnu.prolog.vm.interpreter.instruction.Instruction
       gnu.prolog.vm.interpreter.instruction.RetryInstruction
gnu.prolog.vm.interpreter.instruction.RetryInstruction
           gnu.prolog.vm.interpreter.instruction.IRetryMeElse
gnu.prolog.vm.interpreter.instruction.IRetryMeElse
- All Implemented Interfaces: 
- Installable
- public class IRetryMeElse 
- extends RetryInstruction
retry_me_else instruction
 
 
 
| Constructor Summary | 
| IRetryMeElse(int retryPosition)a constructor
 | 
 
 
 
 
IRetryMeElse
public IRetryMeElse(int retryPosition)
- a constructor
 
- Parameters:
- retryPosition-
 
execute
public int execute(ExecutionState state,
                   BacktrackInfo bi)
            throws PrologException
- execute call instruction within specified sate
 
- 
- Specified by:
- executein class- Instruction
 
- 
- Parameters:
- state- state within which instruction will be executed
- Returns:
- instruction to caller how to execute next instruction
- Throws:
- PrologException- if code is throwing prolog exception
 
toString
public String toString()
- convert instruction to string
 
- 
- Overrides:
- toStringin class- Object
 
-