lib/antelope/generation/tableizer.rb in antelope-0.2.4 vs lib/antelope/generation/tableizer.rb in antelope-0.3.0
- old
+ new
@@ -6,11 +6,11 @@
# Constructs the table required for the parser.
class Tableizer
# The grammar that the table is based off of.
#
- # @return [Ace::Grammar]
+ # @return [Grammar]
attr_accessor :grammar
# The table itself.
#
# @return [Array<Hash<(Symbol, Array<(Symbol, Numeric)>)>>]
@@ -23,10 +23,10 @@
attr_reader :conflicts
# Initialize.
#
- # @param grammar [Ace::Grammar]
+ # @param grammar [Grammar]
def initialize(grammar)
@grammar = grammar
end
# Construct the table, and then check the table for conflicts.