org.extex.ocpware.compiler.state
Interface RightState

All Known Implementing Classes:
StateChange, StatePop, StatePush

public interface RightState

This interface describes the variants of a state change instruction.

Version:
$Revision:6007 $
Author:
Gerd Neugebauer

Method Summary
 void compile(CompilerState cs, boolean withOffset)
          Translate a right state expression into a set of instructions.
 

Method Detail

compile

void compile(CompilerState cs,
             boolean withOffset)
             throws ArgmentTooBigException,
                    java.io.IOException,
                    StateNotDefinedException
Translate a right state expression into a set of instructions.

Parameters:
cs - the compiler state
withOffset - push back instead of output
Throws:
ArgmentTooBigException - in case that an argument is encountered which does not fit into two bytes
java.io.IOException - in case of an error
StateNotDefinedException