SymbolTable Struct Reference

Collaboration diagram for SymbolTable:

Collaboration graph
[legend]

Detailed Description

The Symbol Table

Data Fields

HashMap * hashmap
Symbol Symbols [MAX_SYMBOLS]
Symbolnext
Symbol SpecialSymbols [MAX_SPECIAL_SYMBOLS]
size_t num_special_symbols

Field Documentation

HashMap* SymbolTable::hashmap

Keep track of symbols using a hashmap of pointers

Symbol SymbolTable::Symbols[MAX_SYMBOLS]

The symbols stored as an array

Symbol* SymbolTable::next

Pointer to the next available symbol slot for storing a symbol in the array

Symbol SymbolTable::SpecialSymbols[MAX_SPECIAL_SYMBOLS]

Any special symbols that are set prior to semantic processing and read by the semantic processor

size_t SymbolTable::num_special_symbols

The number of special symbols set.


Generated on Thu May 1 15:37:29 2008 for SREC by  doxygen 1.5.3