org.extex.interpreter.parser
Interface GlueParser

All Known Subinterfaces:
Interpreter, TokenSource
All Known Implementing Classes:
ConstantGlueParser, Max, Moritz, StringSource

public interface GlueParser

This interface describes a parser for glue values.

Version:
$Revision: 5804 $
Author:
Gerd Neugebauer

Method Summary
 Glue parseGlue(Context context, TokenSource source, Typesetter typesetter)
          Parse a glue value and return the result.
 

Method Detail

parseGlue

Glue parseGlue(Context context,
               TokenSource source,
               Typesetter typesetter)
               throws HelpingException,
                      TypesetterException
Parse a glue value and return the result. If no glue value can be obtained an exception is raised.

Parameters:
context - the interpreter context
source - the source for new tokens
typesetter - the typesetter
Returns:
the value
Throws:
HelpingException - in case of an error
TypesetterException - in case of an error in the typesetter