VisitorInterface
in
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 —visitParagraph()
Process a paragraph.
public
visitParagraph(Paragraph $paragraph) : void
Parameters
- $paragraph : Paragraph
-
paragraph
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 —visitSongInfo()
Process song metadata.
public
visitSongInfo(SongInfo $info) : void
Parameters
- $info : SongInfo
-
metadata
Return values
void —visitSongLyrics()
Process song lyrics.
public
visitSongLyrics(SongLyrics $lyrics) : void
Parameters
- $lyrics : SongLyrics
-
lyrics
Return values
void —visitStrophe()
Process a strophe.
public
visitStrophe(Strophe $strophe) : void
Parameters
- $strophe : Strophe
-
strophe
Return values
void —visitStropheReference()
Process a strophe reference.
public
visitStropheReference(StropheReference $reference) : void
Parameters
- $reference : StropheReference
-
strophe reference
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