├── .gitignore ├── siteify ├── siteify-Bridging-Header.h ├── main.swift ├── Synchronizer.swift └── ByteRegex.swift ├── .swiftpm └── xcode │ └── package.xcworkspace │ └── contents.xcworkspacedata ├── siteify.xcodeproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ ├── IDEWorkspaceChecks.plist │ │ └── WorkspaceSettings.xcsettings └── xcshareddata │ └── xcschemes │ └── siteify.xcscheme ├── Package.swift ├── html ├── canviz-0.1 │ ├── README.txt │ ├── LICENSE.txt │ └── canviz.css ├── siteify.css ├── siteify.js ├── canviz.html ├── siteify-Bridging-Header.h.html ├── Package.swift__.html ├── checkouts-state.json.html ├── ShowMessageParams.swift.html ├── Initialized.swift.html ├── Declaration.swift.html ├── Implementation.swift.html ├── Definition.swift.html ├── MessageActionItem.swift.html ├── SwiftRegex5.h.html ├── LanguageServerProtocol.h.html ├── Package.swift_.html ├── LocationLink.swift.html ├── Package.swift___.html ├── Package.swift____.html ├── MockProtocolTransportMessage.swift.html ├── Package.swift.html ├── JSONRPC+Helpers.swift.html ├── LogMessageParams.swift.html ├── WorkspaceFolder.swift.html ├── Location.swift.html ├── DataTransport.swift.html ├── ShowMessageRequest.swift.html ├── Package.swift_____.html └── MessageType.swift.html └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | build/* 2 | *Library/* 3 | *xcuserdata* 4 | .build/* 5 | -------------------------------------------------------------------------------- /siteify/siteify-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | // 2 | // Use this file to import your target's public headers that you would like to expose to Swift. 3 | // 4 | 5 | #import "sourcekitd.h" 6 | -------------------------------------------------------------------------------- /.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /siteify.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /siteify.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /siteify.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEWorkspaceSharedSettings_AutocreateContextsIfNeeded 6 | 7 | PreviewsEnabled 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /siteify/main.swift: -------------------------------------------------------------------------------- 1 | // 2 | // main.swift 3 | // siteify 4 | // 5 | // Created by John Holdsworth on 16/02/2016. 6 | // Copyright © 2016 John Holdsworth. All rights reserved. 7 | // 8 | // $Id: //depot/siteify/siteify/main.swift#41 $ 9 | // 10 | // Repo: https://github.com/johnno1962/siteify 11 | // 12 | 13 | import Cocoa 14 | 15 | let projectRoot = CommandLine.arguments.dropFirst().first 16 | Siteify(projectRoot: projectRoot ?? ".").generateSite(into: "html") 17 | 18 | NSWorkspace.shared.open(URL(fileURLWithPath: "html/index.html")) 19 | -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- 1 | // swift-tools-version:5.0 2 | // The swift-tools-version declares the minimum version of Swift required to build this package. 3 | 4 | import PackageDescription 5 | 6 | let package = Package( 7 | name: "siteify", 8 | platforms: [.macOS("10.12")], 9 | products: [ 10 | .executable(name: "siteify", targets: ["siteify"]), 11 | ], 12 | dependencies: [ 13 | .package(url: "https://github.com/johnno1962/SourceKitHeader.git", .branch("master")), 14 | .package(url: "https://github.com/johnno1962/Parallel.git", .branch("master")), 15 | .package(url: "https://github.com/johnno1962/GitInfo.git", .branch("master")), 16 | .package(url: "https://github.com/ChimeHQ/SwiftLSPClient.git", .branch("master")), 17 | ], 18 | targets: [ 19 | .target(name: "siteify", dependencies: ["SwiftLSPClient", "Parallel", "GitInfo"], path: "siteify/"), 20 | ] 21 | ) 22 | -------------------------------------------------------------------------------- /html/canviz-0.1/README.txt: -------------------------------------------------------------------------------- 1 | CANVIZ 2 | ====== 3 | 4 | 5 | Introduction 6 | ------------ 7 | 8 | Canviz is a library for drawing Graphviz graphs to a web browser canvas. It is 9 | designed to be used by web applications that need to display or edit graphs, as 10 | a replacement for sending graphs as bitmapped images and image maps. 11 | 12 | For more information, please visit the Canviz web site at http://canviz.org/ . 13 | 14 | 15 | License 16 | ------- 17 | 18 | Canviz is provided under the terms of the MIT license. See the file LICENSE.txt. 19 | 20 | This product includes color specifications and designs developed by Cynthia 21 | Brewer (http://colorbrewer.org/). Use of the ColorBrewer color schemes is 22 | subject to a separate license. See the file LICENSE-ColorBrewer.txt. 23 | 24 | Canviz requires the use of some other software, including the Path, Prototype 25 | and Excanvas libraries, and the Graphviz software, which have licenses of their 26 | own. -------------------------------------------------------------------------------- /html/canviz-0.1/LICENSE.txt: -------------------------------------------------------------------------------- 1 | MIT-style software license for Canviz library 2 | 3 | Copyright (c) 2006-2009 Ryan Schmidt 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /html/canviz-0.1/canviz.css: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of Canviz. See http://www.canviz.org/ 3 | * $Id: //depot/siteify/siteify/Resources.swift#51 $ 4 | */ 5 | 6 | body { 7 | background: #eee; 8 | margin: 0; 9 | padding: 0; 10 | } 11 | #busy { 12 | position: fixed; 13 | z-index: 1; 14 | left: 50%; 15 | top: 50%; 16 | width: 10em; 17 | height: 2em; 18 | margin: -1em 0 0 -5em; 19 | line-height: 2em; 20 | text-align: center; 21 | background: #333; 22 | color: #fff; 23 | opacity: 0.95; 24 | } 25 | #graph_form { 26 | position: fixed; 27 | z-index: 2; 28 | left: 0; 29 | top: 0; 30 | background: #eee; 31 | border: solid #ccc; 32 | border-width: 0 1px 1px 0; 33 | opacity: 0.95; 34 | } 35 | #graph_form, 36 | #graph_form input, 37 | #graph_form select { 38 | font: 12px "Lucida Grande", Arial, Helvetica, sans-serif; 39 | } 40 | #graph_form fieldset { 41 | margin: 0.5em; 42 | padding: 0.5em 0; 43 | text-align: center; 44 | border: solid #ccc; 45 | border-width: 1px 0 0 0; 46 | } 47 | #graph_form legend { 48 | padding: 0 0.5em 0 0; 49 | } 50 | #graph_form input.little_button { 51 | width: 3em; 52 | } 53 | #graph_form select, 54 | #graph_form input.big_button { 55 | width: 15em; 56 | } 57 | #graph_container { 58 | background: #fff; 59 | margin: 0 auto; 60 | } 61 | #debug_output { 62 | margin: 1em; 63 | } -------------------------------------------------------------------------------- /siteify/Synchronizer.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Synchronizer.swift 3 | // siteify 4 | // 5 | // Created by John Holdsworth on 28/11/2019. 6 | // Copyright © 2019 John Holdsworth. All rights reserved. 7 | // 8 | // $Id: //depot/siteify/siteify/Synchronizer.swift#2 $ 9 | // 10 | // Repo: https://github.com/johnno1962/siteify 11 | // 12 | 13 | import Dispatch 14 | import SwiftLSPClient 15 | 16 | struct LanguageServerSynchronizer { 17 | let semaphore = DispatchSemaphore(value: 0) 18 | var errorHandler = { 19 | (message: String) in 20 | fatalError(message) 21 | } 22 | 23 | func sync(_ block: @escaping (@escaping (LanguageServerError?) -> Void) -> Void) { 24 | block({ (error: LanguageServerError?) in 25 | if error != nil { 26 | self.errorHandler("LanguageServerError: \(error!)") 27 | } 28 | self.semaphore.signal() 29 | }) 30 | semaphore.wait() 31 | } 32 | 33 | func sync(_ block: @escaping (@escaping (LanguageServerResult) -> Void) -> Void) -> RESP? { 34 | var theResponse: RESP? 35 | block({ (response: LanguageServerResult) in 36 | switch response { 37 | case .success(let value): 38 | theResponse = value 39 | case .failure(let error): 40 | self.errorHandler("Error response \(error)") 41 | } 42 | self.semaphore.signal() 43 | }) 44 | semaphore.wait() 45 | return theResponse 46 | } 47 | } 48 | 49 | -------------------------------------------------------------------------------- /siteify/ByteRegex.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ByteRegex.swift 3 | // refactord 4 | // 5 | // Created by John Holdsworth on 20/12/2015. 6 | // Copyright © 2015 John Holdsworth. All rights reserved. 7 | // 8 | // $Id: //depot/Refactorator/refactord/ByteRegex.swift#10 $ 9 | // 10 | // Repo: https://github.com/johnno1962/Refactorator 11 | // 12 | 13 | import Foundation 14 | 15 | extension regmatch_t { 16 | 17 | var range: NSRange { 18 | return NSMakeRange(Int(rm_so), Int(rm_eo-rm_so)) 19 | } 20 | 21 | } 22 | 23 | class ByteRegex { 24 | 25 | var regex = regex_t() 26 | let groups: Int 27 | 28 | init(pattern: String, cflags: Int32 = REG_EXTENDED|REG_ENHANCED) { 29 | let error = regcomp(®ex, pattern, cflags) 30 | if error != 0 { 31 | var errbuff = [Int8](repeating: 0, count: 1024) 32 | regerror(error, ®ex, &errbuff, errbuff.count) 33 | print("ByteRegex: Error in regex '\(pattern)': \(String(cString: errbuff))") 34 | } 35 | groups = 1 + pattern.filter { $0 == "(" } .count 36 | } 37 | 38 | func match(input: NSData, mflags: Int32 = 0) -> [regmatch_t]? { 39 | var matches = [regmatch_t](repeating: regmatch_t(), count: groups) 40 | let error = regexec(®ex, input.bytes.assumingMemoryBound(to: Int8.self), matches.count, &matches, mflags) 41 | if error != 0 && error != REG_NOMATCH { 42 | var errbuff = [Int8](repeating: 0, count: 1024) 43 | regerror(error, ®ex, &errbuff, errbuff.count) 44 | print("ByteRegex: Error in match: \(String(cString: errbuff))") 45 | } 46 | return error == 0 ? matches : nil 47 | } 48 | 49 | deinit { 50 | regfree(®ex) 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /html/siteify.css: -------------------------------------------------------------------------------- 1 | 2 | body, table { font: 10pt Menlo Regular; } 3 | body.index img { ddisplay: none; width: 16px; height: 16px; position: relative; top: 3px; } 4 | body.source img { position: relative; top: 3px; left: -1px; } 5 | 6 | .builtin { color: #A90D91; } 7 | .comment { color: #10743E; } 8 | .url { color: blue; } 9 | .doccomment { color: #10743E; } 10 | .identifier { color: #3F6E74; } 11 | .keyword { color: #AD0D91; } 12 | .number { color: #1D26E1; } 13 | .string { color: #CB444D; } 14 | .typeidentifier { color: #5C2599; } 15 | .shaded { background-color: rgba(128, 128, 255, 0.1); } 16 | .crdate { color: green; font-weight: bold; } 17 | .mdate { color: red; font-weight: bold; } 18 | 19 | .linenum { color: black; text-decoration: none; } 20 | a.linenum:hover { text-decoration: underline; } 21 | .highlight { border-right: 4px solid rgba(0, 255, 0, 0); } 22 | .lastday { border-right: 4px solid rgba(0, 255, 0, 1); } 23 | .lastweek { border-right: 4px solid rgba(0, 255, 0, .5); } 24 | .lastmonth { border-right: 4px solid rgba(0, 255, 0, .25); } 25 | .lastyear { border-right: 4px solid rgba(0, 255, 0, .125); } 26 | 27 | @media (prefers-color-scheme: dark) { 28 | body { background: #292A30; color: #DFDFE0; } 29 | .builtin { color: #A90D91; } 30 | .comment { color: #7F8C98; } 31 | .url, a:link { color: #6699FC; } 32 | .doccomment { color: #7F8C98; } 33 | .identifier { color: #D9C97C; } 34 | .keyword { color: #EE77B1; } 35 | .number { color: #D9C97C; } 36 | .string { color: #EF7E6E; } 37 | .typeidentifier { color: #DABAFE; } 38 | .linenum { color: #717276; } 39 | a:visited { color: #7679DC } 40 | } 41 | 42 | span.references { display: none; position: absolute; border: 2px outset; z-index: 100; } 43 | span.references table { background-color: white; color: #292A30; } 44 | span.references table tr td { border: 1px inset; } -------------------------------------------------------------------------------- /html/siteify.js: -------------------------------------------------------------------------------- 1 | // 2 | // siteify.js 3 | // siteify 4 | // 5 | // Created by John Holdsworth on 28/10/2019. 6 | // Copyright © 2019 John Holdsworth. All rights reserved. 7 | // 8 | // $Id: //depot/siteify/siteify/Resources.swift#51 $ 9 | // 10 | // Repo: https://github.com/johnno1962/siteify 11 | // 12 | 13 | var openDecl; 14 | 15 | function expandDecl(a,evnt) { 16 | var popup = a.parentElement.children[1] 17 | if (popup.style.display != "block") { 18 | if (openDecl) 19 | openDecl.style.display = "none"; 20 | popup.style.display = "block"; 21 | openDecl = popup; 22 | } 23 | else { 24 | popup.style.display = "none"; 25 | openDecl = null; 26 | } 27 | (evnt || event).stopPropagation() 28 | return false; 29 | } 30 | 31 | function refClick(a,closePopup,evnt) { 32 | if (closePopup) { 33 | openDecl.style.display = "none"; 34 | openDecl = null; 35 | } 36 | return true 37 | } 38 | 39 | var lastSpan 40 | 41 | function extendShade(evnt) { 42 | if (openDecl){ 43 | openDecl.style.display = "none"; 44 | openDecl = null; 45 | } 46 | var span = (evnt || event).target 47 | if (span && span.href) 48 | return 49 | while(span && span.className != "shade" && span.className != "shaded") 50 | span = span.parentElement 51 | if (lastSpan && lastSpan != span) { 52 | while (lastSpan) { 53 | if (lastSpan.className == "shaded") 54 | lastSpan.className = "shade" 55 | lastSpan = lastSpan.parentElement 56 | } 57 | } 58 | lastSpan = span 59 | while(span && span.className != "shade") 60 | span = span.parentElement 61 | if (span && span.className == "shade") 62 | span.className = "shaded" 63 | } 64 | 65 | function lineLink(commit, when, lineno) { 66 | when *= 1000 67 | var age = Date.now() - when 68 | var day = 24*60*60*1000 69 | var fade = "" 70 | if (age < day) 71 | fade = " lastday" 72 | else if (age < 7 * day) 73 | fade = " lastweek" 74 | else if (age < 31 * day) 75 | fade = " lastmonth" 76 | else if (age < 365 * day) 77 | fade = " lastyear" 78 | var info = commits[commit] || { 79 | "message": "\n [Outside blame range]\n"} 80 | var title = "Author: "+(info["author"]||"Unknown")+"\n"+ 81 | (info["date"]||new Date(when))+"\n"+(info["message"]||"") 82 | 83 | document.write(""+ 87 | lineno+" ") 88 | } 89 | -------------------------------------------------------------------------------- /siteify.xcodeproj/xcshareddata/xcschemes/siteify.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 44 | 46 | 52 | 53 | 54 | 55 | 61 | 62 | 64 | 65 | 68 | 69 | 70 | -------------------------------------------------------------------------------- /html/canviz.html: -------------------------------------------------------------------------------- 1 | 3 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | Siteify Object Graph 17 | 18 | 19 | 20 | 40 | 41 | 42 | 58 | 59 | 60 | 61 |
62 |
63 |
64 | 65 | 66 | -------------------------------------------------------------------------------- /html/siteify-Bridging-Header.h.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | siteify/siteify-Bridging-Header.h 4 | 5 | 6 | 7 |

Source: siteify/siteify-Bridging-Header.h (Return to Index)

8 |

Repo: https://github.com/johnno1962/siteify.git

9 |
Initial Commit:Wed Feb 17 15:59:27 2016 +0000 10 |
Last modified:Wed Feb 17 15:59:27 2016 +0000

23 | 
24 | 
25 | 
26 | 
27 | 0006  
28 | //
29 | //  Use this file to import your target's public headers that you would like to expose to Swift.
30 | //
31 | 
32 | #import "sourcekitd.h"
33 | 


--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
 1 | 
 2 | ## siteify - Build a hyperlinked Web Site from project's Swift sources.
 3 | 
 4 | Created as a means of testing SourceKit but useful more generally as a mean for browsing
 5 | source code, `siteify` is a Swift program that creates a hyperlinked HTML reference of a
 6 | project that can be built with the Swift Package Manager and be navigated in a Web Browser.
 7 | Links over symbol references take you to their definition and clicking on the link on a definition
 8 | will list links for the places the symbol is referenced.
 9 | 
10 | For example, the source of this project is available to browse [here](http://johnholdsworth.com/siteify/html/).
11 | 
12 | ![Icon](http://injectionforxcode.johnholdsworth.com/siteify2.png)
13 | 
14 | To use, download, and build this project using Xcode or Swift Package Manager. After the
15 | Xcode build completes, the binary is installed as `~/bin/siteify`. Using SPM, use
16 | `swift build` and copy `.build/debug/siteify` to `~/bin`.
17 | 
18 | _cd_ into the root the SPM project you wish to document and run `swift build` in
19 | order to update its index then type `~/bin/siteify`. You'll need to download a recent
20 | development toolchain from [swift.org](https://swift.org/download/) to get the required
21 | `sourcekit-lsp` executable.  `siteify` can take a command line argument which is
22 | the SPM repo to process but always places the generated html in the directory `html`
23 | created in the current working directory and opens the file `html/index.html`.
24 | 
25 | ### SPM dependencies
26 | 
27 | Having started as Xcode project, eventually I wanted to start using SPM dependencies
28 | so the project contains a script [pre-action.sh](pre-action.sh) which allows you to include
29 | SPM dependencies as frameworks during the transition.
30 | 
31 | ### Customisation
32 | 
33 | Siteify generates html files based on templates built into the app from the source
34 | [`Resources.swift`](siteify/Resouces.swift). Certain information about a file is patched
35 | in at the last minute using tags such as `\_\_ROOT\_\_`, `\_\_DATE\_\_`, `\_\_REPO\_\_` 
36 | and, for individual source files , `\_\_CRDATE\_\_`, , `\_\_MDATE\_\_` along with the system
37 | `\_\_IMG\_\_` for that type of file. These templates are compiled into the application but
38 | can be overridden by placing your own HTML/CSS/JS templates in `~/Library/Siteify` for the
39 | styling you prefer.
40 | 
41 | This project uses [ChimeHQ/SwiftLSPClient](https://github.com/ChimeHQ/SwiftLSPClient)
42 | under a `BSD 3-Clause "New" or "Revised" License"` to communicate with the 
43 | [Apple LSP server](https://github.com/apple/sourcekit-lsp)
44 | 
45 | ### MIT License
46 | 
47 | Copyright (C) 2016 John Holdsworth
48 | 
49 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated 
50 | documentation files (the "Software"), to deal in the Software without restriction, including without limitation 
51 | the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, 
52 | and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
53 | 
54 | The above copyright notice and this permission notice shall be included in all copies or substantial 
55 | portions of the Software.
56 | 
57 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT 
58 | LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 
59 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 
60 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 
61 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
62 | 
63 | This source includes a header file "sourcekit.h" from Apple's Swift Open Source distribution under Apache License v2.0 and a very old version of [canviz](http://www.ryandesign.com/canviz/) which allows you to render [graphviz](https://www.graphviz.org/) "dot" files of class inter-relationships if you have `/usr/local/bin/dot` installed and you view the generated files through a web server.
64 | 


--------------------------------------------------------------------------------
/html/Package.swift__.html:
--------------------------------------------------------------------------------
 1 | 
 2 |     
 3 |     .build/checkouts/SourceKitHeader/Package.swift
 4 |     
 5 |     
 6 | 
 7 | 

Source: .build/checkouts/SourceKitHeader/Package.swift (Return to Index)

8 |

Repo: https://github.com/johnno1962/SourceKitHeader.git

9 |
Initial Commit:Tue Jan 19 15:33:44 2016 -0800 10 |
Last modified:Thu Dec 12 15:51:13 2019 +0100

35 | 
36 | 
37 | 
38 | 
39 | 
40 | 0007  
41 | // swift-tools-version:5.1
42 | import PackageDescription
43 | 
44 | let package = Package(
45 |   name: "SourceKitHeader"
46 | )
47 | 


--------------------------------------------------------------------------------
/html/checkouts-state.json.html:
--------------------------------------------------------------------------------
 1 | 
 2 |     
 3 |     .build/repositories/checkouts-state.json
 4 |     
 5 |     
 6 | 
 7 | 

Source: .build/repositories/checkouts-state.json (Return to Index)

8 |

Repo: https://github.com/johnno1962/siteify.git

9 |
Initial Commit:Unknown 10 |
Last modified:Unknown
0001  
18 | {"object": {"repositories": {"https://github.com/ChimeHQ/SwiftLSPClient.git": {"repositoryURL": "https://github.com/ChimeHQ/SwiftLSPClient.git", "status": "available", "subpath": "SwiftLSPClient-4c3b2f8f"}, "https://github.com/johnno1962/GitInfo.git": {"repositoryURL": "https://github.com/johnno1962/GitInfo.git", "status": "available", "subpath": "GitInfo-d00586ea"}, "https://github.com/johnno1962/Parallel.git": {"repositoryURL": "https://github.com/johnno1962/Parallel.git", "status": "available", "subpath": "Parallel-c3fcf245"}, "https://github.com/johnno1962/SourceKitHeader.git": {"repositoryURL": "https://github.com/johnno1962/SourceKitHeader.git", "status": "available", "subpath": "SourceKitHeader-b57d81f4"}, "https://github.com/johnno1962/SwiftRegex5.git": {"repositoryURL": "https://github.com/johnno1962/SwiftRegex5.git", "status": "available", "subpath": "SwiftRegex5-73ecefb9"}}}, "version": 1}


--------------------------------------------------------------------------------
/html/ShowMessageParams.swift.html:
--------------------------------------------------------------------------------
 1 | 
 2 |     
 3 |     .build/checkouts/SwiftLSPClient/SwiftLSPClient/Types/Window/ShowMessageParams.swift
 4 |     
 5 |     
 6 | 
 7 | 

Source: .build/checkouts/SwiftLSPClient/SwiftLSPClient/Types/Window/ShowMessageParams.swift (Return to Index)

8 |

Repo: https://github.com/ChimeHQ/SwiftLSPClient.git

9 |
Initial Commit:Mon Sep 2 21:15:16 2019 -0400 10 |
Last modified:Mon Sep 2 21:15:16 2019 -0400

23 | 
24 | 
25 | 
26 | 
27 | 
28 | 
29 | 
30 | 
31 | 
32 | 
33 | 0012  
34 | //
35 | //  ShowMessageParams.swift
36 | //  SwiftLSPClient
37 | //
38 | //  Created by Matt Massicotte on 2019-09-02.
39 | //  Copyright © 2019 Chime Systems. All rights reserved.
40 | //
41 | 
42 | import Foundation
43 | 
44 | public typealias ShowMessageParams
JSONRPCLanguageServer.swift:45
            decodeNotification(named: notificationMethod, data: data) { (value: ShowMessageParams) in
Siteify.swift:691
    public func languageServer(_ server: LanguageServer, showMessage message: ShowMessageParams) {
LanguageServer.swift:80
    func languageServer(_ server: LanguageServer, showMessage message: ShowMessageParams)
= LogMessageParams
45 | -------------------------------------------------------------------------------- /html/Initialized.swift.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | .build/checkouts/SwiftLSPClient/SwiftLSPClient/Types/General/Initialized.swift 4 | 5 | 6 | 7 |

Source: .build/checkouts/SwiftLSPClient/SwiftLSPClient/Types/General/Initialized.swift (Return to Index)

8 |

Repo: https://github.com/ChimeHQ/SwiftLSPClient.git

9 |
Initial Commit:Sun Nov 17 08:36:19 2019 -0500 10 |
Last modified:Sun Nov 17 08:36:19 2019 -0500

23 | 
24 | 
25 | 
26 | 
27 | 
28 | 
29 | 
30 | 
31 | 
32 | 
33 | 
34 | 
35 | 
36 | 0015  
37 | //
38 | //  Initialized.swift
39 | //  SwiftLSPClient
40 | //
41 | //  Created by Matt Massicotte on 2019-11-16.
42 | //  Copyright © 2019 Chime Systems. All rights reserved.
43 | //
44 | 
45 | import Foundation
46 | 
47 | public struct InitializedParams
JSONRPCLanguageServer.swift:109
    public func initialized(params: InitializedParams, block: @escaping (LanguageServerError?) -> Void) {
LanguageServer.swift:53
    func initialized(params: InitializedParams, block: @escaping (LanguageServerError?) -> Void)
: Codable { 48 | public init() { 49 | } 50 | }
51 | -------------------------------------------------------------------------------- /html/Declaration.swift.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | .build/checkouts/SwiftLSPClient/SwiftLSPClient/Types/Features/Declaration.swift 4 | 5 | 6 | 7 |

Source: .build/checkouts/SwiftLSPClient/SwiftLSPClient/Types/Features/Declaration.swift (Return to Index)

8 |

Repo: https://github.com/ChimeHQ/SwiftLSPClient.git

9 |
Initial Commit:Tue Sep 10 12:53:38 2019 -0400 10 |
Last modified:Sat Nov 9 20:11:39 2019 -0500

29 | 
30 | 
31 | 
32 | 
33 | 
34 | 
35 | 
36 | 
37 | 
38 | 
39 | 0012  
40 | //
41 | //  Declaration.swift
42 | //  SwiftLSPClient
43 | //
44 | //  Created by Matt Massicotte on 2019-09-09.
45 | //  Copyright © 2019 Chime Systems. All rights reserved.
46 | //
47 | 
48 | import Foundation
49 | 
50 | public typealias DeclarationResponse
JSONRPCLanguageServer.swift:204
    public func declaration(params: TextDocumentPositionParams, block: @escaping (LanguageServerResult<DeclarationResponse>) -> Void) {
JSONRPCLanguageServer.swift:207
        protocolTransport.sendRequest(params, method: method) { (result: ProtocolResponse<DeclarationResponse>) in
LanguageServer.swift:65
    func declaration(params: TextDocumentPositionParams, block: @escaping (LanguageServerResult<DeclarationResponse>) -> Void)
= TypeDefinitionResponse?
51 | -------------------------------------------------------------------------------- /html/Implementation.swift.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | .build/checkouts/SwiftLSPClient/SwiftLSPClient/Types/Features/Implementation.swift 4 | 5 | 6 | 7 |

Source: .build/checkouts/SwiftLSPClient/SwiftLSPClient/Types/Features/Implementation.swift (Return to Index)

8 |

Repo: https://github.com/ChimeHQ/SwiftLSPClient.git

9 |
Initial Commit:Tue Sep 10 12:53:38 2019 -0400 10 |
Last modified:Sat Nov 9 20:11:39 2019 -0500

29 | 
30 | 
31 | 
32 | 
33 | 
34 | 
35 | 
36 | 
37 | 
38 | 
39 | 0012  
40 | //
41 | //  Implementation.swift
42 | //  SwiftLSPClient
43 | //
44 | //  Created by Matt Massicotte on 2019-09-09.
45 | //  Copyright © 2019 Chime Systems. All rights reserved.
46 | //
47 | 
48 | import Foundation
49 | 
50 | public typealias ImplementationResponse
JSONRPCLanguageServer.swift:228
    public func implementation(params: TextDocumentPositionParams, block: @escaping (LanguageServerResult<ImplementationResponse>) -> Void) {
JSONRPCLanguageServer.swift:231
        protocolTransport.sendRequest(params, method: method) { (result: ProtocolResponse<ImplementationResponse>) in
LanguageServer.swift:68
    func implementation(params: TextDocumentPositionParams, block: @escaping (LanguageServerResult<ImplementationResponse>) -> Void)
= TypeDefinitionResponse?
51 | -------------------------------------------------------------------------------- /html/Definition.swift.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | .build/checkouts/SwiftLSPClient/SwiftLSPClient/Types/Features/Definition.swift 4 | 5 | 6 | 7 |

Source: .build/checkouts/SwiftLSPClient/SwiftLSPClient/Types/Features/Definition.swift (Return to Index)

8 |

Repo: https://github.com/ChimeHQ/SwiftLSPClient.git

9 |
Initial Commit:Tue Sep 10 12:53:38 2019 -0400 10 |
Last modified:Sat Nov 9 20:11:39 2019 -0500

29 | 
30 | 
31 | 
32 | 
33 | 
34 | 
35 | 
36 | 
37 | 
38 | 
39 | 0012  
40 | //
41 | //  Definition.swift
42 | //  SwiftLSPClient
43 | //
44 | //  Created by Matt Massicotte on 2019-09-09.
45 | //  Copyright © 2019 Chime Systems. All rights reserved.
46 | //
47 | 
48 | import Foundation
49 | 
50 | public typealias DefinitionResponse
JSONRPCLanguageServer.swift:212
    public func definition(params: TextDocumentPositionParams, block: @escaping (LanguageServerResult<DefinitionResponse>) -> Void) {
JSONRPCLanguageServer.swift:215
        protocolTransport.sendRequest(params, method: method) { (result: ProtocolResponse<DefinitionResponse>) in
Siteify.swift:504
                func hyperlinkIdentifier(result: LanguageServerResult<DefinitionResponse>) {
LanguageServer.swift:66
    func definition(params: TextDocumentPositionParams, block: @escaping (LanguageServerResult<DefinitionResponse>) -> Void)
= TypeDefinitionResponse?
51 | -------------------------------------------------------------------------------- /html/MessageActionItem.swift.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | .build/checkouts/SwiftLSPClient/SwiftLSPClient/Types/Window/MessageActionItem.swift 4 | 5 | 6 | 7 |

Source: .build/checkouts/SwiftLSPClient/SwiftLSPClient/Types/Window/MessageActionItem.swift (Return to Index)

8 |

Repo: https://github.com/ChimeHQ/SwiftLSPClient.git

9 |
Initial Commit:Mon Sep 2 21:15:16 2019 -0400 10 |
Last modified:Mon Sep 2 21:15:16 2019 -0400

23 | 
24 | 
25 | 
26 | 
27 | 
28 | 
29 | 
30 | 
31 | 
32 | 
33 | 
34 | 
35 | 
36 | 
37 | 
38 | 0017  
39 | //
40 | //  MessageActionItem.swift
41 | //  SwiftLSPClient
42 | //
43 | //  Created by Matt Massicotte on 2019-09-02.
44 | //  Copyright © 2019 Chime Systems. All rights reserved.
45 | //
46 | 
47 | import Foundation
48 | 
49 | public struct MessageActionItem
ShowMessageRequest.swift:14
    public let actions: [MessageActionItem]?
MessageActionItem.swift:15
extension MessageActionItem: Codable {
{ 50 | public let title
: String
51 | }
52 | 53 | extension MessageActionItem: Codable { 54 | } 55 | -------------------------------------------------------------------------------- /html/SwiftRegex5.h.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | .build/checkouts/SwiftRegex5/SwiftRegex5/SwiftRegex5.h 4 | 5 | 6 | 7 |

Source: .build/checkouts/SwiftRegex5/SwiftRegex5/SwiftRegex5.h (Return to Index)

8 |

Repo: https://github.com/johnno1962/SwiftRegex5.git

9 |
Initial Commit:Thu Jul 26 17:51:41 2018 +0100 10 |
Last modified:Thu Jul 26 17:51:41 2018 +0100

23 | 
24 | 
25 | 
26 | 
27 | 
28 | 
29 | 
30 | 
31 | 
32 | 
33 | 
34 | 
35 | 
36 | 
37 | 
38 | 
39 | 
40 | 
41 | 0020  
42 | //
43 | //  SwiftRegex4.h
44 | //  SwiftRegex4
45 | //
46 | //  Created by John Holdsworth on 24/11/2017.
47 | //  Copyright © 2017 John Holdsworth. All rights reserved.
48 | //
49 | 
50 | #import <UIKit/UIKit.h>
51 | 
52 | //! Project version number for SwiftRegex4.
53 | FOUNDATION_EXPORT double SwiftRegex4VersionNumber;
54 | 
55 | //! Project version string for SwiftRegex4.
56 | FOUNDATION_EXPORT const unsigned char SwiftRegex4VersionString[];
57 | 
58 | // In this header, you should import all the public headers of your framework using statements like #import <SwiftRegex4/PublicHeader.h>
59 | 
60 | 
61 | 


--------------------------------------------------------------------------------
/html/LanguageServerProtocol.h.html:
--------------------------------------------------------------------------------
 1 | 
 2 |     
 3 |     .build/checkouts/SwiftLSPClient/SwiftLSPClient/LanguageServerProtocol.h
 4 |     
 5 |     
 6 | 
 7 | 

Source: .build/checkouts/SwiftLSPClient/SwiftLSPClient/LanguageServerProtocol.h (Return to Index)

8 |

Repo: https://github.com/ChimeHQ/SwiftLSPClient.git

9 |
Initial Commit:Wed Nov 21 20:31:36 2018 -0500 10 |
Last modified:Wed Nov 21 20:31:36 2018 -0500

23 | 
24 | 
25 | 
26 | 
27 | 
28 | 
29 | 
30 | 
31 | 
32 | 
33 | 
34 | 
35 | 
36 | 
37 | 
38 | 
39 | 
40 | 
41 | 0020  
42 | //
43 | //  SwiftLSPClient.h
44 | //  SwiftLSPClient
45 | //
46 | //  Created by Matt Massicotte on 2018-10-15.
47 | //  Copyright © 2018 Chime Systems. All rights reserved.
48 | //
49 | 
50 | #import <Cocoa/Cocoa.h>
51 | 
52 | //! Project version number for SwiftLSPClient.
53 | FOUNDATION_EXPORT double SwiftLSPClientVersionNumber;
54 | 
55 | //! Project version string for SwiftLSPClient.
56 | FOUNDATION_EXPORT const unsigned char SwiftLSPClientVersionString[];
57 | 
58 | // In this header, you should import all the public headers of your framework using statements like #import <SwiftLSPClient/PublicHeader.h>
59 | 
60 | 
61 | 


--------------------------------------------------------------------------------
/html/Package.swift_.html:
--------------------------------------------------------------------------------
 1 | 
 2 |     
 3 |     .build/checkouts/Parallel/Package.swift
 4 |     
 5 |     
 6 | 
 7 | 

Source: .build/checkouts/Parallel/Package.swift (Return to Index)

8 |

Repo: https://github.com/johnno1962/Parallel.git

9 |
Initial Commit:Wed Nov 27 09:21:49 2019 +0100 10 |
Last modified:Thu Nov 28 09:41:30 2019 +0100

29 | 
30 | 
31 | 
32 | 
33 | 
34 | 
35 | 
36 | 
37 | 
38 | 
39 | 
40 | 
41 | 
42 | 
43 | 
44 | 
45 | 0018  
46 | // swift-tools-version:5.0
47 | // The swift-tools-version declares the minimum version of Swift required to build this package.
48 | 
49 | import PackageDescription
50 | 
51 | let package = Package(
52 |     name: "Parallel",
53 |     platforms: [.macOS("10.12"), .iOS("10.0")],
54 |     products: [
55 |         .library(name: "Parallel", targets: ["Parallel"]),
56 |     ],
57 |     dependencies: [],
58 |     targets: [
59 |         .target(name: "Parallel", dependencies: [], path: "Sources/"),
60 | //        .testTarget(name: "ParallelTests", dependencies: ["Parallel"], path: "ParallelTests/"),
61 |     ]
62 | )
63 | 


--------------------------------------------------------------------------------
/html/LocationLink.swift.html:
--------------------------------------------------------------------------------
 1 | 
 2 |     
 3 |     .build/checkouts/SwiftLSPClient/SwiftLSPClient/Types/LocationLink.swift
 4 |     
 5 |     
 6 | 
 7 | 

Source: .build/checkouts/SwiftLSPClient/SwiftLSPClient/Types/LocationLink.swift (Return to Index)

8 |

Repo: https://github.com/ChimeHQ/SwiftLSPClient.git

9 |
Initial Commit:Wed Feb 13 20:40:02 2019 -0500 10 |
Last modified:Wed Feb 13 20:40:02 2019 -0500

23 | 
24 | 
25 | 
26 | 
27 | 
28 | 
29 | 
30 | 
31 | 
32 | 
33 | 
34 | 
35 | 
36 | 
37 | 
38 | 
39 | 
40 | 
41 | 0020  
42 | //
43 | //  LocationLink.swift
44 | //  SwiftLSPClient
45 | //
46 | //  Created by Matt Massicotte on 2019-02-13.
47 | //  Copyright © 2019 Chime Systems. All rights reserved.
48 | //
49 | 
50 | import Foundation
51 | 
52 | public struct LocationLink
TypeDefinition.swift:14
    case locationLinkArray([LocationLink])
TypeDefinition.swift:26
            let value = try container.decode([LocationLink].self)
LocationLink.swift:18
extension LocationLink: Codable {
{ 53 | public let originSelectionRange
: LSPRange?
54 | public let targetUri
: String
55 | public let targetRange
: LSPRange
56 | public let targetSelectionRange
: LSPRange
57 | }
58 | 59 | extension LocationLink: Codable { 60 | } 61 | -------------------------------------------------------------------------------- /html/Package.swift___.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | .build/checkouts/SwiftLSPClient/Package.swift 4 | 5 | 6 | 7 |

Source: .build/checkouts/SwiftLSPClient/Package.swift (Return to Index)

8 |

Repo: https://github.com/ChimeHQ/SwiftLSPClient.git

9 |
Initial Commit:Thu Aug 22 07:28:51 2019 -0400 10 |
Last modified:Thu Aug 22 07:28:51 2019 -0400

23 | 
24 | 
25 | 
26 | 
27 | 
28 | 
29 | 
30 | 
31 | 
32 | 
33 | 
34 | 
35 | 
36 | 
37 | 
38 | 
39 | 0018  
40 | // swift-tools-version:5.0
41 | // The swift-tools-version declares the minimum version of Swift required to build this package.
42 | 
43 | import PackageDescription
44 | 
45 | let package = Package(
46 |     name: "SwiftLSPClient",
47 |     platforms: [.macOS("10.10")],
48 |     products: [
49 |         .library(name: "SwiftLSPClient", targets: ["SwiftLSPClient"]),
50 |     ],
51 |     dependencies: [],
52 |     targets: [
53 |         .target(name: "SwiftLSPClient", dependencies: [], path: "SwiftLSPClient/"),
54 |         .testTarget(name: "SwiftLSPClientTests", dependencies: ["SwiftLSPClient"], path: "SwiftLSPClientTests/"),
55 |     ]
56 | )
57 | 


--------------------------------------------------------------------------------
/html/Package.swift____.html:
--------------------------------------------------------------------------------
 1 | 
 2 |     
 3 |     .build/checkouts/SwiftRegex5/Package.swift
 4 |     
 5 |     
 6 | 
 7 | 

Source: .build/checkouts/SwiftRegex5/Package.swift (Return to Index)

8 |

Repo: https://github.com/johnno1962/SwiftRegex5.git

9 |
Initial Commit:Thu Jul 26 17:51:41 2018 +0100 10 |
Last modified:Sat Nov 30 17:47:44 2019 +0100

35 | 
36 | 
37 | 
38 | 
39 | 
40 | 
41 | 
42 | 
43 | 
44 | 
45 | 
46 | 
47 | 
48 | 
49 | 
50 | 
51 | 
52 | 0019  
53 | // swift-tools-version:5.0
54 | //
55 | //  Created by John Holdsworth on 26/11/2017.
56 | //
57 | 
58 | import PackageDescription
59 | 
60 | let package = Package(
61 |     name: "SwiftRegex",
62 |     platforms: [.macOS("10.10"), .iOS("10.0"), .tvOS("10.0")],
63 |     products: [
64 |         .library(name: "SwiftRegex", targets: ["SwiftRegex"]),
65 |     ],
66 |     dependencies: [],
67 |     targets: [
68 |         .target(name: "SwiftRegex", dependencies: [], path: "Sources/"),
69 |     ]
70 | )
71 | 


--------------------------------------------------------------------------------
/html/MockProtocolTransportMessage.swift.html:
--------------------------------------------------------------------------------
 1 | 
 2 |     
 3 |     .build/checkouts/SwiftLSPClient/SwiftLSPClientTests/MockProtocolTransportMessage.swift
 4 |     
 5 |     
 6 | 
 7 | 

Source: .build/checkouts/SwiftLSPClient/SwiftLSPClientTests/MockProtocolTransportMessage.swift (Return to Index)

8 |

Repo: https://github.com/ChimeHQ/SwiftLSPClient.git

9 |
Initial Commit:Fri Feb 8 14:26:04 2019 -0500 10 |
Last modified:Fri Feb 8 14:26:04 2019 -0500

23 | 
24 | 
25 | 
26 | 
27 | 
28 | 
29 | 
30 | 
31 | 
32 | 
33 | 
34 | 
35 | 
36 | 
37 | 
38 | 
39 | 
40 | 
41 | 
42 | 
43 | 0022  
44 | //
45 | //  MockProtocolTransportMessage.swift
46 | //  SwiftLSPClientTests
47 | //
48 | //  Created by Matt Massicotte on 2019-02-08.
49 | //  Copyright © 2019 Chime Systems. All rights reserved.
50 | //
51 | 
52 | import Foundation
53 | import SwiftLSPClient
54 | 
55 | class MockProtocolTransportDelegate: ProtocolTransportDelegate {
56 |     var notificationHandler: ((String, Data) -> Void)?
57 | 
58 |     func transportReceived(_ transport: ProtocolTransport, undecodableData data: Data) {
59 |     }
60 | 
61 |     func transportReceived(_ transport: ProtocolTransport, notificationMethod: String, data: Data) {
62 |         notificationHandler?(notificationMethod, data)
63 |     }
64 | }
65 | 


--------------------------------------------------------------------------------
/html/Package.swift.html:
--------------------------------------------------------------------------------
 1 | 
 2 |     
 3 |     .build/checkouts/GitInfo/Package.swift
 4 |     
 5 |     
 6 | 
 7 | 

Source: .build/checkouts/GitInfo/Package.swift (Return to Index)

8 |

Repo: https://github.com/johnno1962/GitInfo.git

9 |
Initial Commit:Mon Dec 2 13:12:43 2019 +0100 10 |
Last modified:Mon Dec 2 14:07:11 2019 +0100

29 | 
30 | 
31 | 
32 | 
33 | 
34 | 
35 | 
36 | 
37 | 
38 | 
39 | 
40 | 
41 | 
42 | 
43 | 
44 | 
45 | 
46 | 
47 | 0020  
48 | // swift-tools-version:5.0
49 | // The swift-tools-version declares the minimum version of Swift required to build this package.
50 | 
51 | import PackageDescription
52 | 
53 | let package = Package(
54 |     name: "GitInfo",
55 |     platforms: [.macOS("10.12")],
56 |     products: [
57 |         .library(name: "GitInfo", targets: ["GitInfo"]),
58 |     ],
59 |     dependencies: [
60 |         .package(url: "https://github.com/johnno1962/Parallel.git", .branch("master")),
61 |         .package(url: "https://github.com/johnno1962/SwiftRegex5.git", .branch("master")),
62 |     ],
63 |     targets: [
64 |         .target(name: "GitInfo", dependencies: ["Parallel", "SwiftRegex"], path: "Sources/"),
65 |     ]
66 | )
67 | 


--------------------------------------------------------------------------------
/html/JSONRPC+Helpers.swift.html:
--------------------------------------------------------------------------------
 1 | 
 2 |     
 3 |     .build/checkouts/SwiftLSPClient/SwiftLSPClientTests/JSONRPC+Helpers.swift
 4 |     
 5 |     
 6 | 
 7 | 

Source: .build/checkouts/SwiftLSPClient/SwiftLSPClientTests/JSONRPC+Helpers.swift (Return to Index)

8 |

Repo: https://github.com/ChimeHQ/SwiftLSPClient.git

9 |
Initial Commit:Thu Oct 31 07:35:02 2019 -0400 10 |
Last modified:Thu Oct 31 07:35:02 2019 -0400

23 | 
24 | 
25 | 
26 | 
27 | 
28 | 
29 | 
30 | 
31 | 
32 | 
33 | 
34 | 
35 | 
36 | 
37 | 
38 | 
39 | 
40 | 
41 | 
42 | 
43 | 
44 | 
45 | 
46 | 
47 | 
48 | 
49 | 
50 | 
51 | 
52 | 0031  
53 | //
54 | //  JSONRPC+Helpers.swift
55 | //  SwiftLSPClientTests
56 | //
57 | //  Created by Matt Massicotte on 2019-10-30.
58 | //  Copyright © 2019 Chime Systems. All rights reserved.
59 | //
60 | 
61 | import Foundation
62 | import SwiftLSPClient
63 | 
64 | protocol ProtocolEncodable: Encodable {
65 | }
66 | 
67 | extension ProtocolEncodable {
68 |     func encodeToProtocolData() throws -> Data {
69 |         let payloadData = try JSONEncoder().encode(self)
70 | 
71 |         return MessageTransport.prependHeaders(to: payloadData)
72 |     }
73 | }
74 | 
75 | extension JSONRPCResultResponse: ProtocolEncodable {
76 | }
77 | 
78 | extension JSONRPCNotificationParams: ProtocolEncodable {
79 | }
80 | 
81 | extension JSONRPCRequest: ProtocolEncodable {
82 | }
83 | 


--------------------------------------------------------------------------------
/html/LogMessageParams.swift.html:
--------------------------------------------------------------------------------
 1 | 
 2 |     
 3 |     .build/checkouts/SwiftLSPClient/SwiftLSPClient/Types/Window/LogMessageParams.swift
 4 |     
 5 |     
 6 | 
 7 | 

Source: .build/checkouts/SwiftLSPClient/SwiftLSPClient/Types/Window/LogMessageParams.swift (Return to Index)

8 |

Repo: https://github.com/ChimeHQ/SwiftLSPClient.git

9 |
Initial Commit:Mon Sep 2 21:15:16 2019 -0400 10 |
Last modified:Mon Sep 2 21:15:16 2019 -0400

23 | 
24 | 
25 | 
26 | 
27 | 
28 | 
29 | 
30 | 
31 | 
32 | 
33 | 
34 | 
35 | 
36 | 
37 | 
38 | 
39 | 
40 | 
41 | 
42 | 0021  
43 | //
44 | //  LogMessageParams.swift
45 | //  SwiftLSPClient
46 | //
47 | //  Created by Matt Massicotte on 2019-01-27.
48 | //  Copyright © 2019 Chime Systems. All rights reserved.
49 | //
50 | 
51 | import Foundation
52 | 
53 | public struct LogMessageParams
JSONRPCLanguageServer.swift:41
            decodeNotification(named: notificationMethod, data: data) { (value: LogMessageParams) in
Siteify.swift:685
    public func languageServer(_ server: LanguageServer, logMessage message: LogMessageParams) {
ShowMessageParams.swift:11
public typealias ShowMessageParams = LogMessageParams
LanguageServer.swift:79
    func languageServer(_ server: LanguageServer, logMessage message: LogMessageParams)
LogMessageParams.swift:16
extension LogMessageParams: CustomStringConvertible {
: Codable { 54 | public let type
LogMessageParams.swift:18
        return "\(type): \(message)"
: MessageType
55 | public let message
Siteify.swift:686
        if !message.message.starts(with: "could not open compilation") {
LogMessageParams.swift:18
        return "\(type): \(message)"
: String
56 | }
57 | 58 | extension LogMessageParams: CustomStringConvertible { 59 | public var description
: String { 60 | return "\(type): \(message)" 61 | }
62 | }
63 | -------------------------------------------------------------------------------- /html/WorkspaceFolder.swift.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | .build/checkouts/SwiftLSPClient/SwiftLSPClient/Types/WorkspaceFolder.swift 4 | 5 | 6 | 7 |

Source: .build/checkouts/SwiftLSPClient/SwiftLSPClient/Types/WorkspaceFolder.swift (Return to Index)

8 |

Repo: https://github.com/ChimeHQ/SwiftLSPClient.git

9 |
Initial Commit:Thu Feb 7 11:31:05 2019 -0500 10 |
Last modified:Thu Feb 7 11:31:05 2019 -0500

23 | 
24 | 
25 | 
26 | 
27 | 
28 | 
29 | 
30 | 
31 | 
32 | 
33 | 
34 | 
35 | 
36 | 
37 | 
38 | 
39 | 
40 | 
41 | 
42 | 
43 | 0022  
44 | //
45 | //  WorkspaceFolder.swift
46 | //  SwiftLSPClient
47 | //
48 | //  Created by Matt Massicotte on 2019-02-07.
49 | //  Copyright © 2019 Chime Systems. All rights reserved.
50 | //
51 | 
52 | import Foundation
53 | 
54 | public struct WorkspaceFolder
Initialization.swift:24
    public let workspaceFolders: [WorkspaceFolder]?
Initialization.swift:26
    public init(processId: Int, rootPath: String?, rootURI: DocumentUri?, initializationOptions: JSONValue?, capabilities: ClientCapabilities, trace: Tracing?, workspaceFolders: [WorkspaceFolder]?) {
Siteify.swift:93
        let workspace = WorkspaceFolder(uri: self.projectRoot.absoluteString, name: "siteify")
WorkspaceFolder.swift:21
typealias WorkspaceFolderResult = [WorkspaceFolder]?
: Codable { 55 | public let uri
WorkspaceFolder.swift:16
        self.uri = uri
: String
56 | public let name
WorkspaceFolder.swift:17
        self.name = name
: String
57 | 58 | public init(uri
WorkspaceFolder.swift:16
        self.uri = uri
: String
, name
WorkspaceFolder.swift:17
        self.name = name
: String
) { 59 | self.uri = uri 60 | self.name = name 61 | }
62 | }
63 | 64 | typealias WorkspaceFolderResult
= [WorkspaceFolder]?
65 | -------------------------------------------------------------------------------- /html/Location.swift.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | .build/checkouts/SwiftLSPClient/SwiftLSPClient/Types/Location.swift 4 | 5 | 6 | 7 |

Source: .build/checkouts/SwiftLSPClient/SwiftLSPClient/Types/Location.swift (Return to Index)

8 |

Repo: https://github.com/ChimeHQ/SwiftLSPClient.git

9 |
Initial Commit:Sun Jan 27 14:59:55 2019 -0500 10 |
Last modified:Sat Oct 26 20:43:04 2019 +0200

29 | 
30 | 
31 | 
32 | 
33 | 
34 | 
35 | 
36 | 
37 | 
38 | 
39 | 
40 | 
41 | 
42 | 
43 | 
44 | 
45 | 
46 | 
47 | 
48 | 0021  
49 | //
50 | //  Location.swift
51 | //  SwiftLSPClient
52 | //
53 | //  Created by Matt Massicotte on 2019-01-21.
54 | //  Copyright © 2019 Chime Systems. All rights reserved.
55 | //
56 | 
57 | import Foundation
58 | 
59 | public struct Location
Diagnostics.swift:12
    public let location: Location
Location.swift:16
extension Location: Codable {
Location.swift:19
extension Location: Hashable {
TypeDefinition.swift:12
    case location(Location)
TypeDefinition.swift:13
    case locationArray([Location])
TypeDefinition.swift:21
        if let value = try? container.decode(Location.self) {
TypeDefinition.swift:23
        } else if let value = try? container.decode([Location].self) {
Reference.swift:38
public typealias ReferenceResponse = [Location]
Siteify.swift:115
    var referencesFallback = Synchronized([Reference: Location]())
Siteify.swift:722
extension Location {
DocumentSymbol.swift:73
    public let location: Location
{ 60 | public let uri
Siteify.swift:724
    var filepath: FilePathString { URL(string: uri)!.path }
Siteify.swift:726
    var filebase: String { URL(string: uri)!.lastPathComponent }
: DocumentUri
61 | public let range
Siteify.swift:324
                let to = containingType(file: decl.filepath, pos: decl.range.start),
Siteify.swift:518
                            if decl.filepath == fullpath && decl.range.start == pos {
Siteify.swift:548
                                                        referencesFallback[Reference(filepath: ref.filepath, pos: ref.range.start)] = decl
Siteify.swift:727
    var line: Int { range.start.line }
Siteify.swift:728
    var anchor: String { range.start.anchor }
: LSPRange
62 | }
63 | 64 | extension Location: Codable { 65 | } 66 | 67 | extension Location: Hashable { 68 | } 69 | -------------------------------------------------------------------------------- /html/DataTransport.swift.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | .build/checkouts/SwiftLSPClient/SwiftLSPClient/JSONRPC/DataTransport.swift 4 | 5 | 6 | 7 |

Source: .build/checkouts/SwiftLSPClient/SwiftLSPClient/JSONRPC/DataTransport.swift (Return to Index)

8 |

Repo: https://github.com/ChimeHQ/SwiftLSPClient.git

9 |
Initial Commit:Wed Nov 21 20:31:36 2018 -0500 10 |
Last modified:Thu Dec 13 11:35:30 2018 -0500

29 | 
30 | 
31 | 
32 | 
33 | 
34 | 
35 | 
36 | 
37 | 
38 | 
39 | 
40 | 
41 | 
42 | 
43 | 
44 | 
45 | 
46 | 0019  
47 | //
48 | //  DataTransport.swift
49 | //  SwiftLSPClient
50 | //
51 | //  Created by Matt Massicotte on 2018-10-15.
52 | //  Copyright © 2018 Chime Systems. All rights reserved.
53 | //
54 | 
55 | import Foundation
56 | 
57 | public protocol DataTransport
ProtocolTransport.swift:48
    public convenience init(dataTransport: DataTransport) {
JSONRPCLanguageServer.swift:16
    public init(dataTransport: DataTransport) {
MessageTransport.swift:12
    private let dataTransport: DataTransport
MessageTransport.swift:13
    var dataHandler: DataTransport.ReadHandler?
MessageTransport.swift:19
    public init(dataTransport: DataTransport) {
MessageTransport.swift:155
extension MessageTransport: DataTransport {
MessageTransport.swift:162
    public func setReaderHandler(_ handler: @escaping DataTransport.ReadHandler) {
StdioDataTransport.swift:11
public class StdioDataTransport: DataTransport {
{ 58 | typealias ReadHandler
DataTransport.swift:15
    func setReaderHandler(_ handler: @escaping ReadHandler)
MessageTransport.swift:13
    var dataHandler: DataTransport.ReadHandler?
MessageTransport.swift:162
    public func setReaderHandler(_ handler: @escaping DataTransport.ReadHandler) {
StdioDataTransport.swift:15
    var readHandler: ReadHandler?
= (Data) -> Void
59 | 60 | func write
MessageTransport.swift:159
        dataTransport.write(messageData)
(_ data
: Data
)
61 | func setReaderHandler
MessageTransport.swift:27
        dataTransport.setReaderHandler({ [unowned self] (data) in
(_ handler
: @escaping ReadHandler
)
62 | 63 | func close
MessageTransport.swift:167
        dataTransport.close()
()
64 | }
65 | -------------------------------------------------------------------------------- /html/ShowMessageRequest.swift.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | .build/checkouts/SwiftLSPClient/SwiftLSPClient/Types/Window/ShowMessageRequest.swift 4 | 5 | 6 | 7 |

Source: .build/checkouts/SwiftLSPClient/SwiftLSPClient/Types/Window/ShowMessageRequest.swift (Return to Index)

8 |

Repo: https://github.com/ChimeHQ/SwiftLSPClient.git

9 |
Initial Commit:Mon Sep 2 21:15:16 2019 -0400 10 |
Last modified:Mon Sep 2 21:15:16 2019 -0400

23 | 
24 | 
25 | 
26 | 
27 | 
28 | 
29 | 
30 | 
31 | 
32 | 
33 | 
34 | 
35 | 
36 | 
37 | 
38 | 
39 | 
40 | 
41 | 
42 | 
43 | 
44 | 
45 | 
46 | 0025  
47 | //
48 | //  ShowMessageRequest.swift
49 | //  SwiftLSPClient
50 | //
51 | //  Created by Matt Massicotte on 2019-09-01.
52 | //  Copyright © 2019 Chime Systems. All rights reserved.
53 | //
54 | 
55 | import Foundation
56 | 
57 | public struct ShowMessageRequestParams
ShowMessageRequest.swift:17
extension ShowMessageRequestParams: Codable {
ShowMessageRequest.swift:20
extension ShowMessageRequestParams: CustomStringConvertible {
JSONRPCLanguageServer.swift:49
            decodeNotification(named: notificationMethod, data: data) { (value: ShowMessageRequestParams) in
Siteify.swift:695
    public func languageServer(_ server: LanguageServer, showMessageRequest messageRequest: ShowMessageRequestParams) {
LanguageServer.swift:81
    func languageServer(_ server: LanguageServer, showMessageRequest messageRequest: ShowMessageRequestParams)
{ 58 | public let type
ShowMessageRequest.swift:22
        return "\(type): \(message)"
: MessageType
59 | public let message
ShowMessageRequest.swift:22
        return "\(type): \(message)"
: String
60 | public let actions
: [MessageActionItem]?
61 | }
62 | 63 | extension ShowMessageRequestParams: Codable { 64 | } 65 | 66 | extension ShowMessageRequestParams: CustomStringConvertible { 67 | public var description
: String { 68 | return "\(type): \(message)" 69 | }
70 | }
71 | -------------------------------------------------------------------------------- /html/Package.swift_____.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Package.swift 4 | 5 | 6 | 7 |

Source: Package.swift (Return to Index)

8 |

Repo: https://github.com/johnno1962/siteify.git

9 |
Initial Commit:Mon Oct 28 22:45:11 2019 +0100 10 |
Last modified:Thu Dec 12 16:11:48 2019 +0100

53 | 
54 | 
55 | 
56 | 
57 | 
58 | 
59 | 
60 | 
61 | 
62 | 
63 | 
64 | 
65 | 
66 | 
67 | 
68 | 
69 | 
70 | 
71 | 
72 | 
73 | 0022  
74 | // swift-tools-version:5.0
75 | // The swift-tools-version declares the minimum version of Swift required to build this package.
76 | 
77 | import PackageDescription
78 | 
79 | let package = Package(
80 |     name: "siteify",
81 |     platforms: [.macOS("10.12")],
82 |     products: [
83 |         .executable(name: "siteify", targets: ["siteify"]),
84 |     ],
85 |     dependencies: [
86 |         .package(url: "https://github.com/johnno1962/SourceKitHeader.git", .branch("master")),
87 |         .package(url: "https://github.com/johnno1962/Parallel.git", .branch("master")),
88 |         .package(url: "https://github.com/johnno1962/GitInfo.git", .branch("master")),
89 |         .package(url: "https://github.com/ChimeHQ/SwiftLSPClient.git", .branch("master")),
90 |     ],
91 |     targets: [
92 |         .target(name: "siteify", dependencies: ["SwiftLSPClient", "Parallel", "GitInfo"], path: "siteify/"),
93 |     ]
94 | )
95 | 


--------------------------------------------------------------------------------
/html/MessageType.swift.html:
--------------------------------------------------------------------------------
 1 | 
 2 |     
 3 |     .build/checkouts/SwiftLSPClient/SwiftLSPClient/Types/Window/MessageType.swift
 4 |     
 5 |     
 6 | 
 7 | 

Source: .build/checkouts/SwiftLSPClient/SwiftLSPClient/Types/Window/MessageType.swift (Return to Index)

8 |

Repo: https://github.com/ChimeHQ/SwiftLSPClient.git

9 |
Initial Commit:Mon Sep 2 21:15:16 2019 -0400 10 |
Last modified:Mon Sep 2 21:15:16 2019 -0400

23 | 
24 | 
25 | 
26 | 
27 | 
28 | 
29 | 
30 | 
31 | 
32 | 
33 | 
34 | 
35 | 
36 | 
37 | 
38 | 
39 | 
40 | 
41 | 
42 | 
43 | 
44 | 
45 | 
46 | 
47 | 
48 | 
49 | 
50 | 
51 | 
52 | 
53 | 0032  
54 | //
55 | //  MessageType.swift
56 | //  SwiftLSPClient
57 | //
58 | //  Created by Matt Massicotte on 2019-09-02.
59 | //  Copyright © 2019 Chime Systems. All rights reserved.
60 | //
61 | 
62 | import Foundation
63 | 
64 | public enum MessageType
ShowMessageRequest.swift:12
    public let type: MessageType
MessageType.swift:18
extension MessageType: CustomStringConvertible {
LogMessageParams.swift:12
    public let type: MessageType
: Int, Codable { 65 | case error
MessageType.swift:21
        case .error:
= 1
66 | case warning
MessageType.swift:23
        case .warning:
= 2
67 | case info
MessageType.swift:25
        case .info:
= 3
68 | case log
MessageType.swift:27
        case .log:
= 4
69 | }
70 | 71 | extension MessageType: CustomStringConvertible { 72 | public var description
: String { 73 | switch self { 74 | case .error: 75 | return "error" 76 | case .warning: 77 | return "warning" 78 | case .info: 79 | return "info" 80 | case .log: 81 | return "log" 82 | } 83 | }
84 | }
85 | --------------------------------------------------------------------------------