SymbolTable

Maps an identifier string to a Symbol.

Members

Functions

insert
void insert(Symbol symbol, Identifier* ident)

Inserts a symbol into the table.

lookup
Symbol lookup(hash_t hash)

Looks up a string hash in the table.

lookup
Symbol lookup(Identifier* ident)

Looks up ident in the table.

Variables

table
Symbol[hash_t] table;

The table data structure.

Meta