Qt 4.8
Classes | Namespaces | Macros | Typedefs | Functions | Variables
qquerytransformparser.cpp File Reference
#include <limits>
#include <QUrl>
#include "qabstractfloat_p.h"
#include "qandexpression_p.h"
#include "qanyuri_p.h"
#include "qapplytemplate_p.h"
#include "qargumentreference_p.h"
#include "qarithmeticexpression_p.h"
#include "qatomicstring_p.h"
#include "qattributeconstructor_p.h"
#include "qattributenamevalidator_p.h"
#include "qaxisstep_p.h"
#include "qbuiltintypes_p.h"
#include "qcalltemplate_p.h"
#include "qcastableas_p.h"
#include "qcastas_p.h"
#include "qcombinenodes_p.h"
#include "qcommentconstructor_p.h"
#include "qcommonnamespaces_p.h"
#include "qcommonsequencetypes_p.h"
#include "qcommonvalues_p.h"
#include "qcomputednamespaceconstructor_p.h"
#include "qcontextitem_p.h"
#include "qcopyof_p.h"
#include "qcurrentitemstore_p.h"
#include "qdebug_p.h"
#include "qdelegatingnamespaceresolver_p.h"
#include "qdocumentconstructor_p.h"
#include "qelementconstructor_p.h"
#include "qemptysequence_p.h"
#include "qemptysequencetype_p.h"
#include "qevaluationcache_p.h"
#include "qexpressionfactory_p.h"
#include "qexpressionsequence_p.h"
#include "qexpressionvariablereference_p.h"
#include "qexternalvariablereference_p.h"
#include "qforclause_p.h"
#include "qfunctioncall_p.h"
#include "qfunctionfactory_p.h"
#include "qfunctionsignature_p.h"
#include "qgeneralcomparison_p.h"
#include "qgenericpredicate_p.h"
#include "qgenericsequencetype_p.h"
#include "qifthenclause_p.h"
#include "qinstanceof_p.h"
#include "qletclause_p.h"
#include "qliteral_p.h"
#include "qlocalnametest_p.h"
#include "qnamespaceconstructor_p.h"
#include "qnamespacenametest_p.h"
#include "qncnameconstructor_p.h"
#include "qnodecomparison_p.h"
#include "qnodesort_p.h"
#include "qorderby_p.h"
#include "qorexpression_p.h"
#include "qparsercontext_p.h"
#include "qpath_p.h"
#include "qpatternistlocale_p.h"
#include "qpositionalvariablereference_p.h"
#include "qprocessinginstructionconstructor_p.h"
#include "qqnameconstructor_p.h"
#include "qqnametest_p.h"
#include "qqnamevalue_p.h"
#include "qquantifiedexpression_p.h"
#include "qrangeexpression_p.h"
#include "qrangevariablereference_p.h"
#include "qreturnorderby_p.h"
#include "qschemanumeric_p.h"
#include "qschematypefactory_p.h"
#include "qsimplecontentconstructor_p.h"
#include "qstaticbaseuristore_p.h"
#include "qstaticcompatibilitystore_p.h"
#include "qtemplateparameterreference_p.h"
#include "qtemplate_p.h"
#include "qtextnodeconstructor_p.h"
#include "qtokenizer_p.h"
#include "qtreatas_p.h"
#include "qtypechecker_p.h"
#include "qunaryexpression_p.h"
#include "qunresolvedvariablereference_p.h"
#include "quserfunctioncallsite_p.h"
#include "qvaluecomparison_p.h"
#include "qxpathhelper_p.h"
#include "qxsltsimplecontentconstructor_p.h"
#include <stddef.h>

Go to the source code of this file.

Classes

class  QPatternist::ReflectYYLTYPE
 

Namespaces

 QPatternist
 The namespace for the internal API of QtXmlPatterns.
 

Macros

#define YY_(msgid)   msgid
 
#define YY_LOCATION_PRINT(File, Loc)   ((void) 0)
 
#define YY_REDUCE_PRINT(Rule)
 
#define YY_STACK_PRINT(Bottom, Top)
 
#define YY_SYMBOL_PRINT(Title, Type, Value, Location)
 
#define YYABORT   goto yyabortlab
 
#define YYACCEPT   goto yyacceptlab
 
#define YYBACKUP(Token, Value)
 
