class Racc::SRconflict
属性
reduce[R]
shift[R]
stateid[R]
公共类方法
new(sid, shift, reduce) 点击切换源代码
# File racc-1.8.1/lib/racc/state.rb, line 941 def initialize(sid, shift, reduce) @stateid = sid @shift = shift @reduce = reduce end
公共实例方法
to_s() 点击切换源代码
# File racc-1.8.1/lib/racc/state.rb, line 951 def to_s sprintf('state %d: S/R conflict rule %d reduce and shift %s', @stateid, @reduce.ruleid, @shift.to_s) end