Global Variables
The following global variables are available globally.
-
File Contents Line Breaks
Declaration
Swift
var fileContentsLineBreaks = [Int]()
-
Version number
Declaration
Swift
let version = "0.2.3"
-
File Contents
Declaration
Swift
var fileContents = NSString()
-
SourceKit UID to String map
Declaration
Swift
var uidStringMap = [UInt64: String]()
-
Map xpc_type_t (COpaquePointer’s) to their appropriate XPCType enum value.
Declaration
Swift
let typeMap: [xpc_type_t: XPCType] = [