org.extex.interpreter.type
Interface CodeExpander

All Known Implementing Classes:
Noexpand, The

public interface CodeExpander

This is an interface for those primitives which are protected during expansion of arguments of primitives like \edef, \xdef, \message, and others..

Version:
$Revision: 6447 $
Author:
Gerd Neugebauer
See Also:
TokenSource.scanUnprotectedTokens(Context, boolean, boolean, CodeToken)

Method Summary
 void expandCode(Context context, TokenSource source, Typesetter typesetter, Tokens tokens)
          Expand the first token and place the result in a token list.
 

Method Detail

expandCode

void expandCode(Context context,
                TokenSource source,
                Typesetter typesetter,
                Tokens tokens)
                throws ConfigurationException,
                       HelpingException,
                       TypesetterException
Expand the first token and place the result in a token list. During the expansion additional tokens might be used.

Parameters:
context - the interpreter context
source - the source for new tokens
typesetter - the typesetter
tokens - the target token list
Throws:
ConfigurationException - in case of an configuration error
HelpingException - in case of an error
TypesetterException - in case of an error in the typesetter