Sha256: 77d5e4a3fb2ddcefaf06e0aadd34c8947e9d18ea768c0b2bfd6ae488d9728f3e

Contents?: true

Size: 306 Bytes

Versions: 21

Compression:

Stored size: 306 Bytes

Contents

class Code
  class Parser
    class Shift < Operation
      def statement
        ::Code::Parser::Addition
      end

      def greater
        str(">")
      end

      def lesser
        str("<")
      end

      def operator
        (greater << greater) | (lesser << 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/shift.rb
language-ruby-0.5.6 lib/code/parser/shift.rb
code-ruby-0.5.6 lib/code/parser/shift.rb
template-ruby-0.5.5 lib/code/parser/shift.rb
language-ruby-0.5.5 lib/code/parser/shift.rb
code-ruby-0.5.5 lib/code/parser/shift.rb
template-ruby-0.5.4 lib/code/parser/shift.rb
language-ruby-0.5.4 lib/code/parser/shift.rb
code-ruby-0.5.4 lib/code/parser/shift.rb
template-ruby-0.5.3 lib/code/parser/shift.rb
language-ruby-0.5.3 lib/code/parser/shift.rb
code-ruby-0.5.3 lib/code/parser/shift.rb
template-ruby-0.5.2 lib/code/parser/shift.rb
language-ruby-0.5.2 lib/code/parser/shift.rb
code-ruby-0.5.2 lib/code/parser/shift.rb
language-ruby-0.5.1 lib/code/parser/shift.rb
template-ruby-0.5.1 lib/code/parser/shift.rb
code-ruby-0.5.1 lib/code/parser/shift.rb
template-ruby-0.5.0 lib/code/parser/shift.rb
language-ruby-0.5.0 lib/code/parser/shift.rb