Sha256: c6fe50315ed801467808e0571a1018f4b61c474d8af020791184eb70ecaf52f5

Contents?: true

Size: 256 Bytes

Versions: 65

Compression:

Stored size: 256 Bytes

Contents

# frozen_string_literal: true

class Code
  class Parser
    class OrOperator < LeftOperation
      def statement
        AndOperator
      end

      def pipe
        str("|")
      end

      def operator
        pipe << pipe
      end
    end
  end
end

Version data entries

65 entries across 65 versions & 1 rubygems

Version Path
code-ruby-0.14.9 lib/code/parser/or_operator.rb
code-ruby-0.14.8 lib/code/parser/or_operator.rb
code-ruby-0.14.6 lib/code/parser/or_operator.rb
code-ruby-0.14.5 lib/code/parser/or_operator.rb
code-ruby-0.14.4 lib/code/parser/or_operator.rb
code-ruby-0.14.3 lib/code/parser/or_operator.rb
code-ruby-0.14.2 lib/code/parser/or_operator.rb
code-ruby-0.14.1 lib/code/parser/or_operator.rb
code-ruby-0.14.0 lib/code/parser/or_operator.rb
code-ruby-0.13.1 lib/code/parser/or_operator.rb
code-ruby-0.13.0 lib/code/parser/or_operator.rb
code-ruby-0.12.0 lib/code/parser/or_operator.rb
code-ruby-0.11.0 lib/code/parser/or_operator.rb
code-ruby-0.10.4 lib/code/parser/or_operator.rb
code-ruby-0.10.3 lib/code/parser/or_operator.rb
code-ruby-0.10.2 lib/code/parser/or_operator.rb
code-ruby-0.10.1 lib/code/parser/or_operator.rb
code-ruby-0.10.0 lib/code/parser/or_operator.rb
code-ruby-0.9.3 lib/code/parser/or_operator.rb
code-ruby-0.9.2 lib/code/parser/or_operator.rb