All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Jaja.Eval

java.lang.Object
   |
   +----Jaja.Jaja
           |
           +----Jaja.Value
                   |
                   +----Jaja.Procedure
                           |
                           +----Jaja.Subr
                                   |
                                   +----Jaja.Subr1
                                           |
                                           +----Jaja.Eval

public final class Eval
extends Subr1
This is the class for the eval procedures (one per world). When created such a procedure captures the current world. Therefore this eval procedure is an eval-in-current-module function however it inherits of the dynamic environment of the caller.


Constructor Index

 o Eval(World)

Method Index

 o invoke(Value)
Evaluate an expression specified as a Jaja value.
 o invoke(Value[])
RESTRICTION: The Scheme to Java compiler does not support functions with more than 10 arguments (nor the implementation of apply).

Constructors

 o Eval
 public Eval(World world)

Methods

 o invoke
 public Value invoke(Value args[])
RESTRICTION: The Scheme to Java compiler does not support functions with more than 10 arguments (nor the implementation of apply).

Overrides:
invoke in class Subr1
 o invoke
 public Value invoke(Value e)
Evaluate an expression specified as a Jaja value. This evaluation inherits from the dynamic environment of the caller. Anomalies that may occur during this evaluation are transmitted to the caller.

Overrides:
invoke in class Subr1

All Packages  Class Hierarchy  This Package  Previous  Next  Index