ix.util.lisp
Class Interpreter.Let
java.lang.Object
ix.util.lisp.Interpreter.Expr
ix.util.lisp.Interpreter.Let
- Enclosing class:
- Interpreter
public static class Interpreter.Let
- extends Interpreter.Expr
An expression that binds variables and then evaluates
an expression in the resulting environment. That environment
is an extension of the one in which the Let is evaluated.
Method Summary |
protected java.lang.Object |
_evalIn(Interpreter.Env env)
Implements this expression's semantics. |
Expression |
externalForm()
Returns a representation of this expression that
can be understood by the reflection and XML utilities. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
vars
Symbol[] vars
valExprs
Interpreter.Expr[] valExprs
body
Interpreter.Expr body
Interpreter.Let
public Interpreter.Let(java.util.List varList,
java.util.List valExprList,
Interpreter.Expr body)
_evalIn
protected java.lang.Object _evalIn(Interpreter.Env env)
- Description copied from class:
Interpreter.Expr
- Implements this expression's semantics.
Note that this method is usually not called directly.
Instead, call Interpreter.Expr.evalIn(Interpreter.Env)
.
- Specified by:
_evalIn
in class Interpreter.Expr
externalForm
public Expression externalForm()
- Description copied from class:
Interpreter.Expr
- Returns a representation of this expression that
can be understood by the reflection and XML utilities.
- Specified by:
externalForm
in class Interpreter.Expr
- See Also:
IScript