|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectix.util.lisp.Interpreter.Expr
ix.util.lisp.Interpreter.VarRef
public static class Interpreter.VarRef
A reference to a variable. The value of this expression is the value bound to the variable by the environment this expression is evaluated in.
| Field Summary | |
|---|---|
(package private) int |
over
|
(package private) int |
up
|
(package private) Symbol |
var
|
| Fields inherited from class ix.util.lisp.Interpreter.Expr |
|---|
description |
| Constructor Summary | |
|---|---|
Interpreter.VarRef(Symbol var)
|
|
| Method Summary | |
|---|---|
protected java.lang.Object |
_evalIn(Interpreter.Env env)
Implements this expression's semantics. |
java.lang.Object |
evalIn(Interpreter.Env env)
Provides public access to 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 ix.util.lisp.Interpreter.Expr |
|---|
evalArgs, externalForm, makeExprArray, makeVarArray, setDescription, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
Symbol var
int up
int over
| Constructor Detail |
|---|
public Interpreter.VarRef(Symbol var)
| Method Detail |
|---|
public java.lang.Object evalIn(Interpreter.Env env)
Interpreter.ExprInterpreter.Expr._evalIn(Interpreter.Env).
evalIn in class Interpreter.Exprprotected java.lang.Object _evalIn(Interpreter.Env env)
Interpreter.ExprNote that this method is usually not called directly.
Instead, call Interpreter.Expr.evalIn(Interpreter.Env).
_evalIn in class Interpreter.Exprpublic Expression externalForm()
Interpreter.Expr
externalForm in class Interpreter.ExprIScript
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||