|
|||||||||
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.ConstructorCallChecker
public class ConstructorCallChecker
Visitor which ensures that constructor calls are not recursive.
Field Summary | |
---|---|
protected java.util.Map |
constructorInvocations
|
Fields inherited from class polyglot.visit.ContextVisitor |
---|
context, outer |
Fields inherited from class polyglot.visit.ErrorHandlingVisitor |
---|
error, job, nf, ts |
Constructor Summary | |
---|---|
ConstructorCallChecker(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 |
Field Detail |
---|
protected java.util.Map constructorInvocations
Constructor Detail |
---|
public ConstructorCallChecker(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 |