A set of rule and position in it's RHS. Note that the number of pointers is more than rule's RHS array, because pointer points right edge of the final symbol when reducing.
# File racc/grammar.rb, line 851 def before(len) @rule.ptrs[@index - len] or ptr_bug! end
# File racc/grammar.rb, line 835 def eql?(ot) @hash == ot.hash end
# File racc/grammar.rb, line 845 def next @rule.ptrs[@index + 1] or ptr_bug! end
# File racc/grammar.rb, line 828 def to_s sprintf('(%d,%d %s)', @rule.ident, @index, (reduce?() ? '#' : @symbol.to_s)) end