class Symbols::SymbolTable

Defined in:

symbols.cr

Constructors

Instance Method Summary

Instance methods inherited from class Object

also(& : self | Nil -> _) : self also, or_else(alternative) or_else

Constructor Detail

def self.new(store : Hash(String, Symbol) = {} of String => Symbol, outer : SymbolTable | Nil = nil) #

[View source]

Instance Method Detail

def define(name : String) : Symbol #

[View source]
def define_builtin(index : Int32, name : String) : Symbol #

[View source]
def define_function_name(name : String) : Symbol #

[View source]
def free_symbols : Array(Symbols::Symbol) #

[View source]
def num_definitions : Int32 #

[View source]
def num_definitions=(num_definitions : Int32) #

[View source]
def outer : Symbols::SymbolTable? #

[View source]
def resolve(name : String) : Symbol #

[View source]