#define YYBISON   1
 
#define YYBISON_VERSION   "2.3a"
 
#define yychar   XPathchar
 
#define yyclearin   (yychar = YYEMPTY)
 
#define yydebug   XPathdebug
 
#define YYDEBUG   0
 
#define YYDPRINTF(Args)
 
#define YYEMPTY   (-2)
 
#define YYENABLE_NLS   0
 
#define YYEOF   0
 
#define YYERRCODE   256
 
#define yyerrok   (yyerrstatus = 0)
 
#define yyerror   XPatherror
 
#define YYERROR   goto yyerrorlab
 
#define YYERROR_VERBOSE   1
 
#define YYERROR_VERBOSE   1
 
#define YYFAIL   goto yyerrlab
 
#define YYFINAL   5
 
#define YYFREE   free
 
#define YYID(n)   (n)
 
#define YYINITDEPTH   200
 
#define YYLAST   2052
 
#define yylex   XPathlex
 
#define YYLEX   yylex (&yylval, &yylloc, parseInfo)
 
#define yylloc   XPathlloc
 
#define YYLLOC_DEFAULT(Current, Rhs, N)
 
#define YYLSP_NEEDED   1
 
#define YYLTYPE_IS_TRIVIAL   0
 
#define yylval   XPathlval
 
#define YYMALLOC   malloc
 
#define YYMAXDEPTH   10000
 
#define YYMAXUTOK   423
 
#define yynerrs   XPathnerrs
 
#define YYNNTS   237
 
#define YYNRULES   472
 
#define YYNSTATES   812
 
#define YYNTOKENS   169
 
#define YYPACT_NINF   -668
 
#define yyparse   XPathparse
 
#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N), yylsp -= (N))
 
#define YYPURE   1
 
#define YYRECOVERING()   (!!yyerrstatus)
 
#define YYRHSLOC(Rhs, K)   ((Rhs)[K])
 
#define YYSIZE_MAXIMUM   ((YYSIZE_T) -1)
 
#define YYSIZE_T   size_t
 
#define YYSKELETON_NAME   "yacc.c"
 
#define YYSTACK_ALLOC   YYMALLOC
 
#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM
 
#define YYSTACK_FREE   YYFREE
 
#define YYTABLE_NINF   -463
 
#define YYTERROR   1
 
#define YYTOKEN_TABLE   0
 
#define YYTRANSLATE(YYX)   ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
 
#define YYUNDEFTOK   2
 
#define YYUSE(e)   ((void) (e))
 

Typedefs

typedef short int QPatternist::yytype_int16
 
typedef signed char QPatternist::yytype_int8
 
typedef unsigned short int QPatternist::yytype_uint16
 
typedef unsigned char QPatternist::yytype_uint8
 

Functions

static void QPatternist::allowedIn (const QueryLanguages allowedLanguages, const ParserContext *const parseInfo, const YYLTYPE &sourceLocator, const bool isInternal=false)
 Flags invalid expressions and declarations in the currently parsed language. More...
 
static void QPatternist::changeToTopAxis (const Expression::Ptr &op)
 
static void QPatternist::checkVariableCircularity (const VariableDeclaration::Ptr &var, const Expression::Ptr &checkee, const VariableDeclaration::Type type, FunctionSignature::List &signList, const ParserContext *const parseInfo)
 Checks for variable initialization circularity. More...
 
static Expression::Ptr QPatternist::create (Expression *const expr, const YYLTYPE &sourceLocator, const ParserContext *const parseInfo)
 
static Template::Ptr QPatternist::create (Template *const expr, const YYLTYPE &sourceLocator, const ParserContext *const parseInfo)
 
static Expression::Ptr QPatternist::create (const Expression::Ptr &expr, const YYLTYPE &sourceLocator, const ParserContext *const parseInfo)
 
static Expression::Ptr QPatternist::createCompatStore (const Expression::Ptr &expr, const YYLTYPE &sourceLocator, const ParserContext *const parseInfo)
 
static Expression::Ptr QPatternist::createConcatFN (const ParserContext *const parseInfo, const Expression::List &args, const YYLTYPE &sourceLocator)
 Creates a call to fn:concat() with args as the arguments. More...
 
