de.dante.extex.interpreter.type.dimen.parser
Interface Function


public interface Function

This interface describes a function object which is able to parse its arguments from a toke stream.

Version:
$Revision: 1.1 $
Author:
Gerd Neugebauer

Method Summary
 void apply(Accumulator accumulator, Context context, TokenSource source, Typesetter typesetter)
          Acquire arguments and compute a function.
 

Method Detail

apply

public void apply(Accumulator accumulator,
                  Context context,
                  TokenSource source,
                  Typesetter typesetter)
           throws InterpreterException
Acquire arguments and compute a function.

Parameters:
accumulator - the accumulator to receive the result
context - the interpreter context
source - the source for new tokens
typesetter - the typesetter
Throws:
InterpreterException - in case of an error