       if item.range
         left = item.range[1]
     list
+
+  ###
+  # convertCommentPrefixes():
+  # Changes JS block comments into CoffeeScript block comments.
+  # This involves changing prefixes like `*` into `#`.
+  ###
+
+  convertCommentPrefixes: (node) ->
+    lines = node.value.split("\n")
+    lines = lines.map (line, i) ->
+      isTrailingSpace = i is lines.length-1 and line.match(/^\s*$/)
+      isSingleLine = i is 0 and lines.length is 1
+
+      if isTrailingSpace
+        ''
+      else if isSingleLine
+        line
+      else
+        line = line.replace(/^ \*/, '#')
+        line + "\n"
+    node.value = lines.join("")
+    node
 
 # ----------------------------------------------------------------------------
 

  injectComments: (node, key) ->
    node[key] = @addCommentsToList(node.range, node[key])
    node

  addCommentsToList: (range, body) ->
    return body unless range?


  # Block comments
  Block: (node) ->
    [ "###", node.value, "###\n" ]

  ReturnStatement: (node) ->
    if node.argument
