Chapter 7: Intermediate representation and symbol table

Local Symbol Table Management

NewSymTab : SymTab SymTab

DestSymTab : SymTab SymTab

InsertSym : SymTab X Symbol boolean

LocateSym : SymTab X Symbol boolean

GetSymAttr : SymTab X Symbol X Attr boolean

SetSymAttr : SymTab X Symbol X Attr X value boolean

NextSym : SymTab X Symbol Symbol

MoreSyms : SymTab X Symbol boolean

These are prototypes of typical function declarations used for managing local symbol table. The right hand side of the arrows is the output of the procedure and the left side has the input.