org.extex.unit.omega.ocp
Class Addafterocplist

java.lang.Object
  extended by org.extex.interpreter.type.AbstractCode
      extended by org.extex.unit.omega.ocp.AbstractOcplist
          extended by org.extex.unit.omega.ocp.Addafterocplist
All Implemented Interfaces:
java.io.Serializable, Code, OcplistConvertible

public class Addafterocplist
extends AbstractOcplist

This class provides an implementation for the primitive \addafterocplist.

The Primitive \addafterocplist

The primitive \addafterocplist can be used to build up an ΩPC list. It is valid in the context of the primitive \ocplist only.

Syntax

The formal description of this primitive is the following:
    ⟨addafterocplist⟩
      → \addafterocplistfloat⟩ ⟨ocp register

Examples

 \addafterocplist  1.5 \myopc 

Version:
$Revision: 4732 $
Author:
Gerd Neugebauer
See Also:
Serialized Form

Constructor Summary
Addafterocplist(CodeToken token)
          Creates a new object.
 
Method Summary
 OcpList convertOcplist(Context context, TokenSource source, Typesetter typesetter)
          Convert the value into an ΩPC list.
 
Methods inherited from class org.extex.unit.omega.ocp.AbstractOcplist
execute, scanOcplist
 
Methods inherited from class org.extex.interpreter.type.AbstractCode
getLocalizer, getName, getToken, isIf, isOuter, readResolve, toString, toText, toText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Addafterocplist

public Addafterocplist(CodeToken token)
Creates a new object.

Parameters:
token - the initial token for the primitive
Method Detail

convertOcplist

public OcpList convertOcplist(Context context,
                              TokenSource source,
                              Typesetter typesetter)
                       throws HelpingException
Convert the value into an ΩPC list. Some tokens may be read from the input stream to perform the job.

Parameters:
context - the interpreter context
source - the source for new tokens
typesetter - the typesetter
Returns:
the ΩPC list encountered
Throws:
HelpingException - in case of an error
See Also:
OcplistConvertible.convertOcplist( org.extex.interpreter.context.Context, org.extex.interpreter.TokenSource, org.extex.typesetter.Typesetter)