org.extex.unit.omega.ocp.util
Interface OcpConvertible

All Known Implementing Classes:
Ocp

public interface OcpConvertible

This interface describes the feature of a code to be convertible into an ΩPC.

Version:
$Revision:4411 $
Author:
Gerd Neugebauer

Method Summary
 Ocp convertOcp(Context context, TokenSource source, Typesetter typesetter)
          Convert the value into an ΩPC.
 

Method Detail

convertOcp

Ocp convertOcp(Context context,
               TokenSource source,
               Typesetter typesetter)
               throws HelpingException
Convert the value into an ΩPC. 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 Ocp encountered
Throws:
HelpingException - in case of an error