GNU Prolog for Java

gnu.prolog.vm.interpreter.instruction
Class RetryInstruction

java.lang.Object
  extended by gnu.prolog.vm.interpreter.instruction.Instruction
      extended by gnu.prolog.vm.interpreter.instruction.RetryInstruction
All Implemented Interfaces:
Installable
Direct Known Subclasses:
IRetryMeElse, ITryMeElse

public abstract class RetryInstruction
extends Instruction

base class to try_me_else and retry_me_else instructions. it exists only for purposes of code generation.


Field Summary
 int retryPosition
          position to go to on retry, it always points to either retry_me_else or to trust_me instructions
 
Fields inherited from class gnu.prolog.vm.interpreter.instruction.Instruction
codePosition
 
Constructor Summary
RetryInstruction(int retryPosition)
          a constructor
 
Method Summary
 
Methods inherited from class gnu.prolog.vm.interpreter.instruction.Instruction
execute, install, uninstall
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

retryPosition

public int retryPosition
position to go to on retry, it always points to either retry_me_else or to trust_me instructions

Constructor Detail

RetryInstruction

public RetryInstruction(int retryPosition)
a constructor

Parameters:
retryPosition -

GNU Prolog for Java