Mark
public struct Mark : Sendable
extension Mark: CustomStringConvertible
The pointer position.
-
Line number starting from 1.
Declaration
Swift
public let line: Int -
Column number starting from 1. libYAML counts columns in
UnicodeScalar.Declaration
Swift
public let column: Int
-
A textual representation of this instance.
Declaration
Swift
public var description: String { get }
-
Returns snippet string pointed by Mark instance from YAML String.
Declaration
Swift
public func snippet(from yaml: String) -> String
View on GitHub
Install in Dash