elpa/enh-ruby-mode/ruby/erm_buffer.rb
#:nodoc: internal use only
:nodoc: internal use only
: nodoc : internal use only
def on_op tok
      if @mode == :sym then
         add :label, tok
      else
        @mode = nil
        r = if @block && tok == '|'
            case @block
            when :b4args then
              indent :l
              @list_count += 1
              @block = :arglist
            else
              indent :r
              @list_count -= 1
              @block = false
            end
            add :arglist, tok, 1
          else
            add :op, tok, tok.size, false, :cont
          end
        @statment_start = true
        r
      end
    end
def on_op tok if @mode == :sym then add :label , tok else @mode = nil r = if @block && tok == '|' case @block when :b4args then indent :l @list_count += 1 @block = :arglist else indent :r @list_count -= 1 @block = false end add :arglist , tok , 1 else add :op , tok , tok . size , false , :cont end @statment_start = true r end end
:nodoc: internal use only
: nodoc : internal use only
tok