Analitza
#include <abstractlexer.h>
Classes | |
struct | TOKEN |
Public Member Functions | |
AbstractLexer (const QString &source) | |
virtual | ~AbstractLexer () |
QString | error () const |
bool | isCompleteExpression (bool justempty=false) |
bool | isCompletelyRead () const |
int | lex () |
int | lineNumber () const |
Public Attributes | |
TOKEN | current |
Protected Member Functions | |
virtual void | getToken ()=0 |
void | printQueue (const QQueue< TOKEN > &q) const |
Protected Attributes | |
QString | m_err |
int | m_lines |
int | m_openCb |
int | m_openPr |
QString | m_source |
QQueue< TOKEN > | m_tokens |
Static Protected Attributes | |
static QHash< QString, int > | m_longOperators |
static QHash< QChar, int > | m_operators |
Detailed Description
Definition at line 28 of file abstractlexer.h.
Constructor & Destructor Documentation
AbstractLexer::AbstractLexer | ( | const QString & | source | ) |
|
virtual |
Member Function Documentation
|
inline |
Definition at line 49 of file abstractlexer.h.
|
protectedpure virtual |
bool AbstractLexer::isCompleteExpression | ( | bool | justempty = false | ) |
|
inline |
Definition at line 46 of file abstractlexer.h.
int AbstractLexer::lex | ( | ) |
|
inline |
Definition at line 45 of file abstractlexer.h.
Member Data Documentation
TOKEN AbstractLexer::current |
Definition at line 48 of file abstractlexer.h.
|
protected |
Definition at line 53 of file abstractlexer.h.
|
protected |
Definition at line 56 of file abstractlexer.h.
Definition at line 60 of file abstractlexer.h.
|
protected |
Definition at line 57 of file abstractlexer.h.
|
protected |
Definition at line 57 of file abstractlexer.h.
Definition at line 59 of file abstractlexer.h.
|
protected |
Definition at line 54 of file abstractlexer.h.
Definition at line 58 of file abstractlexer.h.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:11:37 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.