scheme.interp
Class ClosureV

java.lang.Object
  |
  +--scheme.interp.SchemeValue
        |
        +--scheme.interp.ClosureV

public class ClosureV
extends SchemeValue


Field Summary
private  Exp body
           
private  Env env
           
private  List ids
           
 
Constructor Summary
ClosureV(List ids, Exp body, Env env)
           
 
Method Summary
 SchemeValue apply(List argVs, Eval_Exp eval_exp)
           
 java.lang.String toString()
           
 
Methods inherited from class scheme.interp.SchemeValue
getCar, getCdr, getInt, isTrue, setCar, setCdr
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

ids

private List ids

body

private Exp body

env

private Env env
Constructor Detail

ClosureV

public ClosureV(List ids,
                Exp body,
                Env env)
Method Detail

apply

public SchemeValue apply(List argVs,
                         Eval_Exp eval_exp)
                  throws VisitE
Overrides:
apply in class SchemeValue

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object