public abstract class NoteListParserElement
extends java.lang.Object
NoteListParserElement
is a representation of a type of
notes on the note list. This defines how a note element to be parsed and to
perform.
See NoteListParser
.Constructor and Description |
---|
NoteListParserElement() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
getLongDescription() |
abstract gnu.mapping.Symbol |
getLongName()
Returns its long name of the target notes.
|
abstract java.util.List<NoteListParserElementParameter> |
getParameters() |
abstract java.lang.String |
getShortDescription() |
abstract gnu.mapping.Symbol |
getShortName()
Returns its short name of the target notes.
|
abstract <T> void |
parseEvent(Metro metro,
MetroTrack track,
MetroBufferedMidiReceiver<T> buffer,
NoteListMap map,
MetroCollector<T> result)
Parse the current note on the processing note list.
|
public abstract gnu.mapping.Symbol getLongName()
This name should be a valid scheme identifier.
public abstract gnu.mapping.Symbol getShortName()
This name should be a valid scheme identifier.
public abstract java.lang.String getShortDescription()
public abstract java.lang.String getLongDescription()
public abstract java.util.List<NoteListParserElementParameter> getParameters()
public abstract <T> void parseEvent(Metro metro, MetroTrack track, MetroBufferedMidiReceiver<T> buffer, NoteListMap map, MetroCollector<T> result)
NoteListParser#parseNote(Metro, MetroTrack, MetroEventBuffer, boolean, gnu.lists.AbstractSequence)
NoteListParser#parseAll(Metro, MetroTrack, Collection, MetroBufferedMidiReceiver, boolean)
metro
- The instance of the current Metro
.track
- The instance of the current MetroTrack
which generated the
note.buffer
- The instance of the current MetroEventBuffer
to output
into as a result of the processing.map
- An instance of Map
that contains the contents of Scheme's
association list.result
- TODOresult
- The result of the previous parser element.