Parent

Methods

Racc::SRconflict

Attributes

stateid[R]
shift[R]
reduce[R]

Public Class Methods

new(sid, shift, reduce) click to toggle source
     # File lib/racc/state.rb, line 936
936:     def initialize(sid, shift, reduce)
937:       @stateid = sid
938:       @shift   = shift
939:       @reduce  = reduce
940:     end

Public Instance Methods

to_s() click to toggle source
     # File lib/racc/state.rb, line 946
946:     def to_s
947:       sprintf('state %d: S/R conflict rule %d reduce and shift %s',
948:               @stateid, @reduce.ruleid, @shift.to_s)
949:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.