elan.expression
Class Remainder

java.lang.Object
  |
  +--elan.GrammarElement
        |
        +--elan.expression.Expression
              |
              +--elan.expression.BinaryExpression
                    |
                    +--elan.expression.Remainder

public class Remainder
extends BinaryExpression

Represents a % b, the remainder from the divison of two expressions


Fields inherited from class elan.expression.BinaryExpression
myLeft, myRight, mySymbol
 
Fields inherited from class elan.GrammarElement
functionMap, ourMap
 
Constructor Summary
Remainder(Expression lhs, Expression rhs)
           
 
Method Summary
 double value(Context c)
           
 
Methods inherited from class elan.expression.BinaryExpression
leftValue, rightValue, toString
 
Methods inherited from class elan.expression.Expression
evaluate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Remainder

public Remainder(Expression lhs,
                 Expression rhs)
Method Detail

value

public double value(Context c)
Overrides:
value in class Expression