       messageOrigin.server = prefix.substr 1
   messageOrigin
 
+###*
+  * Parses an IRC message.
+  * @name parseIrcMessage
+  * @package IRC Parser
+  * @category Function
+  * @parameter {string} line (The raw IRC message to parse.)
+  * @type IrcMessage
+###
 parseIrcMessage = (line) ->
   parsedMessage = new IrcMessage()
   splitLine = splitIrcLine(line)

IrcMessage = require "./IrcMessage.coffee"
repliesByCode =
  "RPL_WELCOME": "001",
  "RPL_YOURHOST": "002",

    splitLine.push linePart
  splitLine

###*
  * Determines the origin of a message from the prefix. See IrcMessage.origin.
  * @name getMessageOrigin
  * @package IRC Parser
  * @category Function
  * @parameter {string} prefix (The prefix of the IRC message. Generally the first token.)
  * @type Object
###
getMessageOrigin = (prefix) ->
  messageOrigin = {}
  if /:.*!.*@.+.*/.exec(prefix)
