Location
struct Location : Equatable, Sendable
extension Consumer.Location: CustomStringConvertible
Source location
-
Undocumented
Declaration
Swift
public let range: Range<String.Index>
-
Undocumented
Declaration
Swift
public var offset: (line: Int, column: Int) { get }
-
Human-readable description of the location
Declaration
Swift
public var description: String { get }
-
Equatable implementation
-
Undocumented
Declaration
Swift
public static func at(_ range: CountableRange<Int>) -> Consumer.Location