|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jltools.ast.NodeVisitor | +--jltools.visit.BaseVisitor | +--jltools.visit.SemanticVisitor | +--jltools.ext.jif.visit.FieldLabelResolver
A visitor used to resolving field labels. We want to resolving field labels of all the classes before the label checking pass, because these field labels might be included in other labels, thus need to resolve first.
Inner classes inherited from class jltools.visit.SemanticVisitor |
SemanticVisitor.Abort, SemanticVisitor.Catcher |
Fields inherited from class jltools.visit.SemanticVisitor |
catcher, context |
Fields inherited from class jltools.visit.BaseVisitor |
job |
Constructor Summary | |
FieldLabelResolver(Job job)
|
Method Summary | |
Node |
leaveCall(Node n)
|
protected Node |
overrideCall(Node n)
|
Methods inherited from class jltools.visit.SemanticVisitor |
catchErrors, context, enter, enterScope, leave, leaveCall, leaveScope, newCatcher, override |
Methods inherited from class jltools.visit.BaseVisitor |
errorQueue, importTable, job, nodeFactory, parsedResolver, typeSystem |
Methods inherited from class jltools.ast.NodeVisitor |
finish, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FieldLabelResolver(Job job)
Method Detail |
protected Node overrideCall(Node n) throws SemanticException
overrideCall
in class SemanticVisitor
public Node leaveCall(Node n) throws SemanticException
leaveCall
in class SemanticVisitor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |