Sha256: 510e7e1235b7908c742655dc729ee79118967e3521f2f2514db459ab72b72d1d

Contents?: true

Size: 298 Bytes

Versions: 65

Compression:

Stored size: 298 Bytes

Contents

# frozen_string_literal: true

class Code
  class Parser
    class BitwiseOr < LeftOperation
      def statement
        BitwiseAnd
      end

      def pipe
        str("|")
      end

      def caret
        str("^")
      end

      def operator
        pipe | caret
      end
    end
  end
end

Version data entries

65 entries across 65 versions & 1 rubygems

Version Path
code-ruby-1.1.3 lib/code/parser/bitwise_or.rb
code-ruby-1.1.1 lib/code/parser/bitwise_or.rb
code-ruby-1.1.0 lib/code/parser/bitwise_or.rb
code-ruby-1.0.0 lib/code/parser/bitwise_or.rb
code-ruby-0.15.16 lib/code/parser/bitwise_or.rb
code-ruby-0.15.15 lib/code/parser/bitwise_or.rb
code-ruby-0.15.14 lib/code/parser/bitwise_or.rb
code-ruby-0.15.13 lib/code/parser/bitwise_or.rb
code-ruby-0.15.12 lib/code/parser/bitwise_or.rb
code-ruby-0.15.11 lib/code/parser/bitwise_or.rb
code-ruby-0.15.10 lib/code/parser/bitwise_or.rb
code-ruby-0.15.9 lib/code/parser/bitwise_or.rb
code-ruby-0.15.8 lib/code/parser/bitwise_or.rb
code-ruby-0.15.7 lib/code/parser/bitwise_or.rb
code-ruby-0.15.6 lib/code/parser/bitwise_or.rb
code-ruby-0.15.5 lib/code/parser/bitwise_or.rb
code-ruby-0.15.4 lib/code/parser/bitwise_or.rb
code-ruby-0.15.3 lib/code/parser/bitwise_or.rb
code-ruby-0.15.2 lib/code/parser/bitwise_or.rb
code-ruby-0.15.0 lib/code/parser/bitwise_or.rb