class Rufo::Formatter

def newline_follows_token(index)

def newline_follows_token(index)
  index -= 1
  while index >= 0
    token = @tokens[index]
    case current_token_kind
    when :on_sp
      # OK
    when :on_nl, :on_ignored_nl
      return true
    else
      return false
    end
    index -= 1
  end
  true
end