SKGenericResponse
open class SKGenericResponse<Substructure> : NSObject, Codable, JSONDebugStringConvertible where Substructure : SKBaseSubstructure
Undocumented
-
Undocumented
Declaration
Swift
public typealias DiagnosticStage = SKDiagnosticStage
-
The compiler diagnostic stage.
Declaration
Swift
public let diagnosticStage: DiagnosticStage
-
The byte length of the analyzed source contents.
Declaration
Swift
public let length: Int
-
The starting byte offset of the analyzed source contents.
Declaration
Swift
public let offset: Int
-
The top-level substructures in the analyzed source contents.
Declaration
Swift
public let topLevelSubstructures: SKChildren<Substructure>
-
The syntax map of the analyzed source contents.
Declaration
Swift
public let syntaxMap: SyntaxMap?
-
Undocumented
Declaration
Swift
public init(diagnosticStage: DiagnosticStage, length: Int, offset: Int, substructureChildren: SKChildren<Substructure>, syntaxMap: SyntaxMap?)
-
Undocumented
Declaration
Swift
public init(skInformation: SKGenericResponse<Substructure>)
-
The entry point to a recursive resolution process that sets each child’s
index
,parent
, andfilePath
properties.This method calls the
topLevelSubstructures
‘sSKChildren.resolve(parent:index:filePath:)
method.Note
If the resolution process is unnecessary, overriding this method with an empty body will suffice to omit it.
Declaration
Swift
open func resolve(from filePath: String?)
Parameters
filePath
The absolute file path to the request’s source file.
-
Undocumented
Declaration
Swift
open override var debugDescription: String { get }
-
Undocumented
Declaration
Swift
open override func isEqual(_ object: Any?) -> Bool