29 #include <QtCore/QList> 30 #include <QtCore/QString> 31 #include <QtCore/QVector> 52 const QString _type,
const int _dots,
53 bool _tieStart =
false,
bool _tieStop =
false,
56 : pitch(_pitch), beam(_beam),
57 type(_type), dots(_dots),
58 tieStart(_tieStart), tieStop(_tieStop),
87 void errorHandler(QString s);
92 void parseSeqNonNotes();
QString composer
Composer read from the header.
Definition: parser.h:101
QString pitch
Definition: parser.h:41
Writer & wrt
The writer.
Definition: parser.h:98
StartStop triplet
Definition: parser.h:47
bool tieStop
Definition: parser.h:46
QList< NoteDescription > notes
Definition: parser.h:69
QString type
Type read from the header.
Definition: parser.h:100
int beats
Number of beats, read from the clef line.
Definition: parser.h:105
Lexer & lex
The lexer.
Definition: parser.h:97
The flags that need to be handled at the beginning of a measure.
Definition: writer.h:53
Symbol type to text translation.
Definition: lexer.cpp:34
QString title
Title read from the header.
Definition: parser.h:99
bool tsigFound
A valid time signature was found.
Definition: parser.h:113
The flags that need to be handled at the end of a measure.
Definition: writer.h:72
int dots
Definition: parser.h:44
bool tripletStart
Triplet start pending.
Definition: parser.h:110
MeasureBeginFlags mbf
Definition: parser.h:68
NoteDescription(const QString _pitch, const QString _beam, const QString _type, const int _dots, bool _tieStart=false, bool _tieStop=false, StartStop _triplet=ST_NONE, bool _grace=false)
Definition: parser.h:51
int duration
Definition: parser.h:71
QString footer
Footer read from the header.
Definition: parser.h:102
bool grace
Definition: parser.h:48
bool tieStart
Tie start pending.
Definition: parser.h:108
The bww parser.
Definition: parser.h:81
QString beam
Definition: parser.h:42
Definition of class Writer.
The bww lexer.
Definition: lexer.h:44
StartStop
Definition: symbols.h:51
bool inTriplet
In a triplet.
Definition: parser.h:111
QString type
Definition: parser.h:43
The writer that generates the output.
Definition: writer.h:91
bool tieStart
Definition: parser.h:45
QVector< BeamType > beamList
Definition: parser.h:50
int beat
Beat type, read from the clef line.
Definition: parser.h:104
StartStop beamState
Definition: parser.h:49
MeasureDescription()
Definition: parser.h:72
bool inTie
In a tie.
Definition: parser.h:109
MeasureEndFlags mef
Definition: parser.h:70
QList< MeasureDescription > measures
Parsed measures.
Definition: parser.h:112
int tempo
Tune tempo read from the header.
Definition: parser.h:103