hw4
Interface SymtabInterface

All Known Implementing Classes:
ClassBuildSymtab

public interface SymtabInterface

This interface allows you to use my symbol-table solution or yours interchangeably


Method Summary
 void decrNestLevel()
          Close an old nest
 void enter(java.lang.String id, SymInfo s)
           
 int getCurrentNestLevel()
           
 void incrNestLevel()
          Open a new nest
 SymInfo lookup(java.lang.String id)
           
 void out(AbstractNode n, java.lang.String message)
          This lets you put out a message about a node, indented by the current nest level
 void out(java.lang.String message)
           
 

Method Detail

incrNestLevel

public void incrNestLevel()
Open a new nest

decrNestLevel

public void decrNestLevel()
Close an old nest

getCurrentNestLevel

public int getCurrentNestLevel()

lookup

public SymInfo lookup(java.lang.String id)

enter

public void enter(java.lang.String id,
                  SymInfo s)

out

public void out(AbstractNode n,
                java.lang.String message)
This lets you put out a message about a node, indented by the current nest level

out

public void out(java.lang.String message)