Method: Racc::ActionTable#initialize
- Defined in:
- lib/racc/state.rb
#initialize(rt, st) ⇒ ActionTable
Returns a new instance of ActionTable.
812 813 814 815 816 817 818 819 820 |
# File 'lib/racc/state.rb', line 812 def initialize(rt, st) @grammar = rt @statetable = st @reduce = [] @shift = [] @accept = nil @error = nil end |