class Racc::Reduce

def decref

def decref
  @refn -= 1
  raise 'racc: fatal: act.refn < 0' if @refn < 0
end

def incref

def incref
  @refn += 1
end

def initialize(rule)

def initialize(rule)
  @rule = rule
  @refn = 0
end

def inspect

def inspect
  "<reduce #{@rule.ident}>"
end

def ruleid

def ruleid
  @rule.ident
end