Object
# File ruby-3.1.2/lib/racc/state.rb, line 937 def initialize(sid, shift, reduce) @stateid = sid @shift = shift @reduce = reduce end
# File ruby-3.1.2/lib/racc/state.rb, line 947 def to_s sprintf('state %d: S/R conflict rule %d reduce and shift %s', @stateid, @reduce.ruleid, @shift.to_s) end
This page was generated for Ruby 3.1.2
Ruby-doc.org is a service of James Britt and Neurogami, purveyors of fine dance noise.
Generated with Ruby-doc Rdoc Generator 0.42.0.