lib/rley/engine.rb in rley-0.7.03 vs lib/rley/engine.rb in rley-0.7.04

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + require_relative './syntax/grammar_builder' require_relative './parser/gfg_earley_parser' require_relative './parse_tree_visitor' require_relative './parse_forest_visitor' require_relative './parse_rep/parse_tree_factory' @@ -13,10 +15,9 @@ # @return [Symbol] allowed values are: :parse_tree, :parse_forest :parse_repr, :repr_builder, :diagnose ) do - # Constructor with default initialization. def initialize() super() self.parse_repr = :parse_tree self.repr_builder = :default