Environment
enum Environment: String, Codable
The environment of a section of the song
-
Chorus environment
Declaration
Swift
case chorus
-
Repeat chorus environment
Declaration
Swift
case repeatChorus = "repeat_chorus"
-
Verse environment
Declaration
Swift
case verse
-
Bridge environment
Declaration
Swift
case bridge
-
Comment environment
Declaration
Swift
case comment
-
Tab environment
Declaration
Swift
case tab
-
Grid environment
Declaration
Swift
case grid
-
ABC environment
Declaration
Swift
case abc
-
Textblock environment
Declaration
Swift
case textblock
-
Strum environment
Declaration
Swift
case strum
-
The environment contains metadata
Declaration
Swift
case metadata
-
Image environment
Declaration
Swift
case image
-
Not an environment
Note
A source comment or an empty line for exampleDeclaration
Swift
case none
-
The directives for opening and closing an environment
-
The default label for the environment
Declaration
Swift
var label: String