|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Value in <Unnamed> |
---|
Subinterfaces of Value in <Unnamed> | |
---|---|
interface |
Function
The run-time representation of a function (that is, a procedure). |
Classes in <Unnamed> that implement Value | |
---|---|
class |
BoxedValue
Holds an Object used as a Value processed by the interpreted program. |
class |
Closure
A Closure is a function defined by code being interpreted (either a function definition or a lambda expression), rather than being one of the built-in functions such as +. |
class |
FunctionBase
An abstract class providing the portion of the Function interface that comes from the Value interface. |
class |
IntComparison
An abstract base class for integer comparison functions such as <. |
class |
IntOperation
An abstract base class for integer arithmetic functions such as +. |
class |
PrimitiveFunction
A function the name of which is known by the InitialEnvironment. |
class |
ValueBase
An abstract class providing much of the code for the Value interface. |
Methods in <Unnamed> that return Value | |
---|---|
Value |
Function.apply(Value argument)
Apply this function to a specified argument Value. |
Value |
Closure.apply(Value argument)
|
Value |
IntComparison.apply(Value arg1)
|
Value |
IntOperation.apply(Value arg1)
|
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)
|
Value |
InitialEnvironment.get(java.lang.String name)
|
Value |
Environment.get(java.lang.String name)
Return the value corresponding to the specified name. |
Value |
ActivationRecord.get(java.lang.String name)
|
Methods in <Unnamed> with parameters of type Value | |
---|---|
Value |
Function.apply(Value argument)
Apply this function to a specified argument Value. |
Value |
Closure.apply(Value argument)
|
Value |
IntComparison.apply(Value arg1)
|
Value |
IntOperation.apply(Value arg1)
|
Constructors in <Unnamed> with parameters of type Value | |
---|---|
ActivationRecord(java.lang.String name,
Value value,
Environment nestingLink)
Creates an activation record that binds a name to an ordinary value. |
|
Constant(Value value)
Creates a Constant with the specified Value. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |