de.dante.extex.interpreter.expression
Interface ParsingFunction


public interface ParsingFunction

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

Version:
$Revision: 1.1 $
Author:
Gerd Neugebauer

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

Method Detail

apply

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

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