Sha256: 07ef7a9ff0ad2ceede69f8041ca740c66aea934ffae47ea0f138236d4dde22da

Contents?: true

Size: 215 Bytes

Versions: 16

Compression:

Stored size: 215 Bytes

Contents

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

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
lrama-0.6.9 lib/lrama/grammar/union.rb
lrama-0.6.8 lib/lrama/grammar/union.rb
lrama-0.6.7 lib/lrama/grammar/union.rb
lrama-0.6.6 lib/lrama/grammar/union.rb
lrama-0.6.5 lib/lrama/grammar/union.rb
lrama-0.6.4 lib/lrama/grammar/union.rb
lrama-0.6.3 lib/lrama/grammar/union.rb
lrama-0.6.2 lib/lrama/grammar/union.rb
lrama-0.6.1 lib/lrama/grammar/union.rb
lrama-0.6.0 lib/lrama/grammar/union.rb
lrama-0.5.12 lib/lrama/grammar/union.rb
lrama-0.5.11 lib/lrama/grammar/union.rb
lrama-0.5.10 lib/lrama/grammar/union.rb
lrama-0.5.9 lib/lrama/grammar/union.rb
lrama-0.5.8 lib/lrama/grammar/union.rb
lrama-0.5.7 lib/lrama/grammar/union.rb