|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjelan.elan.GrammarElement
jelan.elan.expression.Expression
jelan.elan.expression.UnaryExpression
jelan.elan.expression.Negation
public class Negation
Represents unary minus, e.g., -expression
| Constructor Summary | |
|---|---|
Negation(Expression e)
|
|
| Method Summary | |
|---|---|
java.lang.String |
toString()
|
double |
value(Context c)
|
| Methods inherited from class jelan.elan.expression.Expression |
|---|
evaluate |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Negation(Expression e)
| Method Detail |
|---|
public double value(Context c)
value in class UnaryExpressionpublic java.lang.String toString()
toString in class UnaryExpression
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||