fabric.visit
Class ExplicitSuperclassAdder

java.lang.Object
  extended by NodeVisitor
      extended by fabric.visit.ExplicitSuperclassAdder

public class ExplicitSuperclassAdder
extends NodeVisitor

A Visitor that replaces all implicit superclasses with explicit extends clauses.


Field Summary
protected  NodeFactory nf
           
protected  FabricTypeSystem ts
           
 
Constructor Summary
ExplicitSuperclassAdder(FabricTypeSystem ts, NodeFactory nf)
           
 
Method Summary
 Node leave(Node old, Node n, NodeVisitor v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ts

protected FabricTypeSystem ts

nf

protected NodeFactory nf
Constructor Detail

ExplicitSuperclassAdder

public ExplicitSuperclassAdder(FabricTypeSystem ts,
                               NodeFactory nf)
Method Detail

leave

public Node leave(Node old,
                  Node n,
                  NodeVisitor v)