ClassSolution
Class ClassSymtabVisitor

java.lang.Object
  |
  +--hw3.ReflectiveVisitor
        |
        +--hw3.NodeVisitor
              |
              +--ClassSolution.ClassSymtabVisitor

public class ClassSymtabVisitor
extends NodeVisitor

Class sponsored symbol-processing visitor. You can see this but not the code.


Inner Class Summary
 class ClassSymtabVisitor.Info
          Local class to carry symbol information
 
Fields inherited from class hw3.NodeVisitor
level
 
Fields inherited from class hw3.ReflectiveVisitor
debug
 
Constructor Summary
ClassSymtabVisitor(SymtabInterface sfi)
           
 
Method Summary
 void defaultVisit(java.lang.Object o)
          By default, visit children
 void visit(BlockIsh b)
           
 void visit(ClassDeclaring d)
           
 void visit(FieldDeclaring f)
           
 void visit(LocalDeclaring l)
           
 void visit(MethodDeclaring m)
           
 void visit(Referencing r)
           
 
Methods inherited from class hw3.NodeVisitor
visitChildren
 
Methods inherited from class hw3.ReflectiveVisitor
dispatch, getBestMethodFor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassSymtabVisitor

public ClassSymtabVisitor(SymtabInterface sfi)
Method Detail

defaultVisit

public void defaultVisit(java.lang.Object o)
By default, visit children
Overrides:
defaultVisit in class NodeVisitor

visit

public void visit(LocalDeclaring l)

visit

public void visit(FieldDeclaring f)

visit

public void visit(ClassDeclaring d)

visit

public void visit(MethodDeclaring m)

visit

public void visit(Referencing r)

visit

public void visit(BlockIsh b)