Object
# File ruby-3.1.2/lib/racc/statetransitiontable.rb, line 34 def StateTransitionTable.generate(states) StateTransitionTableGenerator.new(states).generate end
# File ruby-3.1.2/lib/racc/statetransitiontable.rb, line 38 def initialize(states) super() @states = states @grammar = states.grammar self.use_result_var = true self.debug_parser = true end
# File ruby-3.1.2/lib/racc/statetransitiontable.rb, line 49 def parser_class ParserClassGenerator.new(@states).generate end
# File ruby-3.1.2/lib/racc/statetransitiontable.rb, line 53 def token_value_table h = {} token_table().each do |sym, i| h[sym.value] = i end h end
This page was generated for Ruby 3.1.2
Ruby-doc.org is provided by James Britt and Neurogami. Maximum R+D.
Generated with Ruby-doc Rdoc Generator 0.42.0.