Sha256: a043a4567fe0244f0ff060ee8259e4b736a88c79ed783e2820b1f78b65e12c20

Contents?: true

Size: 578 Bytes

Versions: 3

Compression:

Stored size: 578 Bytes

Contents

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lrama-0.5.8 lib/lrama/options.rb
lrama-0.5.7 lib/lrama/options.rb
lrama-0.5.6 lib/lrama/options.rb