Class
Attributes
Read
No documentation available
Read
No documentation available
Read
No documentation available
Class Methods
lib/racc/state.rb
View on GitHub
# File tmp/rubies/ruby-3.0.5/lib/racc/state.rb, line 937
def initialize(sid, shift, reduce)
@stateid = sid
@shift = shift
@reduce = reduce
end
No documentation available
Instance Methods
#
lib/racc/state.rb
View on GitHub
# File tmp/rubies/ruby-3.0.5/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
No documentation available