public class ChainLambdas extends ExpExpVisitor<ScopeExp>
SourceLocator.Simple
currentLambda, exitValue, messages
Constructor and Description |
---|
ChainLambdas() |
Modifier and Type | Method and Description |
---|---|
static void |
chainLambdas(Expression exp,
Compilation comp) |
protected void |
maybeWarnUnreachable(Expression exp) |
protected Expression |
visitApplyExp(ApplyExp exp,
ScopeExp scope) |
protected Expression |
visitBeginExp(BeginExp exp,
ScopeExp scope) |
protected Expression |
visitCaseExp(CaseExp exp,
ScopeExp scope) |
protected Expression |
visitClassExp(ClassExp exp,
ScopeExp scope) |
protected Expression |
visitIfExp(IfExp exp,
ScopeExp scope) |
protected Expression |
visitLambdaExp(LambdaExp exp,
ScopeExp scope) |
protected Expression |
visitLetExp(LetExp exp,
ScopeExp scope) |
protected Expression |
visitScopeExp(ScopeExp exp,
ScopeExp scope) |
protected Expression |
visitSetExp(SetExp sexp,
ScopeExp scope) |
defaultValue, error, error, update
error, getColumnNumber, getCompilation, getCurrentLambda, getEndColumn, getEndLine, getExitValue, getFileName, getLanguage, getLineNumber, getMessages, getPublicId, getStartColumn, getStartLine, getSystemId, isStableSourceLocation, noteError, setColumn, setContext, setFile, setLine, setLine, visit, visit, visitAndUpdate, visitBlockExp, visitDeclarationType, visitDeclarationTypes, visitDefaultArgs, visitExitExp, visitExpression, visitExps, visitExps, visitFluidLetExp, visitLangExp, visitModuleExp, visitObjectExp, visitQuoteExp, visitReferenceExp, visitSynchronizedExp, visitThisExp, visitTryExp
public static void chainLambdas(Expression exp, Compilation comp)
protected void maybeWarnUnreachable(Expression exp)
protected Expression visitBeginExp(BeginExp exp, ScopeExp scope)
visitBeginExp
in class ExpVisitor<Expression,ScopeExp>
protected Expression visitApplyExp(ApplyExp exp, ScopeExp scope)
visitApplyExp
in class ExpVisitor<Expression,ScopeExp>
protected Expression visitSetExp(SetExp sexp, ScopeExp scope)
visitSetExp
in class ExpVisitor<Expression,ScopeExp>
protected Expression visitIfExp(IfExp exp, ScopeExp scope)
visitIfExp
in class ExpVisitor<Expression,ScopeExp>
protected Expression visitCaseExp(CaseExp exp, ScopeExp scope)
visitCaseExp
in class ExpVisitor<Expression,ScopeExp>
protected Expression visitScopeExp(ScopeExp exp, ScopeExp scope)
visitScopeExp
in class ExpVisitor<Expression,ScopeExp>
protected Expression visitLetExp(LetExp exp, ScopeExp scope)
visitLetExp
in class ExpVisitor<Expression,ScopeExp>
protected Expression visitLambdaExp(LambdaExp exp, ScopeExp scope)
visitLambdaExp
in class ExpVisitor<Expression,ScopeExp>
protected Expression visitClassExp(ClassExp exp, ScopeExp scope)
visitClassExp
in class ExpVisitor<Expression,ScopeExp>