class Racc::RRconflict

属性

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

公共类方法

new(sid, high, low, tok) 点击切换源码
# File racc-1.8.1/lib/racc/state.rb, line 958
def initialize(sid, high, low, tok)
  @stateid   = sid
  @high_prec = high
  @low_prec  = low
  @token     = tok
end

公共实例方法

to_s() 点击切换源码
# File racc-1.8.1/lib/racc/state.rb, line 970
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