jltools.visit
Class AmbiguityRemover

java.lang.Object
  |
  +--jltools.ast.NodeVisitor
        |
        +--jltools.visit.BaseVisitor
              |
              +--jltools.visit.SemanticVisitor
                    |
                    +--jltools.visit.AmbiguityRemover

public class AmbiguityRemover
extends SemanticVisitor

A visitor which traverses the AST and remove ambiguities found in fields, method signatures and the code itself.


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
AmbiguityRemover(Job job)
           
 
Method Summary
protected  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

AmbiguityRemover

public AmbiguityRemover(Job job)
Method Detail

overrideCall

protected Node overrideCall(Node n)
                     throws SemanticException
Overrides:
overrideCall in class SemanticVisitor

leaveCall

protected Node leaveCall(Node n)
                  throws SemanticException
Overrides:
leaveCall in class SemanticVisitor