gnu.expr

Class ChainLambdas

public class ChainLambdas extends ExpWalker

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.
Method Summary
static voidchainLambdas(Expression exp, Compilation comp)
protected ExpressionwalkClassExp(ClassExp exp)
protected ExpressionwalkLambdaExp(LambdaExp exp)
protected ExpressionwalkScopeExp(ScopeExp exp)

Method Detail

chainLambdas

public static void chainLambdas(Expression exp, Compilation comp)

walkClassExp

protected Expression walkClassExp(ClassExp exp)

walkLambdaExp

protected Expression walkLambdaExp(LambdaExp exp)

walkScopeExp

protected Expression walkScopeExp(ScopeExp exp)