 
         var uid = UInt64(0)
         data.getBytes(&uid, range: NSRange(location: 16 + parserOffset, length: 8))
-        let type = stringForSourceKitUID(uid)!
+        let type = stringForSourceKitUID(uid) ?? "unknown"
 
         var offset = 0
         data.getBytes(&offset, range: NSRange(location: 24 + parserOffset, length: 4))

        "key.request": sourcekitd_uid_get_from_cstr("source.request.editor.open"),
        "key.name": "",
        "key.sourcefile": file])
    return documentedTokenOffsets(sendSourceKitRequest(request)["key.syntaxmap"] as NSData!, file)
}

/**

        var xcodebuildArguments = Array<String>(arguments[2..<arguments.count])
        var headerFiles = [String]()
        while xcodebuildArguments.first?.rangeOfString(".h") != nil {
            headerFiles.append(absolutePath(xcodebuildArguments.first!)) // Safe to force unwrap
            xcodebuildArguments.removeAtIndex(0)
        }
        if let xcodebuildOutput = run_xcodebuild(xcodebuildArguments) {
