SKDiagnostic
public struct SKDiagnostic
Represents a compiler diagnostics emitted during parsing of a source file.
-
Undocumented
Declaration
Swift
public typealias ByteRange = SKByteRange
-
Undocumented
Declaration
Swift
public typealias Severity = SKDiagnosticSeverity
-
The line upon which the diagnostic was emitted.
Declaration
Swift
public let line: Int
-
The column upon which the diagnostic was emitted.
Declaration
Swift
public let column: Int
-
Undocumented
Declaration
Swift
public let ranges: SKSortedEntities<ByteRange>?
-
The absolute path to the file that was being parsed when the diagnostic was emitted.
Declaration
Swift
public let filePath: String
-
The severity of the diagnostic.
Declaration
Swift
public let severity: Severity
-
A description of the diagnostic.
Declaration
Swift
public let description: String