org.extex.ocpware.compiler.expression
Class Right

java.lang.Object
  extended by org.extex.ocpware.compiler.expression.Right

public class Right
extends java.lang.Object

This class represents a list of expressions.

Version:
$Revision: 6447 $
Author:
Gerd Neugebauer

Constructor Summary
Right(java.util.List<Expr> right)
          Creates a new object.
 
Method Summary
 void compile(CompilerState cs, boolean withOffset)
          Compile a right item into appropriate instructions.
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Right

public Right(java.util.List<Expr> right)
Creates a new object.

Parameters:
right - the list of expressions
Method Detail

compile

public void compile(CompilerState cs,
                    boolean withOffset)
             throws StateNotDefinedException,
                    java.io.IOException,
                    TableNotDefinedException,
                    ArgmentTooBigException
Compile a right item into appropriate instructions.

Parameters:
cs - the compiler state
withOffset - use 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 I/O error
StateNotDefinedException
TableNotDefinedException - in case that no matching table is known for a symbolic table reference

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object
See Also:
Object.toString()