org.extex.interpreter.parser
Interface DimenParser
- All Known Subinterfaces:
- Interpreter, TokenSource
- All Known Implementing Classes:
- ConstantDimenParser, Max, Moritz, StringSource
public interface DimenParser
This interface describes a method to acquire a length value.
- Version:
- $Revision: 5632 $
- Author:
- Gerd Neugebauer
parseDimen
Dimen parseDimen(Context context,
TokenSource source,
Typesetter typesetter)
throws HelpingException,
TypesetterException
- Acquire a length value and return it in multiples of scaled points.
- Parameters:
context - the interpreter contextsource - the source for new tokenstypesetter - the typesetter
- Returns:
- the length value
- Throws:
HelpingException - in case of an error
TypesetterException - in case of an error in the typesetter