class Racc::RRconflict

Attributes

high_prec[R]
low_prec[R]
stateid[R]
token[R]

Public Class Methods

new(sid, high, low, tok) click to toggle source
# File racc/state.rb, line 951
def initialize(sid, high, low, tok)
  @stateid   = sid
  @high_prec = high
  @low_prec  = low
  @token     = tok
end

Public Instance Methods

to_s() click to toggle source
# File racc/state.rb, line 963
def to_s
  sprintf('state %d: R/R conflict with rule %d and %d on %s',
          @stateid, @high_prec.ident, @low_prec.ident, @token.to_s)
end