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