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

Struct holding data about a symbol. More...

#include <symbol_table.h>

Collaboration diagram for SymbolTableEntry:
Collaboration graph

Public Attributes

char symbol_name [MAX_IDENTIFIER_LENGTH+1]
 
unsigned int length
 
unsigned long int bucket_index
 
Type type
 
LLVMValue latest_llvmvalue
 
struct SymbolTableEntrynext
 
unsigned int chain_index
 

Detailed Description

Struct holding data about a symbol.

Member Data Documentation

◆ bucket_index

unsigned long int SymbolTableEntry::bucket_index

Index of symbol in Symbol Table

◆ chain_index

unsigned int SymbolTableEntry::chain_index

Index in chain

◆ latest_llvmvalue

LLVMValue SymbolTableEntry::latest_llvmvalue

LLVMValue containing the latest information of this symbol during the compile phase

◆ length

unsigned int SymbolTableEntry::length

Length of name

◆ next

struct SymbolTableEntry* SymbolTableEntry::next

Symbol Tables are a chained Hash Table, this is the chain

◆ symbol_name

char SymbolTableEntry::symbol_name[MAX_IDENTIFIER_LENGTH+1]

Name of symbol

◆ type

Type SymbolTableEntry::type

Contains information about the type of this symbol


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