Method: Racc::LogFileGenerator#output_state
- Defined in:
- lib/racc/logfilegenerator.rb
#output_state(out) ⇒ Object
States
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 |
# File 'lib/racc/logfilegenerator.rb', line 66 def output_state(out) out << "--------- State ---------\n" showall = @debug_flags.la || @debug_flags.state @states.each do |state| out << "\nstate #{state.ident}\n\n" (showall ? state.closure : state.core).each do |ptr| pointer_out(out, ptr) if ptr.rule.ident != 0 or showall end out << "\n" action_out out, state end end |