static Expression::Ptr QPatternist::createCopyOf (const Expression::Ptr &operand, const ParserContext *const parseInfo, const YYLTYPE &sl)
 
static Expression::Ptr QPatternist::createDirAttributeValue (const Expression::List &content, const ParserContext *const parseInfo, const YYLTYPE &sourceLocator)
 
static Expression::Ptr QPatternist::createIdPatternPath (const Expression::Ptr &operand1, const Expression::Ptr &operand2, const QXmlNodeModelIndex::Axis axis, const YYLTYPE &sl, const ParserContext *const parseInfo)
 Performs the same role as createPatternPath(), but is tailored for fn:key() and fn:id(). More...
 
template<typename TNumberClass >
Expression::Ptr QPatternist::createNumericLiteral (const QString &in, const YYLTYPE &sl, const ParserContext *const parseInfo)
 Centralizes code for creating numeric literals. More...
 
static Expression::Ptr QPatternist::createPatternPath (const Expression::Ptr &operand1, const Expression::Ptr &operand2, const QXmlNodeModelIndex::Axis axis, const YYLTYPE &sl, const ParserContext *const parseInfo)
 Writes operand1 and operand2, two operands in an XSL-T pattern, into an equivalent XPath expression. More...
 
static Expression::Ptr QPatternist::createReturnOrderBy (const OrderSpecTransfer::List &orderSpecTransfer, const Expression::Ptr &returnExpr, const OrderBy::Stability stability, const YYLTYPE &sourceLocator, const ParserContext *const parseInfo)
 
static Expression::Ptr QPatternist::createRootExpression (const ParserContext *const parseInfo, const YYLTYPE &sl)
 Creates an Expression that corresponds to /. This is literally fn:root(self::node()) treat as document-node(). More...
 
static Expression::Ptr QPatternist::createSimpleContent (const Expression::Ptr &source, const YYLTYPE &sourceLocator, const ParserContext *const parseInfo)
 
static Expression::Ptr QPatternist::createSlashSlashPath (const Expression::Ptr &begin, const Expression::Ptr &end, const YYLTYPE &sourceLocator, const ParserContext *const parseInfo)
 Creates a path expression which contains the step // between begin and and end. More...
 
static Expression::Ptr QPatternist::findAxisStep (const Expression::Ptr &expr, const bool throughStructures=true)
 
static QSourceLocation QPatternist::fromYYLTYPE (const YYLTYPE &sourceLocator, const ParserContext *const parseInfo)
 
static bool QPatternist::isPredicate (const Expression::ID id)
 
static bool QPatternist::isVariableReference (const Expression::ID id)
 
static void QPatternist::loadPattern (const Expression::Ptr &matchPattern, TemplatePattern::Vector &ourPatterns, const TemplatePattern::ID id, const PatternPriority priority, const Template::Ptr &temp)
 
static ReturnOrderBy * QPatternist::locateReturnClause (const Expression::Ptr &expr)
 
static QString QPatternist::prologMessage (const char *const msg)
 Centralizes a translation message, for the purpose of consistency and modularization. More...
 
static Expression::Ptr QPatternist::pushVariable (const QXmlName name, const SequenceType::Ptr &seqType, const Expression::Ptr &expr, const VariableDeclaration::Type type, const YYLTYPE &sourceLocator, ParserContext *const parseInfo, const bool checkSource=true)
 
static SequenceType::Ptr QPatternist::quantificationType (const SequenceType::Ptr &type)
 
static void QPatternist::registerNamedTemplate (const QXmlName &name, const Expression::Ptr &body, ParserContext *const parseInfo, const YYLTYPE &sourceLocator, const Template::Ptr &temp)
 
template<const ReportContext::ErrorCode errorCode>
static QUrl QPatternist::resolveAndCheckCollation (const QString &collation, const ParserContext *const parseInfo, const YYLTYPE &sl)
 Resolves against the static base URI and checks that collation is a supported Unicode Collation. More...
 
static Expression::Ptr QPatternist::resolveVariable (const QXmlName &name, const YYLTYPE &sourceLocator, ParserContext *const parseInfo, const bool raiseErrorOnUnavailability)
 
static Expression::Ptr QPatternist::typeCheckTemplateBody (const Expression::Ptr &body, const SequenceType::Ptr &reqType, const ParserContext *const parseInfo)
 
static QString QPatternist::unknownType ()
 Centralizes a translation string for the purpose of increasing consistency. More...
 
static VariableDeclaration::Ptr QPatternist::variableByName (const QXmlName name, const ParserContext *const parseInfo)
 
static void QPatternist::variableUnavailable (const QXmlName &variableName, const ParserContext *const parseInfo, const YYLTYPE &location)
 
static int QPatternist::XPatherror (YYLTYPE *sourceLocator, const ParserContext *const parseInfo, const char *const msg)
 The generated Bison parser calls this function when there is a parse error. More...
 
static int QPatternist::XPathlex (YYSTYPE *lexVal, YYLTYPE *sourceLocator, const ParserContext *const parseInfo)
 
static void QPatternist::yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep, YYLTYPE *yylocationp, ParserContext *const parseInfo)
 
int QPatternist::yyparse (ParserContext *const parseInfo)
 
static char * QPatternist::yystpcpy (char *yydest, const char *yysrc)
 
static YYSIZE_T QPatternist::yystrlen (const char *yystr)
 
static YYSIZE_T QPatternist::yysyntax_error (char *yyresult, int yystate, int yychar)
 
static YYSIZE_T QPatternist::yytnamerr (char *yyres, const char *yystr)
 

Variables

static const yytype_int16 QPatternist::yycheck []
 
static const yytype_uint16 QPatternist::yydefact []
 
static const yytype_int16 QPatternist::yydefgoto []
 
static const yytype_int16 QPatternist::yypact []
 
static const yytype_int16 QPatternist::yypgoto []
 
static const yytype_uint16 QPatternist::yyr1 []
 
static const yytype_uint8 QPatternist::yyr2 []
 
static const yytype_uint16 QPatternist::yystos []
 
static const yytype_int16 QPatternist::yytable []
 
static const char *const QPatternist::yytname []
 
static const yytype_uint8 QPatternist::yytranslate []
 

Macro Definition Documentation

◆ YY_

#define YY_ (   msgid)    msgid

◆ YY_LOCATION_PRINT

#define YY_LOCATION_PRINT (   File,
  Loc 
)    ((void) 0)

Definition at line 2936 of file qquerytransformparser.cpp.

◆ YY_REDUCE_PRINT

#define YY_REDUCE_PRINT (   Rule)

Definition at line 3119 of file qquerytransformparser.cpp.

Referenced by QPatternist::yyparse().

◆ YY_STACK_PRINT

#define YY_STACK_PRINT (   Bottom,
  Top 
)

Definition at line 3118 of file qquerytransformparser.cpp.

Referenced by QPatternist::yyparse().

◆ YY_SYMBOL_PRINT

#define YY_SYMBOL_PRINT (   Title,
  Type,
  Value,
  Location 
)

Definition at line 3117 of file qquerytransformparser.cpp.

Referenced by QPatternist::yydestruct(), and QPatternist::yyparse().

◆ YYABORT

#define YYABORT   goto yyabortlab

Definition at line 2865 of file qquerytransformparser.cpp.

Referenced by QPatternist::yyparse().

◆ YYACCEPT

#define YYACCEPT   goto yyacceptlab

Definition at line 2864 of file qquerytransformparser.cpp.

Referenced by QPatternist::yyparse().

◆ YYBACKUP

#define YYBACKUP (   Token,
  Value 
)
Value:
if (yychar == YYEMPTY && yylen == 1) \
{ \
yychar = (Token); \
yylval = (Value); \
yytoken = YYTRANSLATE (yychar); \
YYPOPSTACK (1); \
goto yybackup; \
} \
else \
{ \
yyerror (&yylloc, parseInfo, YY_("syntax error: cannot back up")); \
YYERROR; \
} \
while (YYID (0))
#define yylloc
#define YYID(n)
#define YYEMPTY
if(void) toggleToolbarShown
#define yychar
#define YY_(msgid)
#define YYTRANSLATE(YYX)

Definition at line 2877 of file qquerytransformparser.cpp.

◆ YYBISON

#define YYBISON   1

Definition at line 88 of file qquerytransformparser.cpp.

◆ YYBISON_VERSION

#define YYBISON_VERSION   "2.3a"

Definition at line 91 of file qquerytransformparser.cpp.

◆ yychar

#define yychar   XPathchar

Definition at line 107 of file qquerytransformparser.cpp.

Referenced by QPatternist::yyparse().

◆ yyclearin

#define yyclearin   (yychar = YYEMPTY)

Definition at line 2860 of file qquerytransformparser.cpp.

◆ yydebug

#define yydebug   XPathdebug

Definition at line 108 of file qquerytransformparser.cpp.

◆ YYDEBUG

#define YYDEBUG   0

Definition at line 1124 of file qquerytransformparser.cpp.

◆ YYDPRINTF

#define YYDPRINTF (   Args)

Definition at line 3116 of file qquerytransformparser.cpp.

Referenced by QPatternist::yyparse().

◆ YYEMPTY

#define YYEMPTY   (-2)

Definition at line 2861 of file qquerytransformparser.cpp.

Referenced by QPatternist::yyparse().

◆ YYENABLE_NLS

#define YYENABLE_NLS   0

Definition at line 231 of file qquerytransformparser.cpp.

◆ YYEOF

#define YYEOF   0

Definition at line 2862 of file qquerytransformparser.cpp.

Referenced by QPatternist::yyparse().

◆ YYERRCODE

#define YYERRCODE   256

Definition at line 2896 of file qquerytransformparser.cpp.

◆ yyerrok

#define yyerrok   (yyerrstatus = 0)

Definition at line 2859 of file qquerytransformparser.cpp.

◆ yyerror

#define yyerror   XPatherror

Definition at line 105 of file qquerytransformparser.cpp.

Referenced by QPatternist::yyparse().

◆ YYERROR

#define YYERROR   goto yyerrorlab

Definition at line 2866 of file qquerytransformparser.cpp.

◆ YYERROR_VERBOSE [1/2]

#define YYERROR_VERBOSE   1

"Macro that you define with #define in the Bison declarations section to request verbose, specific error message strings when yyerror is called."

Definition at line 1130 of file qquerytransformparser.cpp.

◆ YYERROR_VERBOSE [2/2]

#define YYERROR_VERBOSE   1

"Macro that you define with #define in the Bison declarations section to request verbose, specific error message strings when yyerror is called."

Definition at line 1130 of file qquerytransformparser.cpp.

◆ YYFAIL

#define YYFAIL   goto yyerrlab

Definition at line 2873 of file qquerytransformparser.cpp.

◆ YYFINAL

#define YYFINAL   5

Definition at line 1557 of file qquerytransformparser.cpp.

Referenced by QPatternist::yyparse().

◆ YYFREE

#define YYFREE   free

Definition at line 208 of file qquerytransformparser.cpp.

◆ YYID

#define YYID (   n)    (n)

Definition at line 1412 of file qquerytransformparser.cpp.

◆ YYINITDEPTH

#define YYINITDEPTH   200

Definition at line 3125 of file qquerytransformparser.cpp.

Referenced by QPatternist::yyparse().

◆ YYLAST

#define YYLAST   2052

◆ yylex

#define yylex   XPathlex

Definition at line 104 of file qquerytransformparser.cpp.

◆ YYLEX

#define YYLEX   yylex (&yylval, &yylloc, parseInfo)

Definition at line 2946 of file qquerytransformparser.cpp.

Referenced by QPatternist::yyparse().

◆ yylloc

#define yylloc   XPathlloc

Definition at line 110 of file qquerytransformparser.cpp.

Referenced by QPatternist::yyparse().

◆ YYLLOC_DEFAULT

#define YYLLOC_DEFAULT (   Current,
  Rhs,
 
)
Value:
if (YYID (N)) \
{ \
(Current).first_line = YYRHSLOC (Rhs, 1).first_line; \
(Current).first_column = YYRHSLOC (Rhs, 1).first_column; \
(Current).last_line = YYRHSLOC (Rhs, N).last_line; \
(Current).last_column = YYRHSLOC (Rhs, N).last_column; \
} \
else \
{ \
(Current).first_line = (Current).last_line = \
YYRHSLOC (Rhs, 0).last_line; \
(Current).first_column = (Current).last_column = \
YYRHSLOC (Rhs, 0).last_column; \
} \
while (YYID (0))
#define YYRHSLOC(Rhs, K)
#define YYID(n)
if(void) toggleToolbarShown

Definition at line 2905 of file qquerytransformparser.cpp.

