gnu.expr
Class FindCapturedVars
java.lang.Object
gnu.expr.ExpWalker
gnu.expr.FindCapturedVars
public class FindCapturedVars
- extends ExpWalker
Methods inherited from class gnu.expr.ExpWalker |
error, getColumn, getCompilation, getCurrentLambda, getFile, getLine, noteError, setColumn, setContext, setFile, setLine, setLine, walk, walkBeginExp, walkBlockExp, walkExitExp, walkExpression, walkExps, walkExps, walkIfExp, walkLambdaExp, walkLangExp, walkObjectExp, walkQuoteExp, walkScopeExp, walkSynchronizedExp, walkTryExp |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FindCapturedVars
public FindCapturedVars()
findCapturedVars
public static void findCapturedVars(Expression exp,
Compilation comp)
walkApplyExp
protected Expression walkApplyExp(ApplyExp exp)
- Overrides:
walkApplyExp
in class ExpWalker
walkDefaultArgs
public void walkDefaultArgs(LambdaExp exp)
- Overrides:
walkDefaultArgs
in class ExpWalker
walkClassExp
protected Expression walkClassExp(ClassExp exp)
- Overrides:
walkClassExp
in class ExpWalker
walkModuleExp
protected Expression walkModuleExp(ModuleExp exp)
- Overrides:
walkModuleExp
in class ExpWalker
walkFluidLetExp
protected Expression walkFluidLetExp(FluidLetExp exp)
- Overrides:
walkFluidLetExp
in class ExpWalker
walkLetExp
protected Expression walkLetExp(LetExp exp)
- Overrides:
walkLetExp
in class ExpWalker
capture
public void capture(Declaration decl)
walkReferenceExp
protected Expression walkReferenceExp(ReferenceExp exp)
- Overrides:
walkReferenceExp
in class ExpWalker
walkThisExp
protected Expression walkThisExp(ThisExp exp)
- Overrides:
walkThisExp
in class ExpWalker
walkSetExp
protected Expression walkSetExp(SetExp exp)
- Overrides:
walkSetExp
in class ExpWalker