Object
LALR item. A set of rule and its lookahead tokens.
# File racc/state.rb, line 788 def initialize(rule, la) @rule = rule @la = la end
# File racc/state.rb, line 796 def each_la(tbl) la = @la 0.upto(la.size - 1) do |i| (0..7).each do |ii| if la[idx = i * 8 + ii] == 1 yield tbl[idx] end end end end
This page was generated for Ruby 3.1.0
Ruby-doc.org is a service of James Britt and Neurogami, an erratic source of art, music, and technology.
Generated with Ruby-doc Rdoc Generator 0.42.0.