Sha256: 2a22c9bdb12c0fcbb702aef50ed5183edbfb789c3adff3c57e043e40688f8439

Contents?: true

Size: 369 Bytes

Versions: 21

Compression:

Stored size: 369 Bytes

Contents

class Code
  class Parser
    class Greater < Operation
      def statement
        ::Code::Parser::BitwiseOr
      end

      def greater
        str(">")
      end

      def lesser
        str("<")
      end

      def equal
        str("=")
      end

      def operator
        (greater << equal) | (lesser << equal) | greater | lesser
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 3 rubygems

Version Path
template-ruby-0.5.6 lib/code/parser/greater.rb
language-ruby-0.5.6 lib/code/parser/greater.rb
code-ruby-0.5.6 lib/code/parser/greater.rb
template-ruby-0.5.5 lib/code/parser/greater.rb
language-ruby-0.5.5 lib/code/parser/greater.rb
code-ruby-0.5.5 lib/code/parser/greater.rb
template-ruby-0.5.4 lib/code/parser/greater.rb
language-ruby-0.5.4 lib/code/parser/greater.rb
code-ruby-0.5.4 lib/code/parser/greater.rb
template-ruby-0.5.3 lib/code/parser/greater.rb
language-ruby-0.5.3 lib/code/parser/greater.rb
code-ruby-0.5.3 lib/code/parser/greater.rb
template-ruby-0.5.2 lib/code/parser/greater.rb
language-ruby-0.5.2 lib/code/parser/greater.rb
code-ruby-0.5.2 lib/code/parser/greater.rb
language-ruby-0.5.1 lib/code/parser/greater.rb
template-ruby-0.5.1 lib/code/parser/greater.rb
code-ruby-0.5.1 lib/code/parser/greater.rb
template-ruby-0.5.0 lib/code/parser/greater.rb
language-ruby-0.5.0 lib/code/parser/greater.rb