Qt 4.8
|
Base class for components that needs to return tokens. More...
#include <qtokensource_p.h>
Classes | |
class | Token |
Public Types | |
typedef QExplicitlySharedDataPointer< TokenSource > | Ptr |
typedef QQueue< Ptr > | Queue |
typedef yytokentype | TokenType |
Public Functions | |
virtual Token | nextToken (YYLTYPE *const sourceLocator)=0 |
TokenSource () | |
virtual | ~TokenSource () |
Public Functions inherited from QSharedData | |
QSharedData () | |
Constructs a QSharedData object with a reference count of 0. More... | |
QSharedData (const QSharedData &) | |
Constructs a QSharedData object with reference count 0. More... | |
Additional Inherited Members | |
Public Variables inherited from QSharedData | |
QAtomicInt | ref |
Base class for components that needs to return tokens.
TokenSource represents a stream of Token instances. The end is reached when readNext() returns a Token constructed with END_OF_FILE.
Definition at line 109 of file qtokensource_p.h.
Definition at line 141 of file qtokensource_p.h.
typedef QQueue<Ptr> QPatternist::TokenSource::Queue |
Definition at line 142 of file qtokensource_p.h.
typedef for the enum Bison generates that contains the token symbols.
Definition at line 116 of file qtokensource_p.h.
|
inline |
The C++ compiler cannot synthesize it when we use the Q_DISABLE_COPY() macro.
Definition at line 148 of file qtokensource_p.h.
|
virtual |
Definition at line 48 of file qtokensource.cpp.
Implemented in QPatternist::XSLTTokenizer, QPatternist::XQueryTokenizer, QPatternist::SingleTokenContainer, and QPatternist::TokenRevealer.
Referenced by QPatternist::XPathlex().