Method: Racc::State#initialize
- Defined in:
- lib/racc/state.rb
#initialize(ident, core) ⇒ State
Returns a new instance of State.
609 610 611 612 613 614 615 616 617 618 619 620 621 622 |
# File 'lib/racc/state.rb', line 609 def initialize(ident, core) @ident = ident @core = core @goto_table = {} @gotos = {} @stokens = nil @ritems = nil @action = {} @defact = nil @rrconf = nil @srconf = nil @closure = make_closure(@core) end |