Method: Racc::SymbolTable#initialize
- Defined in:
- lib/racc/grammar.rb
#initialize ⇒ SymbolTable
873 874 875 876 877 878 879 |
# File 'lib/racc/grammar.rb', line 873 def initialize @symbols = [] # :: [Racc::Sym] @cache = {} # :: {(String|Symbol) => Racc::Sym} @dummy = intern(:$start, true) @anchor = intern(false, true) # Symbol ID = 0 @error = intern(:error, false) # Symbol ID = 1 end |