Chords

VisitorInterface

Visitor pattern for song objects.

Table of Contents

visitChord()  : void
Process a chord.
visitParagraph()  : void
Process a paragraph.
visitRepeat()  : void
Process a repeat.
visitSong()  : void
Process entire song.
visitSongInfo()  : void
Process song metadata.
visitSongLyrics()  : void
Process song lyrics.
visitStrophe()  : void
Process a strophe.
visitStropheReference()  : void
Process a strophe reference.
visitText()  : void
Process plain text.
visitVerse()  : void
Process a verse.

Methods

visitChord()

Process a chord.

public visitChord(Chord $chord) : void
Parameters
$chord : Chord

chord

Return values
void

visitRepeat()

Process a repeat.

public visitRepeat(Repeat $repeat) : void
Parameters
$repeat : Repeat

repeat

Return values
void

visitSong()

Process entire song.

public visitSong(Song $song) : void
Parameters
$song : Song

song

Return values
void

visitText()

Process plain text.

public visitText(Text $text) : void
Parameters
$text : Text

text

Return values
void

visitVerse()

Process a verse.

public visitVerse(Verse $verse) : void
Parameters
$verse : Verse

verse

Return values
void

Search results