|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectslogo.language.GrammarElement
slogo.instruction.Instruction
slogo.instruction.arithmetic.UnaryExpression
public abstract class UnaryExpression
Field Summary | |
---|---|
protected GrammarElement |
myElement
|
Fields inherited from class slogo.language.GrammarElement |
---|
gelementsToValue |
Constructor Summary | |
---|---|
UnaryExpression(GrammarElement el)
|
Method Summary | |
---|---|
java.lang.String |
toString()
|
double |
value(Context c)
|
Methods inherited from class slogo.instruction.Instruction |
---|
evaluate, evaluateNumericExpression |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected GrammarElement myElement
Constructor Detail |
---|
public UnaryExpression(GrammarElement el)
Method Detail |
---|
public double value(Context c)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |