|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgnu.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.
Field Summary |
---|
Fields inherited from class gnu.expr.ExpWalker |
---|
currentLambda, messages |
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 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 |