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)
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 contextsource - the source for new tokenstypesetter - the typesettertokens - 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