de.dante.extex.interpreter.type
Interface CsConvertible


public interface CsConvertible

This is an interface which describes the feature to be convertible into a control sequence.

Version:
$Revision: 1.5 $
Author:
Gerd Neugebauer

Method Summary
 Token convertCs(Context context, TokenSource source)
          This method converts into control sequence.
 

Method Detail

convertCs

public Token convertCs(Context context,
                       TokenSource source)
                throws InterpreterException
This method converts into control sequence. It might be necessary to read further tokens to determine which value to use. For instance an additional register number might be required. In this case the additional arguments Context and TokenSource can be used.

Parameters:
context - the interpreter context
source - the source for new tokens
Returns:
the converted value
Throws:
InterpreterException - in case of an error