gnu.expr

Class InlineCalls

Implemented Interfaces:
org.xml.sax.Locator, SourceLocator

public class InlineCalls
extends ExpWalker

Field Summary

Fields inherited from class gnu.expr.ExpWalker

currentLambda, messages

Constructor Summary

InlineCalls(Compilation comp)

Method Summary

static void
inlineCalls(Expression exp, Compilation comp)
protected Expression
walkApplyExp(ApplyExp exp)
Expression
walkApplyOnly(ApplyExp exp)
Walk an ApplyExp assuming function and arguments have been walked.
protected Expression
walkIfExp(IfExp exp)
protected Expression
walkLambdaExp(LambdaExp exp)
protected Expression
walkLetExp(LetExp exp)
protected Expression
walkReferenceExp(ReferenceExp exp)

Methods inherited from class gnu.expr.ExpWalker

error, getColumnNumber, getCompilation, getCurrentLambda, getFileName, getLineNumber, getMessages, getPublicId, getSystemId, isStableSourceLocation, noteError, setColumn, setContext, setFile, setLine, setLine, walk, walkApplyExp, walkBeginExp, walkBlockExp, walkClassExp, walkDeclarationType, walkDeclarationTypes, walkDefaultArgs, walkExitExp, walkExpression, walkExps, walkExps, walkFluidLetExp, walkIfExp, walkLambdaExp, walkLangExp, walkLetExp, walkModuleExp, walkObjectExp, walkQuoteExp, walkReferenceExp, walkScopeExp, walkSetExp, walkSynchronizedExp, walkThisExp, walkTryExp

Constructor Details

InlineCalls

public InlineCalls(Compilation comp)

Method Details

inlineCalls

public static void inlineCalls(Expression exp,
                               Compilation comp)

walkApplyExp

protected Expression walkApplyExp(ApplyExp exp)
Overrides:
walkApplyExp in interface ExpWalker

walkApplyOnly

public Expression walkApplyOnly(ApplyExp exp)
Walk an ApplyExp assuming function and arguments have been walked.

walkIfExp

protected Expression walkIfExp(IfExp exp)
Overrides:
walkIfExp in interface ExpWalker

walkLambdaExp

protected Expression walkLambdaExp(LambdaExp exp)
Overrides:
walkLambdaExp in interface ExpWalker

walkLetExp

protected Expression walkLetExp(LetExp exp)
Overrides:
walkLetExp in interface ExpWalker

walkReferenceExp

protected Expression walkReferenceExp(ReferenceExp exp)
Overrides:
walkReferenceExp in interface ExpWalker