|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Environment in <Unnamed> |
---|
Classes in <Unnamed> that implement Environment | |
---|---|
class |
ActivationRecord
An ActivationRecord is an environment in which one new name is bound to some value, while all other names retain the values they have in some pre-existing outer environment, accessed via a nesting link. |
class |
InitialEnvironment
This is the outermost environment, containing predefined names. |
Methods in <Unnamed> with parameters of type Environment | |
---|---|
Value |
LetFun.eval(Environment env)
|
Value |
Expression.eval(Environment env)
Evaluate this expression. |
Value |
LetVal.eval(Environment env)
|
Value |
Conditional.eval(Environment env)
|
Value |
Constant.eval(Environment env)
|
Value |
Application.eval(Environment env)
|
Value |
Variable.eval(Environment env)
|
Constructors in <Unnamed> with parameters of type Environment | |
---|---|
ActivationRecord(java.lang.String functionName,
java.lang.String parameterName,
Expression functionBody,
Environment nestingLink)
Creates an activation record that binds a name to a value that is a (possibly recursive) function. |
|
ActivationRecord(java.lang.String name,
Value value,
Environment nestingLink)
Creates an activation record that binds a name to an ordinary value. |
|
Closure(java.lang.String parameter,
Expression body,
Environment env)
Creates a Closure with the specified components. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |