DirectiveSource
struct DirectiveSource: Equatable, Codable, ExpressibleByStringLiteral
The source of a directive
The source is defined as long|short, eg: start_of_chorus|soc
-
The long version of the directive
Declaration
Swift
var long: String -
The short version of the directive
Declaration
Swift
var short: String -
Init the directive by splitting a string into long and short version
Declaration
Swift
init(stringLiteral: String)
View on GitHub