|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectLetFun
public class LetFun
Constructor Summary | |
---|---|
LetFun(java.lang.String functionName,
java.lang.String parameter,
Expression functionBody,
Expression letBody)
|
Method Summary | |
---|---|
Value |
eval(Environment env)
Evaluate this expression. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LetFun(java.lang.String functionName, java.lang.String parameter, Expression functionBody, Expression letBody)
Method Detail |
---|
public Value eval(Environment env)
Expression
eval
in interface Expression
env
- the environment in which the expression should be evaluated
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |