Qt 4.8
|
A TokenSource which contains one Tokenizer::Token. More...
#include <qxslttokenizer_p.h>
Public Functions | |
virtual Tokenizer::Token | nextToken (YYLTYPE *const sourceLocator) |
SingleTokenContainer (const Tokenizer::Token &token, const YYLTYPE &location) | |
Public Functions inherited from QPatternist::TokenSource | |
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... | |
Properties | |
bool | m_hasDelivered |
const YYLTYPE | m_location |
const Tokenizer::Token | m_token |
Additional Inherited Members | |
Public Types inherited from QPatternist::TokenSource | |
typedef QExplicitlySharedDataPointer< TokenSource > | Ptr |
typedef QQueue< Ptr > | Queue |
typedef yytokentype | TokenType |
Public Variables inherited from QSharedData | |
QAtomicInt | ref |
A TokenSource which contains one Tokenizer::Token.
One possible way to optimize this is to let SingleTokenContainer actually contain a list of tokens, such that XSLTTokenizer::queueToken() could append to that, instead of instansiating a SingleTokenContainer all the time.
Definition at line 80 of file qxslttokenizer_p.h.
|
inline |
Definition at line 93 of file qxslttokenizer_p.h.
|
virtual |
Implements QPatternist::TokenSource.
Definition at line 56 of file qxslttokenizer.cpp.
|
private |
Definition at line 90 of file qxslttokenizer_p.h.
Referenced by nextToken().
|
private |
Definition at line 89 of file qxslttokenizer_p.h.
Referenced by nextToken().
|
private |
Definition at line 88 of file qxslttokenizer_p.h.
Referenced by nextToken().