Documentation ¶
Index ¶
Constants ¶
View Source
const GLOBAL_SCOPE = -1
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SymbolTable ¶
type SymbolTable struct { Symbols *single.LinkedList[*Symbol] Scope int8 }
func NewSymbolTable ¶
func NewSymbolTable() *SymbolTable
func (*SymbolTable) AddSymbol ¶
func (t *SymbolTable) AddSymbol(name string, value value.Value) error
func (*SymbolTable) EnterScope ¶
func (s *SymbolTable) EnterScope()
func (*SymbolTable) ExitScope ¶
func (t *SymbolTable) ExitScope()
func (SymbolTable) String ¶
func (t SymbolTable) String() string
Click to show internal directories.
Click to hide internal directories.