Purple  0.1
Standard Language Specification
Public Attributes | List of all members
SymbolTable Struct Reference

Holds data for symbols within a scope. More...

#include <symbol_table.h>

Collaboration diagram for SymbolTable:
Collaboration graph

Public Attributes

unsigned long int length
 
unsigned long int capacity
 
unsigned long int total_buckets
 
SymbolTableEntry ** buckets
 
struct SymbolTableprev
 
struct SymbolTablenext
 

Detailed Description

Holds data for symbols within a scope.

Member Data Documentation

◆ buckets

SymbolTableEntry** SymbolTable::buckets

Array of entries with length length

◆ capacity

unsigned long int SymbolTable::capacity

Number of empty buckets in the Symbol Table

◆ length

unsigned long int SymbolTable::length

Number of non-empty buckets in the Symbol Table

◆ next

struct SymbolTable* SymbolTable::next

Next Symbol Table in the scope stack

◆ prev

struct SymbolTable* SymbolTable::prev

Previous Symbol Table in the scope stack

◆ total_buckets

unsigned long int SymbolTable::total_buckets

Total number of buckets in the Symbol Table


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