29 #include <QtCore/QMap> 30 #include <QtCore/QString> 31 #include <QtCore/QStringList> 32 #include <QtCore/QTextStream> 47 Lexer(QIODevice *inDevice);
int lineNumber
The current line number (zero-based)
Definition: lexer.h:56
QString value
Last symbol value.
Definition: lexer.h:59
QString symValue() const
Return the current symbols value.
Definition: lexer.cpp:438
Symbol type
Last symbol type.
Definition: lexer.h:58
Symbol type to text translation.
Definition: lexer.cpp:34
Symbol symType() const
Return the current symbols type.
Definition: lexer.cpp:429
QMap< QString, QString > graceMap
Map bww embellishments to separate grace notes.
Definition: lexer.h:60
QString line
The current line.
Definition: lexer.h:55
void categorizeWord(QString word)
Determine the symbol type for word.
Definition: lexer.cpp:447
int symLineNumber() const
Definition: lexer.h:51
QStringList list
Unprocessed words.
Definition: lexer.h:57
Definition of tokens types for bww lexer and parser.
The bww lexer.
Definition: lexer.h:44
Lexer(QIODevice *inDevice)
Lexer constructor, inDevice is the input.
Definition: lexer.cpp:40
QTextStream in
Input stream.
Definition: lexer.h:54
Symbol
Definition: symbols.h:31
void getSym()
Get the next symbol, update type and value.
Definition: lexer.cpp:343