aboutsummaryrefslogtreecommitdiffstats
path: root/tool/lrama/lib/lrama/grammar/union.rb
blob: 854bffb5c143a323c982fcfdb2247363958c6545 (plain)
1
2
3
4
5
6
7
8
9
10
module Lrama
  class Grammar
    class Union < Struct.new(:code, :lineno, keyword_init: true)
      def braces_less_code
        # Braces is already removed by lexer
        code.s_value
      end
    end
  end
end