|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpolyglot.visit.NodeVisitor
polyglot.visit.HaltingVisitor
polyglot.visit.ErrorHandlingVisitor
polyglot.visit.ContextVisitor
polyglot.visit.FwdReferenceChecker
public class FwdReferenceChecker
Visitor which ensures that field intializers and initializers do not make illegal forward references to fields. This is an implementation of the rules of the Java Language Spec, 2nd Edition, Section 8.3.2.3
Field Summary |
---|
Fields inherited from class polyglot.visit.ContextVisitor |
---|
context, outer |
Fields inherited from class polyglot.visit.ErrorHandlingVisitor |
---|
error, job, nf, ts |
Constructor Summary | |
---|---|
FwdReferenceChecker(Job job,
TypeSystem ts,
NodeFactory nf)
|
Method Summary | |
---|---|
protected NodeVisitor |
enterCall(Node n)
|
Methods inherited from class polyglot.visit.ContextVisitor |
---|
addDecls, begin, context, context, enter, enterScope, leave, superEnter |
Methods inherited from class polyglot.visit.ErrorHandlingVisitor |
---|
catchErrors, enterCall, enterError, errorQueue, job, leaveCall, leaveCall, nodeFactory, typeSystem |
Methods inherited from class polyglot.visit.HaltingVisitor |
---|
bypass, bypass, bypassChildren, copy, override, visitChildren |
Methods inherited from class polyglot.visit.NodeVisitor |
---|
enter, finish, finish, leave, override, toString, visitEdge |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FwdReferenceChecker(Job job, TypeSystem ts, NodeFactory nf)
Method Detail |
---|
protected NodeVisitor enterCall(Node n) throws SemanticException
enterCall
in class ErrorHandlingVisitor
SemanticException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |