 }
 
 /**
-Print message to STDERR and exit(1)
-
-:param: message message to print
-*/
-func error(message: String) {
-    printSTDERR(message)
-    exit(1)
-}
-
-/**
-Print message to STDERR. Useful for UI messages without affecting STDOUT data.
-
-:param: message message to print.
-*/
-func printSTDERR(message: String) {
-    let stderr = NSFileHandle.fileHandleWithStandardError()
-    stderr.writeData((message + "\n").dataUsingEncoding(NSUTF8StringEncoding)!)
-}
-
-/**
 Parse declaration from XPC dictionary.
 
 :param: dictionary XPC dictionary to extract declaration from.

        syntaxArray.append(["type": type, "offset": offset, "length": length])
    }

    let syntaxJSONData = NSJSONSerialization.dataWithJSONObject(syntaxArray,
        options: .PrettyPrinted,
        error: nil)
    let syntaxJSON = NSString(data: syntaxJSONData!, encoding: NSUTF8StringEncoding)!
    println(syntaxJSON)
}

/**

                return fileContentsLineBreaks[fileContentsLineBreaks.count - index]
            }
        }
        return fileContentsLineBreaks.last ?? 0
    }() + 1
    return filteredSubstringTo(nextLineBreakOffset)
}