Referenced by QPatternist::yyparse().

◆ YYLSP_NEEDED

#define YYLSP_NEEDED   1

Definition at line 100 of file qquerytransformparser.cpp.

◆ YYLTYPE_IS_TRIVIAL

#define YYLTYPE_IS_TRIVIAL   0

Definition at line 225 of file qquerytransformparser.cpp.

◆ yylval

#define yylval   XPathlval

Definition at line 106 of file qquerytransformparser.cpp.

Referenced by QPatternist::yyparse().

◆ YYMALLOC

#define YYMALLOC   malloc

Definition at line 207 of file qquerytransformparser.cpp.

◆ YYMAXDEPTH

#define YYMAXDEPTH   10000

Definition at line 3136 of file qquerytransformparser.cpp.

Referenced by QPatternist::yyparse().

◆ YYMAXUTOK

#define YYMAXUTOK   423

Definition at line 1572 of file qquerytransformparser.cpp.

◆ yynerrs

#define yynerrs   XPathnerrs

Definition at line 109 of file qquerytransformparser.cpp.

Referenced by QPatternist::yyparse().

◆ YYNNTS

#define YYNNTS   237

Definition at line 1564 of file qquerytransformparser.cpp.

◆ YYNRULES

#define YYNRULES   472

Definition at line 1566 of file qquerytransformparser.cpp.

◆ YYNSTATES

#define YYNSTATES   812

Definition at line 1568 of file qquerytransformparser.cpp.

◆ YYNTOKENS

#define YYNTOKENS   169

◆ YYPACT_NINF

#define YYPACT_NINF   -668

◆ yyparse

#define yyparse   XPathparse

Definition at line 103 of file qquerytransformparser.cpp.

◆ YYPOPSTACK

#define YYPOPSTACK (   N)    (yyvsp -= (N), yyssp -= (N), yylsp -= (N))

Referenced by QPatternist::yyparse().

◆ YYPURE

#define YYPURE   1

Definition at line 97 of file qquerytransformparser.cpp.

◆ YYRECOVERING

#define YYRECOVERING ( )    (!!yyerrstatus)

Definition at line 2875 of file qquerytransformparser.cpp.

◆ YYRHSLOC

#define YYRHSLOC (   Rhs,
 
)    ((Rhs)[K])

Definition at line 2903 of file qquerytransformparser.cpp.

◆ YYSIZE_MAXIMUM

#define YYSIZE_MAXIMUM   ((YYSIZE_T) -1)

Definition at line 1389 of file qquerytransformparser.cpp.

Referenced by QPatternist::yysyntax_error().

◆ YYSIZE_T

#define YYSIZE_T   size_t

◆ YYSKELETON_NAME

#define YYSKELETON_NAME   "yacc.c"

Definition at line 94 of file qquerytransformparser.cpp.

◆ YYSTACK_ALLOC

#define YYSTACK_ALLOC   YYMALLOC

Definition at line 1467 of file qquerytransformparser.cpp.

Referenced by QPatternist::yyparse().

◆ YYSTACK_ALLOC_MAXIMUM

#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM

Definition at line 1470 of file qquerytransformparser.cpp.

Referenced by QPatternist::yyparse().

◆ YYSTACK_FREE

#define YYSTACK_FREE   YYFREE

Definition at line 1468 of file qquerytransformparser.cpp.

Referenced by QPatternist::yyparse().

◆ YYTABLE_NINF

#define YYTABLE_NINF   -463

Definition at line 2350 of file qquerytransformparser.cpp.

Referenced by QPatternist::yyparse().

◆ YYTERROR

#define YYTERROR   1

Definition at line 2895 of file qquerytransformparser.cpp.

Referenced by QPatternist::yysyntax_error().

◆ YYTOKEN_TABLE

#define YYTOKEN_TABLE   0

Definition at line 1137 of file qquerytransformparser.cpp.

◆ YYTRANSLATE

#define YYTRANSLATE (   YYX)    ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)

◆ YYUNDEFTOK

#define YYUNDEFTOK   2

Definition at line 1571 of file qquerytransformparser.cpp.

◆ YYUSE

#define YYUSE (   e)    ((void) (e))

Definition at line 1405 of file qquerytransformparser.cpp.

Referenced by QPatternist::yydestruct().