Package scale.clef.symtab

Implements a symbol table for use in constructing the Clef AST.

See:
          Description

Class Summary
Symtab A class to represent a program's symbol table.
SymtabEntry This class represents an entry in the symbol table.
SymtabScope This class represents a single, local scope (e.g., for a procedure or local block).
 

Package scale.clef.symtab Description

Implements a symbol table for use in constructing the Clef AST. A Symtab instance is a container for a tree of scopes. Each scope has a set of children scopes and a symbol table to implement the tree and provide scoping of names. A symbol table is a mapping from names to a set of declarations.