de.dante.extex.interpreter.type.real
Interface RealConvertible

All Known Implementing Classes:
AbstractMath, MathAbs, MathACos, MathAdd, MathASin, MathATan, MathATanTwo, MathCeil, MathCos, MathDiv, MathE, MathExp, MathExpression, MathFloor, MathLog, MathMax, MathMin, MathMul, MathPi, MathPow, MathRandom, MathRint, MathRound, MathSin, MathSqrt, MathSub, MathTan, MathToDegrees, MathToRadians, NamedReal

public interface RealConvertible

This is an interface which describes the feature to be convertibe into a real.

Version:
$Revision: 1.2 $
Author:
Michael Niedermair

Method Summary
 Real convertReal(Context context, TokenSource source)
          Convert to a real.
 

Method Detail

convertReal

public Real convertReal(Context context,
                        TokenSource source)
                 throws InterpreterException
Convert to a real.

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