Sha256: 3ecfb7e2eba7a9ae8e00e46495c06364cacc2474c1501840e0ce8eb11a405eca

Contents?: true

Size: 213 Bytes

Versions: 3

Compression:

Stored size: 213 Bytes

Contents

# frozen_string_literal: true

module Lrama
  class State
    class ShiftReduceConflict < Struct.new(:symbols, :shift, :reduce, keyword_init: true)
      def type
        :shift_reduce
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lrama-0.7.0 lib/lrama/state/shift_reduce_conflict.rb
lrama-0.6.11 lib/lrama/state/shift_reduce_conflict.rb
lrama-0.6.10 lib/lrama/state/shift_reduce_conflict.rb