lab8
Interface SymtabInterface

All Known Implementing Classes:
CourseBuildSymtab

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)
           
 void err(AbstractNode n, java.lang.String message)
           
 void err(java.lang.String message)
           
 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

void incrNestLevel()
Open a new nest


decrNestLevel

void decrNestLevel()
Close an old nest


getCurrentNestLevel

int getCurrentNestLevel()

lookup

SymInfo lookup(java.lang.String id)

enter

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

out

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


err

void err(AbstractNode n,
         java.lang.String message)

out

void out(java.lang.String message)

err

void err(java.lang.String message)