|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectslogo.jelan.GrammarElement
slogo.jelan.expressions.Expression
slogo.jelan.expressions.BinaryExpression
slogo.jelan.expressions.Addition
public class Addition
Represents a + b, the addition of two expressions
Constructor Summary | |
---|---|
Addition(Expression lhs,
Expression rhs)
|
Method Summary | |
---|---|
double |
value(Context c)
|
Methods inherited from class slogo.jelan.expressions.BinaryExpression |
---|
leftValue, rightValue, toString |
Methods inherited from class slogo.jelan.expressions.Expression |
---|
evaluate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Addition(Expression lhs, Expression rhs)
Method Detail |
---|
public double value(Context c)
value
in class Expression
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |