Sha256: c26940ba75950652d6a8c418a223ddf76c30aa47630bdd6bd24035b96163364b

Contents?: true

Size: 252 Bytes

Versions: 21

Compression:

Stored size: 252 Bytes

Contents

class Code
  class Parser
    class Range < Operation
      def statement
        ::Code::Parser::OrOperator
      end

      def dot
        str(".")
      end

      def operator
        (dot << dot << dot) | (dot << dot)
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 3 rubygems

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