|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gnu.expr.ExpWalker gnu.expr.ChainLambdas
public class ChainLambdas
Sets up the firstChild/nextSibling links of each LambdaExp. Setup 'outer' links of ScopeExp and its sub-classes. Also generates a class name for each ClassExp and registers each class. Also, if lambda is bound to a unique declaration, make that its name.
Constructor Summary | |
---|---|
ChainLambdas()
|
Method Summary | |
---|---|
static void |
chainLambdas(Expression exp,
Compilation comp)
|
protected Expression |
walkClassExp(ClassExp exp)
|
protected Expression |
walkLambdaExp(LambdaExp exp)
|
protected Expression |
walkScopeExp(ScopeExp exp)
|
Methods inherited from class gnu.expr.ExpWalker |
---|
error, getColumn, getCompilation, getCurrentLambda, getFile, getLine, noteError, setColumn, setContext, setFile, setLine, setLine, walk, walkApplyExp, walkBeginExp, walkBlockExp, walkDefaultArgs, walkExitExp, walkExpression, walkExps, walkExps, walkFluidLetExp, walkIfExp, walkLangExp, walkLetExp, walkModuleExp, walkObjectExp, walkQuoteExp, walkReferenceExp, walkSetExp, walkSynchronizedExp, walkThisExp, walkTryExp |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChainLambdas()
Method Detail |
---|
public static void chainLambdas(Expression exp, Compilation comp)
protected Expression walkScopeExp(ScopeExp exp)
walkScopeExp
in class ExpWalker
protected Expression walkLambdaExp(LambdaExp exp)
walkLambdaExp
in class ExpWalker
protected Expression walkClassExp(ClassExp exp)
walkClassExp
in class ExpWalker
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |