Parent

Racc::Reduce

Attributes

rule[R]
refn[R]

Public Class Methods

new(rule) click to toggle source
     # File lib/racc/state.rb, line 897
897:     def initialize(rule)
898:       @rule = rule
899:       @refn = 0
900:     end

Public Instance Methods

decref() click to toggle source
     # File lib/racc/state.rb, line 917
917:     def decref
918:       @refn -= 1
919:       raise 'racc: fatal: act.refn < 0' if @refn < 0
920:     end
incref() click to toggle source
     # File lib/racc/state.rb, line 913
913:     def incref
914:       @refn += 1
915:     end
inspect() click to toggle source
     # File lib/racc/state.rb, line 909
909:     def inspect
910:       "<reduce #{@rule.ident}>"
911:     end
ruleid() click to toggle source
     # File lib/racc/state.rb, line 905
905:     def ruleid
906:       @rule.ident
907:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.