Method: N65::SymbolTable#initialize

Defined in:
lib/n65/symbol_table.rb

#initializeSymbolTable

Initialize a symbol table that begins in global scope



15
16
17
18
19
20
21
# File 'lib/n65/symbol_table.rb', line 15

def initialize
  @symbols = {
    :global => {}
  }
  @anonymous_scope_number = 0
  @scope_stack = [:global]
end