Decaf Compiler
Public Attributes | List of all members
SymbolTable Struct Reference

Stores symbol info for a single lexical scope. More...

#include <symbol.h>

Public Attributes

SymbolListlocal_symbols
 List of symbols defined in the scope associated with this table.
 
struct SymbolTableparent
 Link to parent table.
 

Detailed Description

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.


The documentation for this struct was generated from the following file: