public abstract class ArithmeticBase extends GrammarElement
gelementsToValue
Constructor and Description |
---|
ArithmeticBase() |
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
evaluate(Context c)
Evaluate this language construct in some context.
|
abstract double |
value(Context c) |
public java.lang.Double evaluate(Context c)
GrammarElement
evaluate
in class GrammarElement
c
- context in which the evaluation takes placepublic abstract double value(Context c)