Sha256: 17f2e36659053d36bf0a2707e2a52c3a107451661597b50b19977e620b00f599

Contents?: true

Size: 656 Bytes

Versions: 2

Compression:

Stored size: 656 Bytes

Contents

# frozen_string_literal: true

module Lrama
  # Command line options.
  class Options
    attr_accessor :skeleton, :header, :header_file,
                  :report_file, :outfile,
                  :error_recovery, :grammar_file,
                  :trace_opts, :report_opts,
                  :diagnostic, :y, :debug

    def initialize
      @skeleton = "bison/yacc.c"
      @header = false
      @header_file = nil
      @report_file = nil
      @outfile = "y.tab.c"
      @error_recovery = false
      @grammar_file = nil
      @trace_opts = nil
      @report_opts = nil
      @diagnostic = false
      @y = STDIN
      @debug = false
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lrama-0.6.11 lib/lrama/options.rb
lrama-0.6.10 lib/lrama/options.rb