scheme.interp
Class Eval_Exp
java.lang.Object
|
+--scheme.interp.Eval_Exp
- public class Eval_Exp
- extends java.lang.Object
- implements ExpVisitor
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
v
private SchemeValue v
eval_explist
private Eval_ExpList eval_explist
eval_const
private Eval_Constant eval_const
eval_datum
private Eval_Datum eval_datum
env
private Env env
Eval_Exp
public Eval_Exp()
getValue
public SchemeValue getValue()
getEnv
public Env getEnv()
setEnv
public void setEnv(Env newenv)
visitConstantE
public void visitConstantE(ConstantE e)
throws VisitE
- Specified by:
- visitConstantE in interface ExpVisitor
visitQuoteE
public void visitQuoteE(QuoteE e)
throws VisitE
- Specified by:
- visitQuoteE in interface ExpVisitor
visitVarE
public void visitVarE(VarE e)
throws VisitE
- Specified by:
- visitVarE in interface ExpVisitor
visitIfE
public void visitIfE(IfE e)
throws VisitE
- Specified by:
- visitIfE in interface ExpVisitor
visitLambdaE
public void visitLambdaE(LambdaE e)
throws VisitE
- Specified by:
- visitLambdaE in interface ExpVisitor
visitAppE
public void visitAppE(AppE e)
throws VisitE
- Specified by:
- visitAppE in interface ExpVisitor
visitSetE
public void visitSetE(SetE e)
throws VisitE
- Specified by:
- visitSetE in interface ExpVisitor
visitBeginE
public void visitBeginE(BeginE e)
throws VisitE
- Specified by:
- visitBeginE in interface ExpVisitor
visitPrimappE
public void visitPrimappE(PrimappE e)
throws VisitE
- Specified by:
- visitPrimappE in interface ExpVisitor
visitLetE
public void visitLetE(LetE e)
throws VisitE
- Specified by:
- visitLetE in interface ExpVisitor
visitLetrecE
public void visitLetrecE(LetrecE e)
throws VisitE
- Specified by:
- visitLetrecE in interface ExpVisitor
applyPrim
private SchemeValue applyPrim(byte op,
List args)
throws VisitE