|
|||||||||
| 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.ConstantChecker
public class ConstantChecker
Visitor which performs type checking on the AST.
| Nested Class Summary | |
|---|---|
protected static class |
ConstantChecker.TypeCheckChecker
|
| Field Summary |
|---|
| Fields inherited from class polyglot.visit.ContextVisitor |
|---|
context, outer, prune, rethrowMissingDependencies |
| Fields inherited from class polyglot.visit.ErrorHandlingVisitor |
|---|
error, job, nf, ts |
| Fields inherited from class polyglot.visit.HaltingVisitor |
|---|
bypass, bypassParent |
| Constructor Summary | |
|---|---|
ConstantChecker(Job job,
TypeSystem ts,
NodeFactory nf)
|
|
| Method Summary | |
|---|---|
protected Node |
leaveCall(Node old,
Node n,
NodeVisitor v)
|
| Methods inherited from class polyglot.visit.ContextVisitor |
|---|
addDecls, begin, context, context, enter, enter, enterScope, leave, rethrowMissingDependencies, superEnter |
| Methods inherited from class polyglot.visit.ErrorHandlingVisitor |
|---|
catchErrors, enterCall, enterCall, enterError, errorQueue, hasErrors, job, leaveCall, leaveCall, nodeFactory, typeSystem |
| Methods inherited from class polyglot.visit.HaltingVisitor |
|---|
bypass, bypass, bypassChildren, override, visitChildren |
| Methods inherited from class polyglot.visit.NodeVisitor |
|---|
copy, finish, finish, leave, override, toString, visitEdge, visitEdgeNoOverride |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConstantChecker(Job job,
TypeSystem ts,
NodeFactory nf)
| Method Detail |
|---|
protected Node leaveCall(Node old,
Node n,
NodeVisitor v)
throws SemanticException
leaveCall in class ErrorHandlingVisitorSemanticException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||