public class ResolveNames extends ExpExpVisitor<java.lang.Void>
SourceLocator.Simple
Modifier and Type | Field and Description |
---|---|
protected NameLookup |
lookup |
currentLambda, exitValue, messages
Constructor and Description |
---|
ResolveNames() |
ResolveNames(Compilation comp) |
Modifier and Type | Method and Description |
---|---|
Declaration |
lookup(Expression exp,
java.lang.Object symbol,
boolean function) |
protected void |
push(ScopeExp exp) |
void |
resolveModule(ModuleExp exp) |
protected Expression |
visitLetExp(LetExp exp,
java.lang.Void ignored) |
protected Expression |
visitReferenceExp(ReferenceExp exp,
java.lang.Void ignored) |
protected Expression |
visitScopeExp(ScopeExp exp,
java.lang.Void ignored) |
protected Expression |
visitSetExp(SetExp exp,
java.lang.Void ignored) |
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, visitApplyExp, visitBeginExp, visitBlockExp, visitCaseExp, visitClassExp, visitDeclarationType, visitDeclarationTypes, visitDefaultArgs, visitExitExp, visitExpression, visitExps, visitExps, visitFluidLetExp, visitIfExp, visitLambdaExp, visitLangExp, visitModuleExp, visitObjectExp, visitQuoteExp, visitSynchronizedExp, visitThisExp, visitTryExp
protected NameLookup lookup
public ResolveNames()
public ResolveNames(Compilation comp)
public void resolveModule(ModuleExp exp)
protected void push(ScopeExp exp)
protected Expression visitScopeExp(ScopeExp exp, java.lang.Void ignored)
visitScopeExp
in class ExpVisitor<Expression,java.lang.Void>
protected Expression visitLetExp(LetExp exp, java.lang.Void ignored)
visitLetExp
in class ExpVisitor<Expression,java.lang.Void>
public Declaration lookup(Expression exp, java.lang.Object symbol, boolean function)
protected Expression visitReferenceExp(ReferenceExp exp, java.lang.Void ignored)
visitReferenceExp
in class ExpVisitor<Expression,java.lang.Void>
protected Expression visitSetExp(SetExp exp, java.lang.Void ignored)
visitSetExp
in class ExpVisitor<Expression,java.lang.Void>