class Racc::Reduce
属性
refn[R]
rule[R]
公共类方法
new(rule) 点击切换源代码
# File racc-1.8.1/lib/racc/state.rb, line 902 def initialize(rule) @rule = rule @refn = 0 end
公共实例方法
decref() 点击切换源代码
# File racc-1.8.1/lib/racc/state.rb, line 922 def decref @refn -= 1 raise 'racc: fatal: act.refn < 0' if @refn < 0 end
incref() 点击切换源代码
# File racc-1.8.1/lib/racc/state.rb, line 918 def incref @refn += 1 end
inspect() 点击切换源代码
# File racc-1.8.1/lib/racc/state.rb, line 914 def inspect "<reduce #{@rule.ident}>" end
ruleid() 点击切换源代码
# File racc-1.8.1/lib/racc/state.rb, line 910 def ruleid @rule.ident end