Decaf Compiler
|
Stores symbol info for a single lexical scope. More...
#include <symbol.h>
Public Attributes | |
SymbolList * | local_symbols |
List of symbols defined in the scope associated with this table. | |
struct SymbolTable * | parent |
Link to parent table. | |
Stores symbol info for a single lexical scope.
Symbol tables are generated using a simple AST traversal algorithm, and are used during code generation to look up type and location information for individual symbols.