52 #ifndef Patternist_Tokenizer_H 53 #define Patternist_Tokenizer_H 56 #include <QSharedData> 137 #define YYSTYPE QPatternist::TokenValue 173 virtual int commenceScanOnly() = 0;
182 virtual void resumeTokenizationFrom(
const int position) = 0;
210 #undef Patternist_DEBUG_PARSER // disable it for now QList< OrderSpecTransfer > List
OrderSpecTransfer orderSpec
bool isValid() const
Returns true if the URL is valid; otherwise returns false.
#define QT_END_NAMESPACE
This macro expands to.
The value the parser, but not the tokenizers, uses for tokens and non-terminals.
Tokenizer(const QUrl &queryU)
QVector< AttributeHolder > AttributeHolderVector
static qreal position(QGraphicsObject *item, QDeclarativeAnchorLine::AnchorLine anchorLine)
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
The QUrl class provides a convenient interface for working with URLs.
The QString class provides a Unicode character string.
OrderSpecTransfer(const Expression::Ptr &aExpr, const OrderBy::OrderSpec aOrderSpec)
#define QT_BEGIN_NAMESPACE
This macro expands to.
QPair< QString, Expression::Ptr > AttributeHolder
The namespace for the internal API of QtXmlPatterns.
FunctionArgument::List functionArguments
Expression::List expressionList
AttributeHolderVector attributeHolders
OrderBy::OrderSpec orderSpec
The QXmlName class represents the name of an XML node, in an efficient, namespace-aware way...
QVector< QXmlName > qNameVector
SequenceType::Ptr sequenceType
FunctionArgument::Ptr functionArgument
A union of all the enums the parser uses.
Expression::Ptr expression
QExplicitlySharedDataPointer< Tokenizer > Ptr
Represents a cardinality, a possible , often represented by occurrence indicators.
Base class for components that needs to return tokens.
Base class for all tokenizers.
const QUrl & queryURI() const
AttributeHolder attributeHolder
OrderSpecTransfer::List orderSpecs