ReactOS  0.4.14-dev-860-gd05f621
wql.tab.c File Reference
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wbemcli.h"
#include "wbemprox_private.h"
#include "wine/list.h"
#include "wine/debug.h"
#include <stddef.h>
Include dependency graph for wql.tab.c:

Go to the source code of this file.

Classes

struct  parser
 
struct  string
 
union  YYSTYPE
 
union  yyalloc
 
struct  wql_keyword
 

Macros

#define YYBISON   1
 
#define YYBISON_VERSION   "3.4.1"
 
#define YYSKELETON_NAME   "yacc.c"
 
#define YYPURE   1
 
#define YYPUSH   0
 
#define YYPULL   1
 
#define yyparse   wql_parse
 
#define yylex   wql_lex
 
#define yyerror   wql_error
 
#define yydebug   wql_debug
 
#define yynerrs   wql_nerrs
 
#define PARSER_BUBBLE_UP_VIEW(parser, result, current_view)
 
#define YY_NULLPTR   ((void*)0)
 
#define YYERROR_VERBOSE   1
 
#define YY_WQL_E_REACTOSSYNC_GCC_DLL_WIN32_WBEMPROX_WQL_TAB_H_INCLUDED
 
#define YYDEBUG   0
 
#define YYTOKENTYPE
 
#define YYSTYPE_IS_TRIVIAL   1
 
#define YYSTYPE_IS_DECLARED   1
 
#define YYSIZE_T   size_t
 
#define YYSIZE_MAXIMUM   ((YYSIZE_T) -1)
 
#define YY_(Msgid)   Msgid
 
#define YY_ATTRIBUTE(Spec)   /* empty */
 
#define YY_ATTRIBUTE_PURE   YY_ATTRIBUTE ((__pure__))
 
#define YY_ATTRIBUTE_UNUSED   YY_ATTRIBUTE ((__unused__))
 
#define YYUSE(E)   ((void) (E))
 
#define YY_INITIAL_VALUE(Value)   Value
 
#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
 
#define YY_IGNORE_MAYBE_UNINITIALIZED_END
 
#define YY_ASSERT(E)   ((void) (0 && (E)))
 
#define YYSTACK_ALLOC   YYMALLOC
 
#define YYSTACK_FREE   YYFREE
 
#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM
 
#define YYMALLOC   malloc
 
#define YYFREE   free
 
#define YYSTACK_GAP_MAXIMUM   (sizeof (union yyalloc) - 1)
 
#define YYSTACK_BYTES(N)
 
#define YYCOPY_NEEDED   1
 
#define YYSTACK_RELOCATE(Stack_alloc, Stack)
 
#define YYCOPY(Dst, Src, Count)
 
#define YYFINAL   13
 
#define YYLAST   91
 
#define YYNTOKENS   35
 
#define YYNNTS   15
 
#define YYNRULES   49
 
#define YYNSTATES   87
 
#define YYUNDEFTOK   2
 
#define YYMAXUTOK   289
 
#define YYTRANSLATE(YYX)   ((unsigned) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
 
#define YYPACT_NINF   -25
 
#define yypact_value_is_default(Yystate)   (!!((Yystate) == (-25)))
 
#define YYTABLE_NINF   -1
 
#define yytable_value_is_error(Yytable_value)   0
 
#define yyerrok   (yyerrstatus = 0)
 
#define yyclearin   (yychar = YYEMPTY)
 
#define YYEMPTY   (-2)
 
#define YYEOF   0
 
#define YYACCEPT   goto yyacceptlab
 
#define YYABORT   goto yyabortlab
 
#define YYERROR   goto yyerrorlab
 
#define YYRECOVERING()   (!!yyerrstatus)
 
#define YYBACKUP(Token, Value)
 
#define YYTERROR   1
 
#define YYERRCODE   256
 
#define YYDPRINTF(Args)
 
#define YY_SYMBOL_PRINT(Title, Type, Value, Location)
 
#define YY_STACK_PRINT(Bottom, Top)
 
#define YY_REDUCE_PRINT(Rule)
 
#define YYINITDEPTH   200
 
#define YYMAXDEPTH   10000
 
#define YYCASE_(N, S)
 
#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
 
#define YYSYNTAX_ERROR
 
#define MIN_TOKEN_LEN   2
 
#define MAX_TOKEN_LEN   11
 

Typedefs

typedef union YYSTYPE YYSTYPE
 
typedef unsigned char yytype_uint8
 
typedef signed char yytype_int8
 
typedef unsigned short yytype_uint16
 
typedef short yytype_int16
 

Enumerations

enum  yytokentype {
  INSTR_ADD = 258, INSTR_NOP = 259, INSTR_MOV = 260, INSTR_SUB = 261,
  INSTR_MAD = 262, INSTR_MUL = 263, INSTR_RCP = 264, INSTR_RSQ = 265,
  INSTR_DP3 = 266, INSTR_DP4 = 267, INSTR_MIN = 268, INSTR_MAX = 269,
  INSTR_SLT = 270, INSTR_SGE = 271, INSTR_ABS = 272, INSTR_EXP = 273,
  INSTR_LOG = 274, INSTR_EXPP = 275, INSTR_LOGP = 276, INSTR_DST = 277,
  INSTR_LRP = 278, INSTR_FRC = 279, INSTR_POW = 280, INSTR_CRS = 281,
  INSTR_SGN = 282, INSTR_NRM = 283, INSTR_SINCOS = 284, INSTR_M4x4 = 285,
  INSTR_M4x3 = 286, INSTR_M3x4 = 287, INSTR_M3x3 = 288, INSTR_M3x2 = 289,
  INSTR_DCL = 290, INSTR_DEF = 291, INSTR_DEFB = 292, INSTR_DEFI = 293,
  INSTR_REP = 294, INSTR_ENDREP = 295, INSTR_IF = 296, INSTR_ELSE = 297,
  INSTR_ENDIF = 298, INSTR_BREAK = 299, INSTR_BREAKP = 300, INSTR_CALL = 301,
  INSTR_CALLNZ = 302, INSTR_LOOP = 303, INSTR_RET = 304, INSTR_ENDLOOP = 305,
  INSTR_LABEL = 306, INSTR_SETP = 307, INSTR_TEXLDL = 308, INSTR_LIT = 309,
  INSTR_MOVA = 310, INSTR_CND = 311, INSTR_CMP = 312, INSTR_DP2ADD = 313,
  INSTR_TEXCOORD = 314, INSTR_TEXCRD = 315, INSTR_TEXKILL = 316, INSTR_TEX = 317,
  INSTR_TEXLD = 318, INSTR_TEXBEM = 319, INSTR_TEXBEML = 320, INSTR_TEXREG2AR = 321,
  INSTR_TEXREG2GB = 322, INSTR_TEXREG2RGB = 323, INSTR_TEXM3x2PAD = 324, INSTR_TEXM3x2TEX = 325,
  INSTR_TEXM3x3PAD = 326, INSTR_TEXM3x3SPEC = 327, INSTR_TEXM3x3VSPEC = 328, INSTR_TEXM3x3TEX = 329,
  INSTR_TEXDP3TEX = 330, INSTR_TEXM3x2DEPTH = 331, INSTR_TEXDP3 = 332, INSTR_TEXM3x3 = 333,
  INSTR_TEXDEPTH = 334, INSTR_BEM = 335, INSTR_DSX = 336, INSTR_DSY = 337,
  INSTR_TEXLDP = 338, INSTR_TEXLDB = 339, INSTR_TEXLDD = 340, INSTR_PHASE = 341,
  REG_TEMP = 342, REG_OUTPUT = 343, REG_INPUT = 344, REG_CONSTFLOAT = 345,
  REG_CONSTINT = 346, REG_CONSTBOOL = 347, REG_TEXTURE = 348, REG_SAMPLER = 349,
  REG_TEXCRDOUT = 350, REG_OPOS = 351, REG_OFOG = 352, REG_OPTS = 353,
  REG_VERTEXCOLOR = 354, REG_FRAGCOLOR = 355, REG_FRAGDEPTH = 356, REG_VPOS = 357,
  REG_VFACE = 358, REG_ADDRESS = 359, REG_LOOP = 360, REG_PREDICATE = 361,
  REG_LABEL = 362, VER_VS10 = 363, VER_VS11 = 364, VER_VS20 = 365,
  VER_VS2X = 366, VER_VS30 = 367, VER_PS10 = 368, VER_PS11 = 369,
  VER_PS12 = 370, VER_PS13 = 371, VER_PS14 = 372, VER_PS20 = 373,
  VER_PS2X = 374, VER_PS30 = 375, SHIFT_X2 = 376, SHIFT_X4 = 377,
  SHIFT_X8 = 378, SHIFT_D2 = 379, SHIFT_D4 = 380, SHIFT_D8 = 381,
  MOD_SAT = 382, MOD_PP = 383, MOD_CENTROID = 384, COMP_GT = 385,
  COMP_LT = 386, COMP_GE = 387, COMP_LE = 388, COMP_EQ = 389,
  COMP_NE = 390, SMOD_BIAS = 391, SMOD_SCALEBIAS = 392, SMOD_DZ = 393,
  SMOD_DW = 394, SMOD_ABS = 395, SMOD_NOT = 396, SAMPTYPE_1D = 397,
  SAMPTYPE_2D = 398, SAMPTYPE_CUBE = 399, SAMPTYPE_VOLUME = 400, USAGE_POSITION = 401,
  USAGE_BLENDWEIGHT = 402, USAGE_BLENDINDICES = 403, USAGE_NORMAL = 404, USAGE_PSIZE = 405,
  USAGE_TEXCOORD = 406, USAGE_TANGENT = 407, USAGE_BINORMAL = 408, USAGE_TESSFACTOR = 409,
  USAGE_POSITIONT = 410, USAGE_COLOR = 411, USAGE_FOG = 412, USAGE_DEPTH = 413,
  USAGE_SAMPLE = 414, COMPONENT = 415, IMMVAL = 416, IMMBOOL = 417,
  INSTR_ADD = 258, INSTR_NOP = 259, INSTR_MOV = 260, INSTR_SUB = 261,
  INSTR_MAD = 262, INSTR_MUL = 263, INSTR_RCP = 264, INSTR_RSQ = 265,
  INSTR_DP3 = 266, INSTR_DP4 = 267, INSTR_MIN = 268, INSTR_MAX = 269,
  INSTR_SLT = 270, INSTR_SGE = 271, INSTR_ABS = 272, INSTR_EXP = 273,
  INSTR_LOG = 274, INSTR_EXPP = 275, INSTR_LOGP = 276, INSTR_DST = 277,
  INSTR_LRP = 278, INSTR_FRC = 279, INSTR_POW = 280, INSTR_CRS = 281,
  INSTR_SGN = 282, INSTR_NRM = 283, INSTR_SINCOS = 284, INSTR_M4x4 = 285,
  INSTR_M4x3 = 286, INSTR_M3x4 = 287, INSTR_M3x3 = 288, INSTR_M3x2 = 289,
  INSTR_DCL = 290, INSTR_DEF = 291, INSTR_DEFB = 292, INSTR_DEFI = 293,
  INSTR_REP = 294, INSTR_ENDREP = 295, INSTR_IF = 296, INSTR_ELSE = 297,
  INSTR_ENDIF = 298, INSTR_BREAK = 299, INSTR_BREAKP = 300, INSTR_CALL = 301,
  INSTR_CALLNZ = 302, INSTR_LOOP = 303, INSTR_RET = 304, INSTR_ENDLOOP = 305,
  INSTR_LABEL = 306, INSTR_SETP = 307, INSTR_TEXLDL = 308, INSTR_LIT = 309,
  INSTR_MOVA = 310, INSTR_CND = 311, INSTR_CMP = 312, INSTR_DP2ADD = 313,
  INSTR_TEXCOORD = 314, INSTR_TEXCRD = 315, INSTR_TEXKILL = 316, INSTR_TEX = 317,
  INSTR_TEXLD = 318, INSTR_TEXBEM = 319, INSTR_TEXBEML = 320, INSTR_TEXREG2AR = 321,
  INSTR_TEXREG2GB = 322, INSTR_TEXREG2RGB = 323, INSTR_TEXM3x2PAD = 324, INSTR_TEXM3x2TEX = 325,
  INSTR_TEXM3x3PAD = 326, INSTR_TEXM3x3SPEC = 327, INSTR_TEXM3x3VSPEC = 328, INSTR_TEXM3x3TEX = 329,
  INSTR_TEXDP3TEX = 330, INSTR_TEXM3x2DEPTH = 331, INSTR_TEXDP3 = 332, INSTR_TEXM3x3 = 333,
  INSTR_TEXDEPTH = 334, INSTR_BEM = 335, INSTR_DSX = 336, INSTR_DSY = 337,
  INSTR_TEXLDP = 338, INSTR_TEXLDB = 339, INSTR_TEXLDD = 340, INSTR_PHASE = 341,
  REG_TEMP = 342, REG_OUTPUT = 343, REG_INPUT = 344, REG_CONSTFLOAT = 345,
  REG_CONSTINT = 346, REG_CONSTBOOL = 347, REG_TEXTURE = 348, REG_SAMPLER = 349,
  REG_TEXCRDOUT = 350, REG_OPOS = 351, REG_OFOG = 352, REG_OPTS = 353,
  REG_VERTEXCOLOR = 354, REG_FRAGCOLOR = 355, REG_FRAGDEPTH = 356, REG_VPOS = 357,
  REG_VFACE = 358, REG_ADDRESS = 359, REG_LOOP = 360, REG_PREDICATE = 361,
  REG_LABEL = 362, VER_VS10 = 363, VER_VS11 = 364, VER_VS20 = 365,
  VER_VS2X = 366, VER_VS30 = 367, VER_PS10 = 368, VER_PS11 = 369,
  VER_PS12 = 370, VER_PS13 = 371, VER_PS14 = 372, VER_PS20 = 373,
  VER_PS2X = 374, VER_PS30 = 375, SHIFT_X2 = 376, SHIFT_X4 = 377,
  SHIFT_X8 = 378, SHIFT_D2 = 379, SHIFT_D4 = 380, SHIFT_D8 = 381,
  MOD_SAT = 382, MOD_PP = 383, MOD_CENTROID = 384, COMP_GT = 385,
  COMP_LT = 386, COMP_GE = 387, COMP_LE = 388, COMP_EQ = 389,
  COMP_NE = 390, SMOD_BIAS = 391, SMOD_SCALEBIAS = 392, SMOD_DZ = 393,
  SMOD_DW = 394, SMOD_ABS = 395, SMOD_NOT = 396, SAMPTYPE_1D = 397,
  SAMPTYPE_2D = 398, SAMPTYPE_CUBE = 399, SAMPTYPE_VOLUME = 400, USAGE_POSITION = 401,
  USAGE_BLENDWEIGHT = 402, USAGE_BLENDINDICES = 403, USAGE_NORMAL = 404, USAGE_PSIZE = 405,
  USAGE_TEXCOORD = 406, USAGE_TANGENT = 407, USAGE_BINORMAL = 408, USAGE_TESSFACTOR = 409,
  USAGE_POSITIONT = 410, USAGE_COLOR = 411, USAGE_FOG = 412, USAGE_DEPTH = 413,
  USAGE_SAMPLE = 414, COMPONENT = 415, IMMVAL = 416, IMMBOOL = 417,
  KW_BLENDSTATE = 258, KW_BREAK = 259, KW_BUFFER = 260, KW_CBUFFER = 261,
  KW_COLUMN_MAJOR = 262, KW_COMPILE = 263, KW_CONST = 264, KW_CONTINUE = 265,
  KW_DEPTHSTENCILSTATE = 266, KW_DEPTHSTENCILVIEW = 267, KW_DISCARD = 268, KW_DO = 269,
  KW_DOUBLE = 270, KW_ELSE = 271, KW_EXTERN = 272, KW_FALSE = 273,
  KW_FOR = 274, KW_GEOMETRYSHADER = 275, KW_GROUPSHARED = 276, KW_IF = 277,
  KW_IN = 278, KW_INLINE = 279, KW_INOUT = 280, KW_MATRIX = 281,
  KW_NAMESPACE = 282, KW_NOINTERPOLATION = 283, KW_OUT = 284, KW_PASS = 285,
  KW_PIXELSHADER = 286, KW_PRECISE = 287, KW_RASTERIZERSTATE = 288, KW_RENDERTARGETVIEW = 289,
  KW_RETURN = 290, KW_REGISTER = 291, KW_ROW_MAJOR = 292, KW_SAMPLER = 293,
  KW_SAMPLER1D = 294, KW_SAMPLER2D = 295, KW_SAMPLER3D = 296, KW_SAMPLERCUBE = 297,
  KW_SAMPLER_STATE = 298, KW_SAMPLERCOMPARISONSTATE = 299, KW_SHARED = 300, KW_STATEBLOCK = 301,
  KW_STATEBLOCK_STATE = 302, KW_STATIC = 303, KW_STRING = 304, KW_STRUCT = 305,
  KW_SWITCH = 306, KW_TBUFFER = 307, KW_TECHNIQUE = 308, KW_TECHNIQUE10 = 309,
  KW_TEXTURE = 310, KW_TEXTURE1D = 311, KW_TEXTURE1DARRAY = 312, KW_TEXTURE2D = 313,
  KW_TEXTURE2DARRAY = 314, KW_TEXTURE2DMS = 315, KW_TEXTURE2DMSARRAY = 316, KW_TEXTURE3D = 317,
  KW_TEXTURE3DARRAY = 318, KW_TEXTURECUBE = 319, KW_TRUE = 320, KW_TYPEDEF = 321,
  KW_UNIFORM = 322, KW_VECTOR = 323, KW_VERTEXSHADER = 324, KW_VOID = 325,
  KW_VOLATILE = 326, KW_WHILE = 327, OP_INC = 328, OP_DEC = 329,
  OP_AND = 330, OP_OR = 331, OP_EQ = 332, OP_LEFTSHIFT = 333,
  OP_LEFTSHIFTASSIGN = 334, OP_RIGHTSHIFT = 335, OP_RIGHTSHIFTASSIGN = 336, OP_ELLIPSIS = 337,
  OP_LE = 338, OP_GE = 339, OP_NE = 340, OP_ADDASSIGN = 341,
  OP_SUBASSIGN = 342, OP_MULASSIGN = 343, OP_DIVASSIGN = 344, OP_MODASSIGN = 345,
  OP_ANDASSIGN = 346, OP_ORASSIGN = 347, OP_XORASSIGN = 348, OP_UNKNOWN1 = 349,
  OP_UNKNOWN2 = 350, OP_UNKNOWN3 = 351, OP_UNKNOWN4 = 352, PRE_LINE = 353,
  VAR_IDENTIFIER = 354, TYPE_IDENTIFIER = 355, NEW_IDENTIFIER = 356, STRING = 357,
  C_FLOAT = 358, C_INTEGER = 359, KW_BLENDSTATE = 258, KW_BREAK = 259,
  KW_BUFFER = 260, KW_CBUFFER = 261, KW_COLUMN_MAJOR = 262, KW_COMPILE = 263,
  KW_CONST = 264, KW_CONTINUE = 265, KW_DEPTHSTENCILSTATE = 266, KW_DEPTHSTENCILVIEW = 267,
  KW_DISCARD = 268, KW_DO = 269, KW_DOUBLE = 270, KW_ELSE = 271,
  KW_EXTERN = 272, KW_FALSE = 273, KW_FOR = 274, KW_GEOMETRYSHADER = 275,
  KW_GROUPSHARED = 276, KW_IF = 277, KW_IN = 278, KW_INLINE = 279,
  KW_INOUT = 280, KW_MATRIX = 281, KW_NAMESPACE = 282, KW_NOINTERPOLATION = 283,
  KW_OUT = 284, KW_PASS = 285, KW_PIXELSHADER = 286, KW_PRECISE = 287,
  KW_RASTERIZERSTATE = 288, KW_RENDERTARGETVIEW = 289, KW_RETURN = 290, KW_REGISTER = 291,
  KW_ROW_MAJOR = 292, KW_SAMPLER = 293, KW_SAMPLER1D = 294, KW_SAMPLER2D = 295,
  KW_SAMPLER3D = 296, KW_SAMPLERCUBE = 297, KW_SAMPLER_STATE = 298, KW_SAMPLERCOMPARISONSTATE = 299,
  KW_SHARED = 300, KW_STATEBLOCK = 301, KW_STATEBLOCK_STATE = 302, KW_STATIC = 303,
  KW_STRING = 304, KW_STRUCT = 305, KW_SWITCH = 306, KW_TBUFFER = 307,
  KW_TECHNIQUE = 308, KW_TECHNIQUE10 = 309, KW_TEXTURE = 310, KW_TEXTURE1D = 311,
  KW_TEXTURE1DARRAY = 312, KW_TEXTURE2D = 313, KW_TEXTURE2DARRAY = 314, KW_TEXTURE2DMS = 315,
  KW_TEXTURE2DMSARRAY = 316, KW_TEXTURE3D = 317, KW_TEXTURE3DARRAY = 318, KW_TEXTURECUBE = 319,
  KW_TRUE = 320, KW_TYPEDEF = 321, KW_UNIFORM = 322, KW_VECTOR = 323,
  KW_VERTEXSHADER = 324, KW_VOID = 325, KW_VOLATILE = 326, KW_WHILE = 327,
  OP_INC = 328, OP_DEC = 329, OP_AND = 330, OP_OR = 331,
  OP_EQ = 332, OP_LEFTSHIFT = 333, OP_LEFTSHIFTASSIGN = 334, OP_RIGHTSHIFT = 335,
  OP_RIGHTSHIFTASSIGN = 336, OP_ELLIPSIS = 337, OP_LE = 338, OP_GE = 339,
  OP_NE = 340, OP_ADDASSIGN = 341, OP_SUBASSIGN = 342, OP_MULASSIGN = 343,
  OP_DIVASSIGN = 344, OP_MODASSIGN = 345, OP_ANDASSIGN = 346, OP_ORASSIGN = 347,
  OP_XORASSIGN = 348, OP_UNKNOWN1 = 349, OP_UNKNOWN2 = 350, OP_UNKNOWN3 = 351,
  OP_UNKNOWN4 = 352, PRE_LINE = 353, VAR_IDENTIFIER = 354, TYPE_IDENTIFIER = 355,
  NEW_IDENTIFIER = 356, STRING = 357, C_FLOAT = 358, C_INTEGER = 359,
  tRCINCLUDE = 258, tIF = 259, tIFDEF = 260, tIFNDEF = 261,
  tELSE = 262, tELIF = 263, tENDIF = 264, tDEFINED = 265,
  tNL = 266, tINCLUDE = 267, tLINE = 268, tGCCLINE = 269,
  tERROR = 270, tWARNING = 271, tPRAGMA = 272, tPPIDENT = 273,
  tUNDEF = 274, tMACROEND = 275, tCONCAT = 276, tELIPSIS = 277,
  tSTRINGIZE = 278, tIDENT = 279, tLITERAL = 280, tMACRO = 281,
  tDEFINE = 282, tDQSTRING = 283, tSQSTRING = 284, tIQSTRING = 285,
  tUINT = 286, tSINT = 287, tULONG = 288, tSLONG = 289,
  tULONGLONG = 290, tSLONGLONG = 291, tRCINCLUDEPATH = 292, tLOGOR = 293,
  tLOGAND = 294, tEQ = 295, tNE = 296, tLTE = 297,
  tGTE = 298, tLSHIFT = 299, tRSHIFT = 300, tRCINCLUDE = 258,
  tIF = 259, tIFDEF = 260, tIFNDEF = 261, tELSE = 262,
  tELIF = 263, tENDIF = 264, tDEFINED = 265, tNL = 266,
  tINCLUDE = 267, tLINE = 268, tGCCLINE = 269, tERROR = 270,
  tWARNING = 271, tPRAGMA = 272, tPPIDENT = 273, tUNDEF = 274,
  tMACROEND = 275, tCONCAT = 276, tELIPSIS = 277, tSTRINGIZE = 278,
  tIDENT = 279, tLITERAL = 280, tMACRO = 281, tDEFINE = 282,
  tDQSTRING = 283, tSQSTRING = 284, tIQSTRING = 285, tUINT = 286,
  tSINT = 287, tULONG = 288, tSLONG = 289, tULONGLONG = 290,
  tSLONGLONG = 291, tRCINCLUDEPATH = 292, tLOGOR = 293, tLOGAND = 294,
  tEQ = 295, tNE = 296, tLTE = 297, tGTE = 298,
  tLSHIFT = 299, tRSHIFT = 300, tEQ = 258, tEQEQ = 259,
  tNEQ = 260, tNEQEQ = 261, tLSHIFT = 262, tRSHIFT = 263,
  tRRSHIFT = 264, tOR = 265, tAND = 266, tLEQ = 267,
  tGEQ = 268, tCCValue = 269, tEQ = 258, tEQEQ = 259,
  tNEQ = 260, tNEQEQ = 261, tLSHIFT = 262, tRSHIFT = 263,
  tRRSHIFT = 264, tOR = 265, tAND = 266, tLEQ = 267,
  tGEQ = 268, tCCValue = 269, kBREAK = 258, kCASE = 259,
  kCATCH = 260, kCONTINUE = 261, kDEFAULT = 262, kDELETE = 263,
  kDO = 264, kELSE = 265, kFUNCTION = 266, kIF = 267,
  kFINALLY = 268, kFOR = 269, kGET = 270, kIN = 271,
  kSET = 272, kINSTANCEOF = 273, kNEW = 274, kNULL = 275,
  kRETURN = 276, kSWITCH = 277, kTHIS = 278, kTHROW = 279,
  kTRUE = 280, kFALSE = 281, kTRY = 282, kTYPEOF = 283,
  kVAR = 284, kVOID = 285, kWHILE = 286, kWITH = 287,
  tANDAND = 288, tOROR = 289, tINC = 290, tDEC = 291,
  tHTMLCOMMENT = 292, kDIVEQ = 293, kDCOL = 294, tIdentifier = 295,
  tAssignOper = 296, tEqOper = 297, tShiftOper = 298, tRelOper = 299,
  tNumericLiteral = 300, tBooleanLiteral = 301, tStringLiteral = 302, tEOF = 303,
  LOWER_THAN_ELSE = 304, kBREAK = 258, kCASE = 259, kCATCH = 260,
  kCONTINUE = 261, kDEFAULT = 262, kDELETE = 263, kDO = 264,
  kELSE = 265, kFUNCTION = 266, kIF = 267, kFINALLY = 268,
  kFOR = 269, kGET = 270, kIN = 271, kSET = 272,
  kINSTANCEOF = 273, kNEW = 274, kNULL = 275, kRETURN = 276,
  kSWITCH = 277, kTHIS = 278, kTHROW = 279, kTRUE = 280,
  kFALSE = 281, kTRY = 282, kTYPEOF = 283, kVAR = 284,
  kVOID = 285, kWHILE = 286, kWITH = 287, tANDAND = 288,
  tOROR = 289, tINC = 290, tDEC = 291, tHTMLCOMMENT = 292,
  kDIVEQ = 293, kDCOL = 294, tIdentifier = 295, tAssignOper = 296,
  tEqOper = 297, tShiftOper = 298, tRelOper = 299, tNumericLiteral = 300,
  tBooleanLiteral = 301, tStringLiteral = 302, tEOF = 303, LOWER_THAN_ELSE = 304,
  COND_SPACE = 258, COND_EOF = 259, COND_OR = 260, COND_AND = 261,
  COND_NOT = 262, COND_XOR = 263, COND_IMP = 264, COND_EQV = 265,
  COND_LT = 266, COND_GT = 267, COND_EQ = 268, COND_NE = 269,
  COND_GE = 270, COND_LE = 271, COND_ILT = 272, COND_IGT = 273,
  COND_IEQ = 274, COND_INE = 275, COND_IGE = 276, COND_ILE = 277,
  COND_LPAR = 278, COND_RPAR = 279, COND_TILDA = 280, COND_SS = 281,
  COND_ISS = 282, COND_ILHS = 283, COND_IRHS = 284, COND_LHS = 285,
  COND_RHS = 286, COND_PERCENT = 287, COND_DOLLARS = 288, COND_QUESTION = 289,
  COND_AMPER = 290, COND_EXCLAM = 291, COND_IDENT = 292, COND_NUMBER = 293,
  COND_LITER = 294, COND_ERROR = 295, TK_ALTER = 258, TK_AND = 259,
  TK_BY = 260, TK_CHAR = 261, TK_COMMA = 262, TK_CREATE = 263,
  TK_DELETE = 264, TK_DROP = 265, TK_DISTINCT = 266, TK_DOT = 267,
  TK_EQ = 268, TK_FREE = 269, TK_FROM = 270, TK_GE = 271,
  TK_GT = 272, TK_HOLD = 273, TK_ADD = 274, TK_ID = 275,
  TK_ILLEGAL = 276, TK_INSERT = 277, TK_INT = 278, TK_INTEGER = 279,
  TK_INTO = 280, TK_IS = 281, TK_KEY = 282, TK_LE = 283,
  TK_LONG = 284, TK_LONGCHAR = 285, TK_LP = 286, TK_LT = 287,
  TK_LOCALIZABLE = 288, TK_MINUS = 289, TK_NE = 290, TK_NOT = 291,
  TK_NULL = 292, TK_OBJECT = 293, TK_OR = 294, TK_ORDER = 295,
  TK_PRIMARY = 296, TK_RP = 297, TK_SELECT = 298, TK_SET = 299,
  TK_SHORT = 300, TK_SPACE = 301, TK_STAR = 302, TK_STRING = 303,
  TK_TABLE = 304, TK_TEMPORARY = 305, TK_UPDATE = 306, TK_VALUES = 307,
  TK_WHERE = 308, TK_WILDCARD = 309, END_OF_FILE = 310, ILLEGAL = 311,
  SPACE = 312, UNCLOSED_STRING = 313, COMMENT = 314, FUNCTION = 315,
  COLUMN = 316, TK_LIKE = 318, TK_NEGATION = 319, TK_ALTER = 258,
  TK_AND = 259, TK_BY = 260, TK_CHAR = 261, TK_COMMA = 262,
  TK_CREATE = 263, TK_DELETE = 264, TK_DROP = 265, TK_DISTINCT = 266,
  TK_DOT = 267, TK_EQ = 268, TK_FREE = 269, TK_FROM = 270,
  TK_GE = 271, TK_GT = 272, TK_HOLD = 273, TK_ADD = 274,
  TK_ID = 275, TK_ILLEGAL = 276, TK_INSERT = 277, TK_INT = 278,
  TK_INTEGER = 279, TK_INTO = 280, TK_IS = 281, TK_KEY = 282,
  TK_LE = 283, TK_LONG = 284, TK_LONGCHAR = 285, TK_LP = 286,
  TK_LT = 287, TK_LOCALIZABLE = 288, TK_MINUS = 289, TK_NE = 290,
  TK_NOT = 291, TK_NULL = 292, TK_OBJECT = 293, TK_OR = 294,
  TK_ORDER = 295, TK_PRIMARY = 296, TK_RP = 297, TK_SELECT = 298,
  TK_SET = 299, TK_SHORT = 300, TK_SPACE = 301, TK_STAR = 302,
  TK_STRING = 303, TK_TABLE = 304, TK_TEMPORARY = 305, TK_UPDATE = 306,
  TK_VALUES = 307, TK_WHERE = 308, TK_WILDCARD = 309, END_OF_FILE = 310,
  ILLEGAL = 311, SPACE = 312, UNCLOSED_STRING = 313, COMMENT = 314,
  FUNCTION = 315, COLUMN = 316, TK_LIKE = 318, TK_NEGATION = 319,
  TOK_Parent = 258, TOK_Self = 259, TOK_DblFSlash = 260, TOK_FSlash = 261,
  TOK_Axis = 262, TOK_Colon = 263, TOK_OpAnd = 264, TOK_OpOr = 265,
  TOK_OpNot = 266, TOK_OpEq = 267, TOK_OpIEq = 268, TOK_OpNEq = 269,
  TOK_OpINEq = 270, TOK_OpLt = 271, TOK_OpILt = 272, TOK_OpGt = 273,
  TOK_OpIGt = 274, TOK_OpLEq = 275, TOK_OpILEq = 276, TOK_OpGEq = 277,
  TOK_OpIGEq = 278, TOK_OpAll = 279, TOK_OpAny = 280, TOK_NCName = 281,
  TOK_Literal = 282, TOK_Number = 283, tEXPRESSION = 258, tEOF = 259,
  tNL = 260, tEMPTYBRACKETS = 261, tLTEQ = 262, tGTEQ = 263,
  tNEQ = 264, tSTOP = 265, tME = 266, tREM = 267,
  tTRUE = 268, tFALSE = 269, tNOT = 270, tAND = 271,
  tOR = 272, tXOR = 273, tEQV = 274, tIMP = 275,
  tIS = 276, tMOD = 277, tCALL = 278, tDIM = 279,
  tSUB = 280, tFUNCTION = 281, tGET = 282, tLET = 283,
  tCONST = 284, tIF = 285, tELSE = 286, tELSEIF = 287,
  tEND = 288, tTHEN = 289, tEXIT = 290, tWHILE = 291,
  tWEND = 292, tDO = 293, tLOOP = 294, tUNTIL = 295,
  tFOR = 296, tTO = 297, tEACH = 298, tIN = 299,
  tSELECT = 300, tCASE = 301, tBYREF = 302, tBYVAL = 303,
  tOPTION = 304, tNOTHING = 305, tEMPTY = 306, tNULL = 307,
  tCLASS = 308, tSET = 309, tNEW = 310, tPUBLIC = 311,
  tPRIVATE = 312, tNEXT = 313, tON = 314, tRESUME = 315,
  tGOTO = 316, tIdentifier = 317, tString = 318, tDEFAULT = 319,
  tERROR = 320, tEXPLICIT = 321, tPROPERTY = 322, tSTEP = 323,
  tInt = 324, tDouble = 325, tEXPRESSION = 258, tEOF = 259,
  tNL = 260, tEMPTYBRACKETS = 261, tLTEQ = 262, tGTEQ = 263,
  tNEQ = 264, tSTOP = 265, tME = 266, tREM = 267,
  tTRUE = 268, tFALSE = 269, tNOT = 270, tAND = 271,
  tOR = 272, tXOR = 273, tEQV = 274, tIMP = 275,
  tIS = 276, tMOD = 277, tCALL = 278, tDIM = 279,
  tSUB = 280, tFUNCTION = 281, tGET = 282, tLET = 283,
  tCONST = 284, tIF = 285, tELSE = 286, tELSEIF = 287,
  tEND = 288, tTHEN = 289, tEXIT = 290, tWHILE = 291,
  tWEND = 292, tDO = 293, tLOOP = 294, tUNTIL = 295,
  tFOR = 296, tTO = 297, tEACH = 298, tIN = 299,
  tSELECT = 300, tCASE = 301, tBYREF = 302, tBYVAL = 303,
  tOPTION = 304, tNOTHING = 305, tEMPTY = 306, tNULL = 307,
  tCLASS = 308, tSET = 309, tNEW = 310, tPUBLIC = 311,
  tPRIVATE = 312, tNEXT = 313, tON = 314, tRESUME = 315,
  tGOTO = 316, tIdentifier = 317, tString = 318, tDEFAULT = 319,
  tERROR = 320, tEXPLICIT = 321, tPROPERTY = 322, tSTEP = 323,
  tInt = 324, tDouble = 325, TK_SELECT = 258, TK_FROM = 259,
  TK_STAR = 260, TK_COMMA = 261, TK_DOT = 262, TK_IS = 263,
  TK_LP = 264, TK_RP = 265, TK_NULL = 266, TK_FALSE = 267,
  TK_TRUE = 268, TK_INTEGER = 269, TK_WHERE = 270, TK_SPACE = 271,
  TK_MINUS = 272, TK_ILLEGAL = 273, TK_BY = 274, TK_ASSOCIATORS = 275,
  TK_OF = 276, TK_STRING = 277, TK_ID = 278, TK_PATH = 279,
  TK_OR = 280, TK_AND = 281, TK_NOT = 282, TK_EQ = 283,
  TK_NE = 284, TK_LT = 285, TK_GT = 286, TK_LE = 287,
  TK_GE = 288, TK_LIKE = 289, TK_SELECT = 258, TK_FROM = 259,
  TK_STAR = 260, TK_COMMA = 261, TK_DOT = 262, TK_IS = 263,
  TK_LP = 264, TK_RP = 265, TK_NULL = 266, TK_FALSE = 267,
  TK_TRUE = 268, TK_INTEGER = 269, TK_WHERE = 270, TK_SPACE = 271,
  TK_MINUS = 272, TK_ILLEGAL = 273, TK_BY = 274, TK_ASSOCIATORS = 275,
  TK_OF = 276, TK_STRING = 277, TK_ID = 278, TK_PATH = 279,
  TK_OR = 280, TK_AND = 281, TK_NOT = 282, TK_EQ = 283,
  TK_NE = 284, TK_LT = 285, TK_GT = 286, TK_LE = 287,
  TK_GE = 288, TK_LIKE = 289, aIDENTIFIER = 258, aPRAGMA = 259,
  aKNOWNTYPE = 260, aNUM = 261, aHEXNUM = 262, aDOUBLE = 263,
  aSTRING = 264, aWSTRING = 265, aSQSTRING = 266, aUUID = 267,
  aEOF = 268, aACF = 269, SHL = 270, SHR = 271,
  MEMBERPTR = 272, EQUALITY = 273, INEQUALITY = 274, GREATEREQUAL = 275,
  LESSEQUAL = 276, LOGICALOR = 277, LOGICALAND = 278, ELLIPSIS = 279,
  tAGGREGATABLE = 280, tALLOCATE = 281, tANNOTATION = 282, tAPPOBJECT = 283,
  tASYNC = 284, tASYNCUUID = 285, tAUTOHANDLE = 286, tBINDABLE = 287,
  tBOOLEAN = 288, tBROADCAST = 289, tBYTE = 290, tBYTECOUNT = 291,
  tCALLAS = 292, tCALLBACK = 293, tCASE = 294, tCDECL = 295,
  tCHAR = 296, tCOCLASS = 297, tCODE = 298, tCOMMSTATUS = 299,
  tCONST = 300, tCONTEXTHANDLE = 301, tCONTEXTHANDLENOSERIALIZE = 302, tCONTEXTHANDLESERIALIZE = 303,
  tCONTROL = 304, tCPPQUOTE = 305, tDECODE = 306, tDEFAULT = 307,
  tDEFAULTBIND = 308, tDEFAULTCOLLELEM = 309, tDEFAULTVALUE = 310, tDEFAULTVTABLE = 311,
  tDISABLECONSISTENCYCHECK = 312, tDISPLAYBIND = 313, tDISPINTERFACE = 314, tDLLNAME = 315,
  tDOUBLE = 316, tDUAL = 317, tENABLEALLOCATE = 318, tENCODE = 319,
  tENDPOINT = 320, tENTRY = 321, tENUM = 322, tERRORSTATUST = 323,
  tEXPLICITHANDLE = 324, tEXTERN = 325, tFALSE = 326, tFASTCALL = 327,
  tFAULTSTATUS = 328, tFLOAT = 329, tFORCEALLOCATE = 330, tHANDLE = 331,
  tHANDLET = 332, tHELPCONTEXT = 333, tHELPFILE = 334, tHELPSTRING = 335,
  tHELPSTRINGCONTEXT = 336, tHELPSTRINGDLL = 337, tHIDDEN = 338, tHYPER = 339,
  tID = 340, tIDEMPOTENT = 341, tIGNORE = 342, tIIDIS = 343,
  tIMMEDIATEBIND = 344, tIMPLICITHANDLE = 345, tIMPORT = 346, tIMPORTLIB = 347,
  tIN = 348, tIN_LINE = 349, tINLINE = 350, tINPUTSYNC = 351,
  tINT = 352, tINT32 = 353, tINT3264 = 354, tINT64 = 355,
  tINTERFACE = 356, tLCID = 357, tLENGTHIS = 358, tLIBRARY = 359,
  tLICENSED = 360, tLOCAL = 361, tLONG = 362, tMAYBE = 363,
  tMESSAGE = 364, tMETHODS = 365, tMODULE = 366, tNAMESPACE = 367,
  tNOCODE = 368, tNONBROWSABLE = 369, tNONCREATABLE = 370, tNONEXTENSIBLE = 371,
  tNOTIFY = 372, tNOTIFYFLAG = 373, tNULL = 374, tOBJECT = 375,
  tODL = 376, tOLEAUTOMATION = 377, tOPTIMIZE = 378, tOPTIONAL = 379,
  tOUT = 380, tPARTIALIGNORE = 381, tPASCAL = 382, tPOINTERDEFAULT = 383,
  tPRAGMA_WARNING = 384, tPROGID = 385, tPROPERTIES = 386, tPROPGET = 387,
  tPROPPUT = 388, tPROPPUTREF = 389, tPROXY = 390, tPTR = 391,
  tPUBLIC = 392, tRANGE = 393, tREADONLY = 394, tREF = 395,
  tREGISTER = 396, tREPRESENTAS = 397, tREQUESTEDIT = 398, tRESTRICTED = 399,
  tRETVAL = 400, tSAFEARRAY = 401, tSHORT = 402, tSIGNED = 403,
  tSIZEIS = 404, tSIZEOF = 405, tSMALL = 406, tSOURCE = 407,
  tSTATIC = 408, tSTDCALL = 409, tSTRICTCONTEXTHANDLE = 410, tSTRING = 411,
  tSTRUCT = 412, tSWITCH = 413, tSWITCHIS = 414, tSWITCHTYPE = 415,
  tTHREADING = 416, tTRANSMITAS = 417, tTRUE = 418, tTYPEDEF = 419,
  tUIDEFAULT = 420, tUNION = 421, tUNIQUE = 422, tUNSIGNED = 423,
  tUSESGETLASTERROR = 424, tUSERMARSHAL = 425, tUUID = 426, tV1ENUM = 427,
  tVARARG = 428, tVERSION = 429, tVIPROGID = 430, tVOID = 431,
  tWCHAR = 432, tWIREMARSHAL = 433, tAPARTMENT = 434, tNEUTRAL = 435,
  tSINGLE = 436, tFREE = 437, tBOTH = 438, CAST = 439,
  PPTR = 440, POS = 441, NEG = 442, ADDRESSOF = 443,
  aIDENTIFIER = 258, aPRAGMA = 259, aKNOWNTYPE = 260, aNUM = 261,
  aHEXNUM = 262, aDOUBLE = 263, aSTRING = 264, aWSTRING = 265,
  aSQSTRING = 266, aUUID = 267, aEOF = 268, aACF = 269,
  SHL = 270, SHR = 271, MEMBERPTR = 272, EQUALITY = 273,
  INEQUALITY = 274, GREATEREQUAL = 275, LESSEQUAL = 276, LOGICALOR = 277,
  LOGICALAND = 278, ELLIPSIS = 279, tAGGREGATABLE = 280, tALLOCATE = 281,
  tANNOTATION = 282, tAPPOBJECT = 283, tASYNC = 284, tASYNCUUID = 285,
  tAUTOHANDLE = 286, tBINDABLE = 287, tBOOLEAN = 288, tBROADCAST = 289,
  tBYTE = 290, tBYTECOUNT = 291, tCALLAS = 292, tCALLBACK = 293,
  tCASE = 294, tCDECL = 295, tCHAR = 296, tCOCLASS = 297,
  tCODE = 298, tCOMMSTATUS = 299, tCONST = 300, tCONTEXTHANDLE = 301,
  tCONTEXTHANDLENOSERIALIZE = 302, tCONTEXTHANDLESERIALIZE = 303, tCONTROL = 304, tCPPQUOTE = 305,
  tDECODE = 306, tDEFAULT = 307, tDEFAULTBIND = 308, tDEFAULTCOLLELEM = 309,
  tDEFAULTVALUE = 310, tDEFAULTVTABLE = 311, tDISABLECONSISTENCYCHECK = 312, tDISPLAYBIND = 313,
  tDISPINTERFACE = 314, tDLLNAME = 315, tDOUBLE = 316, tDUAL = 317,
  tENABLEALLOCATE = 318, tENCODE = 319, tENDPOINT = 320, tENTRY = 321,
  tENUM = 322, tERRORSTATUST = 323, tEXPLICITHANDLE = 324, tEXTERN = 325,
  tFALSE = 326, tFASTCALL = 327, tFAULTSTATUS = 328, tFLOAT = 329,
  tFORCEALLOCATE = 330, tHANDLE = 331, tHANDLET = 332, tHELPCONTEXT = 333,
  tHELPFILE = 334, tHELPSTRING = 335, tHELPSTRINGCONTEXT = 336, tHELPSTRINGDLL = 337,
  tHIDDEN = 338, tHYPER = 339, tID = 340, tIDEMPOTENT = 341,
  tIGNORE = 342, tIIDIS = 343, tIMMEDIATEBIND = 344, tIMPLICITHANDLE = 345,
  tIMPORT = 346, tIMPORTLIB = 347, tIN = 348, tIN_LINE = 349,
  tINLINE = 350, tINPUTSYNC = 351, tINT = 352, tINT32 = 353,
  tINT3264 = 354, tINT64 = 355, tINTERFACE = 356, tLCID = 357,
  tLENGTHIS = 358, tLIBRARY = 359, tLICENSED = 360, tLOCAL = 361,
  tLONG = 362, tMAYBE = 363, tMESSAGE = 364, tMETHODS = 365,
  tMODULE = 366, tNAMESPACE = 367, tNOCODE = 368, tNONBROWSABLE = 369,
  tNONCREATABLE = 370, tNONEXTENSIBLE = 371, tNOTIFY = 372, tNOTIFYFLAG = 373,
  tNULL = 374, tOBJECT = 375, tODL = 376, tOLEAUTOMATION = 377,
  tOPTIMIZE = 378, tOPTIONAL = 379, tOUT = 380, tPARTIALIGNORE = 381,
  tPASCAL = 382, tPOINTERDEFAULT = 383, tPRAGMA_WARNING = 384, tPROGID = 385,
  tPROPERTIES = 386, tPROPGET = 387, tPROPPUT = 388, tPROPPUTREF = 389,
  tPROXY = 390, tPTR = 391, tPUBLIC = 392, tRANGE = 393,
  tREADONLY = 394, tREF = 395, tREGISTER = 396, tREPRESENTAS = 397,
  tREQUESTEDIT = 398, tRESTRICTED = 399, tRETVAL = 400, tSAFEARRAY = 401,
  tSHORT = 402, tSIGNED = 403, tSIZEIS = 404, tSIZEOF = 405,
  tSMALL = 406, tSOURCE = 407, tSTATIC = 408, tSTDCALL = 409,
  tSTRICTCONTEXTHANDLE = 410, tSTRING = 411, tSTRUCT = 412, tSWITCH = 413,
  tSWITCHIS = 414, tSWITCHTYPE = 415, tTHREADING = 416, tTRANSMITAS = 417,
  tTRUE = 418, tTYPEDEF = 419, tUIDEFAULT = 420, tUNION = 421,
  tUNIQUE = 422, tUNSIGNED = 423, tUSESGETLASTERROR = 424, tUSERMARSHAL = 425,
  tUUID = 426, tV1ENUM = 427, tVARARG = 428, tVERSION = 429,
  tVIPROGID = 430, tVOID = 431, tWCHAR = 432, tWIREMARSHAL = 433,
  tAPARTMENT = 434, tNEUTRAL = 435, tSINGLE = 436, tFREE = 437,
  tBOTH = 438, CAST = 439, PPTR = 440, POS = 441,
  NEG = 442, ADDRESSOF = 443, tRCINCLUDE = 258, tIF = 259,
  tIFDEF = 260, tIFNDEF = 261, tELSE = 262, tELIF = 263,
  tENDIF = 264, tDEFINED = 265, tNL = 266, tINCLUDE = 267,
  tLINE = 268, tGCCLINE = 269, tERROR = 270, tWARNING = 271,
  tPRAGMA = 272, tPPIDENT = 273, tUNDEF = 274, tMACROEND = 275,
  tCONCAT = 276, tELIPSIS = 277, tSTRINGIZE = 278, tIDENT = 279,
  tLITERAL = 280, tMACRO = 281, tDEFINE = 282, tDQSTRING = 283,
  tSQSTRING = 284, tIQSTRING = 285, tUINT = 286, tSINT = 287,
  tULONG = 288, tSLONG = 289, tULONGLONG = 290, tSLONGLONG = 291,
  tRCINCLUDEPATH = 292, tLOGOR = 293, tLOGAND = 294, tEQ = 295,
  tNE = 296, tLTE = 297, tGTE = 298, tLSHIFT = 299,
  tRSHIFT = 300, tRCINCLUDE = 258, tIF = 259, tIFDEF = 260,
  tIFNDEF = 261, tELSE = 262, tELIF = 263, tENDIF = 264,
  tDEFINED = 265, tNL = 266, tINCLUDE = 267, tLINE = 268,
  tGCCLINE = 269, tERROR = 270, tWARNING = 271, tPRAGMA = 272,
  tPPIDENT = 273, tUNDEF = 274, tMACROEND = 275, tCONCAT = 276,
  tELIPSIS = 277, tSTRINGIZE = 278, tIDENT = 279, tLITERAL = 280,
  tMACRO = 281, tDEFINE = 282, tDQSTRING = 283, tSQSTRING = 284,
  tIQSTRING = 285, tUINT = 286, tSINT = 287, tULONG = 288,
  tSLONG = 289, tULONGLONG = 290, tSLONGLONG = 291, tRCINCLUDEPATH = 292,
  tLOGOR = 293, tLOGAND = 294, tEQ = 295, tNE = 296,
  tLTE = 297, tGTE = 298, tLSHIFT = 299, tRSHIFT = 300
}
 

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (wbemprox)
 
static voidalloc_mem (struct parser *parser, UINT size)
 
static struct propertyalloc_property (struct parser *parser, const WCHAR *class, const WCHAR *name)
 
static struct keywordalloc_keyword (struct parser *parser, const WCHAR *name, const WCHAR *value)
 
static WCHARget_string (struct parser *parser, const struct string *str)
 
static WCHARget_path (struct parser *parser, const struct string *str)
 
static int get_int (struct parser *parser)
 
static struct exprexpr_complex (struct parser *parser, struct expr *l, UINT op, struct expr *r)
 
static struct exprexpr_unary (struct parser *parser, struct expr *l, UINT op)
 
static struct exprexpr_ival (struct parser *parser, int val)
 
static struct exprexpr_sval (struct parser *parser, const struct string *str)
 
static struct exprexpr_bval (struct parser *parser, int val)
 
static struct exprexpr_propval (struct parser *parser, const struct property *prop)
 
static int wql_error (struct parser *parser, const char *str)
 
static int wql_lex (void *val, struct parser *parser)
 
int wql_parse (struct parser *ctx)
 
voidmalloc (YYSIZE_T)
 
void free (void *)
 
static YYSIZE_T yystrlen (const char *yystr)
 
static charyystpcpy (char *yydest, const char *yysrc)
 
static YYSIZE_T yytnamerr (char *yyres, const char *yystr)
 
static int yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg, yytype_int16 *yyssp, int yytoken)
 
static void yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep, struct parser *ctx)
 
int yyparse (struct parser *ctx)
 
HRESULT parse_query (const WCHAR *str, struct view **view, struct list *mem)
 
static int __cdecl cmp_keyword (const void *arg1, const void *arg2)
 
static int keyword_type (const WCHAR *str, unsigned int len)
 
static int get_token (const WCHAR *s, int *token)
 

Variables

static const yytype_uint8 yytranslate []
 
static const char *const yytname []
 
static const yytype_int8 yypact []
 
static const yytype_uint8 yydefact []
 
static const yytype_int8 yypgoto []
 
static const yytype_int8 yydefgoto []
 
static const yytype_uint8 yytable []
 
static const yytype_uint8 yycheck []
 
static const yytype_uint8 yystos []
 
static const yytype_uint8 yyr1 []
 
static const yytype_uint8 yyr2 []
 
static const char id_char []
 
static const WCHAR andW [] = {'A','N','D'}
 
static const WCHAR associatorsW [] = {'A','S','S','O','C','I','A','T','O','R','S'}
 
static const WCHAR byW [] = {'B','Y'}
 
static const WCHAR falseW [] = {'F','A','L','S','E'}
 
static const WCHAR fromW [] = {'F','R','O','M'}
 
static const WCHAR isW [] = {'I','S'}
 
static const WCHAR likeW [] = {'L','I','K','E'}
 
static const WCHAR notW [] = {'N','O','T'}
 
static const WCHAR nullW [] = {'N','U','L','L'}
 
static const WCHAR ofW [] = {'O','F'}
 
static const WCHAR orW [] = {'O','R'}
 
static const WCHAR selectW [] = {'S','E','L','E','C','T'}
 
static const WCHAR trueW [] = {'T','R','U','E'}
 
static const WCHAR whereW [] = {'W','H','E','R','E'}
 
static const struct wql_keyword keyword_table []
 

Macro Definition Documentation

◆ MAX_TOKEN_LEN

#define MAX_TOKEN_LEN   11

Definition at line 2283 of file wql.tab.c.

◆ MIN_TOKEN_LEN

#define MIN_TOKEN_LEN   2

Definition at line 2282 of file wql.tab.c.

◆ PARSER_BUBBLE_UP_VIEW

#define PARSER_BUBBLE_UP_VIEW (   parser,
  result,
  current_view 
)
Value:
*parser->view = current_view; \
result = current_view
Definition: import.c:85
struct view ** view
Definition: wql.tab.c:114

Definition at line 285 of file wql.tab.c.

◆ YY_

#define YY_ (   Msgid)    Msgid

Definition at line 445 of file wql.tab.c.

◆ YY_ASSERT

#define YY_ASSERT (   E)    ((void) (0 && (E)))

Definition at line 494 of file wql.tab.c.

◆ YY_ATTRIBUTE

#define YY_ATTRIBUTE (   Spec)    /* empty */

Definition at line 455 of file wql.tab.c.

◆ YY_ATTRIBUTE_PURE

#define YY_ATTRIBUTE_PURE   YY_ATTRIBUTE ((__pure__))

Definition at line 460 of file wql.tab.c.

◆ YY_ATTRIBUTE_UNUSED

#define YY_ATTRIBUTE_UNUSED   YY_ATTRIBUTE ((__unused__))

Definition at line 464 of file wql.tab.c.

◆ YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN

#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN

Definition at line 486 of file wql.tab.c.

◆ YY_IGNORE_MAYBE_UNINITIALIZED_END

#define YY_IGNORE_MAYBE_UNINITIALIZED_END

Definition at line 487 of file wql.tab.c.

◆ YY_INITIAL_VALUE

#define YY_INITIAL_VALUE (   Value)    Value

Definition at line 483 of file wql.tab.c.

◆ YY_NULLPTR

#define YY_NULLPTR   ((void*)0)

Definition at line 300 of file wql.tab.c.

◆ YY_REDUCE_PRINT

#define YY_REDUCE_PRINT (   Rule)

Definition at line 1005 of file wql.tab.c.

◆ YY_STACK_PRINT

#define YY_STACK_PRINT (   Bottom,
  Top 
)

Definition at line 1004 of file wql.tab.c.

◆ YY_SYMBOL_PRINT

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

Definition at line 1003 of file wql.tab.c.

◆ YY_WQL_E_REACTOSSYNC_GCC_DLL_WIN32_WBEMPROX_WQL_TAB_H_INCLUDED

#define YY_WQL_E_REACTOSSYNC_GCC_DLL_WIN32_WBEMPROX_WQL_TAB_H_INCLUDED

Definition at line 315 of file wql.tab.c.

◆ YYABORT

#define YYABORT   goto yyabortlab

Definition at line 849 of file wql.tab.c.

◆ YYACCEPT

#define YYACCEPT   goto yyacceptlab

Definition at line 848 of file wql.tab.c.

◆ YYBACKUP

#define YYBACKUP (   Token,
  Value 
)
Value:
{ \
yychar = (Token); \
yylval = (Value); \
YYPOPSTACK (yylen); \
yystate = *yyssp; \
goto yybackup; \
} \
else \
{ \
yyerror (ctx, YY_("syntax error: cannot back up")); \
YYERROR; \
} \
while (0)
_In_opt_ ULONG _Out_ PULONG Value
Definition: rtlfuncs.h:2374
#define yychar
Definition: asmshader.tab.c:74
_IRQL_requires_same_ _In_ PLSA_STRING _In_ SECURITY_LOGON_TYPE _In_ ULONG _In_ ULONG _In_opt_ PTOKEN_GROUPS _In_ PTOKEN_SOURCE _Out_ PVOID _Out_ PULONG _Inout_ PLUID _Out_ PHANDLE Token
#define YY_(Msgid)
Definition: wql.tab.c:445
#define YYEMPTY
Definition: wql.tab.c:845
if(!(yy_init))
Definition: macro.lex.yy.c:714

Definition at line 855 of file wql.tab.c.

◆ YYBISON

#define YYBISON   1

Definition at line 48 of file wql.tab.c.

◆ YYBISON_VERSION

#define YYBISON_VERSION   "3.4.1"

Definition at line 51 of file wql.tab.c.

◆ YYCASE_

#define YYCASE_ (   N,
  S 
)
Value:
case N: \
yyformat = S; \
break
#define S(x)
Definition: test.h:206

◆ yyclearin

#define yyclearin   (yychar = YYEMPTY)

Definition at line 844 of file wql.tab.c.

◆ YYCOPY

#define YYCOPY (   Dst,
  Src,
  Count 
)
Value:
do \
{ \
YYSIZE_T yyi; \
for (yyi = 0; yyi < (Count); yyi++) \
(Dst)[yyi] = (Src)[yyi]; \
} \
while (0)
_Inout_ __drv_aliasesMem PSLIST_ENTRY _Inout_ PSLIST_ENTRY _In_ ULONG Count
Definition: exfuncs.h:1015
#define Dst
Definition: mesh.h:153

Definition at line 612 of file wql.tab.c.

◆ YYCOPY_NEEDED

#define YYCOPY_NEEDED   1

Definition at line 584 of file wql.tab.c.

◆ yydebug

#define yydebug   wql_debug

Definition at line 70 of file wql.tab.c.

◆ YYDEBUG

#define YYDEBUG   0

Definition at line 318 of file wql.tab.c.

◆ YYDPRINTF

#define YYDPRINTF (   Args)

Definition at line 1002 of file wql.tab.c.

◆ YYEMPTY

#define YYEMPTY   (-2)

Definition at line 845 of file wql.tab.c.

◆ YYEOF

#define YYEOF   0

Definition at line 846 of file wql.tab.c.

◆ YYERRCODE

#define YYERRCODE   256

Definition at line 874 of file wql.tab.c.

◆ yyerrok

#define yyerrok   (yyerrstatus = 0)

Definition at line 843 of file wql.tab.c.

◆ yyerror

#define yyerror   wql_error

Definition at line 69 of file wql.tab.c.

◆ YYERROR

#define YYERROR   goto yyerrorlab

Definition at line 850 of file wql.tab.c.

◆ YYERROR_VERBOSE

#define YYERROR_VERBOSE   1

Definition at line 309 of file wql.tab.c.

◆ YYFINAL

#define YYFINAL   13

Definition at line 625 of file wql.tab.c.

◆ YYFREE

#define YYFREE   free

Definition at line 555 of file wql.tab.c.

◆ YYINITDEPTH

#define YYINITDEPTH   200

Definition at line 1011 of file wql.tab.c.

◆ YYLAST

#define YYLAST   91

Definition at line 627 of file wql.tab.c.

◆ yylex

#define yylex   wql_lex

Definition at line 68 of file wql.tab.c.

◆ YYMALLOC

#define YYMALLOC   malloc

Definition at line 549 of file wql.tab.c.

◆ YYMAXDEPTH

#define YYMAXDEPTH   10000

Definition at line 1022 of file wql.tab.c.

◆ YYMAXUTOK

#define YYMAXUTOK   289

Definition at line 639 of file wql.tab.c.

◆ yynerrs

#define yynerrs   wql_nerrs

Definition at line 71 of file wql.tab.c.

◆ YYNNTS

#define YYNNTS   15

Definition at line 632 of file wql.tab.c.

◆ YYNRULES

#define YYNRULES   49

Definition at line 634 of file wql.tab.c.

◆ YYNSTATES

#define YYNSTATES   87

Definition at line 636 of file wql.tab.c.

◆ YYNTOKENS

#define YYNTOKENS   35

Definition at line 630 of file wql.tab.c.

◆ YYPACT_NINF

#define YYPACT_NINF   -25

Definition at line 721 of file wql.tab.c.

◆ yypact_value_is_default

#define yypact_value_is_default (   Yystate)    (!!((Yystate) == (-25)))

Definition at line 723 of file wql.tab.c.

◆ yyparse

#define yyparse   wql_parse

Definition at line 67 of file wql.tab.c.

◆ YYPOPSTACK

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

◆ YYPULL

#define YYPULL   1

Definition at line 63 of file wql.tab.c.

◆ YYPURE

#define YYPURE   1

Definition at line 57 of file wql.tab.c.

◆ YYPUSH

#define YYPUSH   0

Definition at line 60 of file wql.tab.c.

◆ YYRECOVERING

#define YYRECOVERING ( )    (!!yyerrstatus)

Definition at line 853 of file wql.tab.c.

◆ YYSIZE_MAXIMUM

#define YYSIZE_MAXIMUM   ((YYSIZE_T) -1)

Definition at line 435 of file wql.tab.c.

◆ YYSIZE_T

#define YYSIZE_T   size_t

Definition at line 429 of file wql.tab.c.

◆ YYSKELETON_NAME

#define YYSKELETON_NAME   "yacc.c"

Definition at line 54 of file wql.tab.c.

◆ YYSTACK_ALLOC

#define YYSTACK_ALLOC   YYMALLOC

Definition at line 535 of file wql.tab.c.

◆ YYSTACK_ALLOC_MAXIMUM

#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM

Definition at line 538 of file wql.tab.c.

◆ YYSTACK_BYTES

#define YYSTACK_BYTES (   N)
Value:
((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \
short yytype_int16
union YYSTYPE YYSTYPE
Definition: wql.tab.c:381
#define YYSTACK_GAP_MAXIMUM
Definition: wql.tab.c:576

Definition at line 580 of file wql.tab.c.

◆ YYSTACK_FREE

#define YYSTACK_FREE   YYFREE

Definition at line 536 of file wql.tab.c.

◆ YYSTACK_GAP_MAXIMUM

#define YYSTACK_GAP_MAXIMUM   (sizeof (union yyalloc) - 1)

Definition at line 576 of file wql.tab.c.

◆ YYSTACK_RELOCATE

#define YYSTACK_RELOCATE (   Stack_alloc,
  Stack 
)
Value:
do \
{ \
YYSIZE_T yynewbytes; \
YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \
Stack = &yyptr->Stack_alloc; \
yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
yyptr += yynewbytes / sizeof (*yyptr); \
} \
while (0)
#define YYSTACK_GAP_MAXIMUM
Definition: wql.tab.c:576

Definition at line 591 of file wql.tab.c.

◆ YYSTYPE_IS_DECLARED

#define YYSTYPE_IS_DECLARED   1

Definition at line 383 of file wql.tab.c.

◆ YYSTYPE_IS_TRIVIAL

#define YYSTYPE_IS_TRIVIAL   1

Definition at line 382 of file wql.tab.c.

◆ YYSYNTAX_ERROR

#define YYSYNTAX_ERROR
Value:
yysyntax_error (&yymsg_alloc, &yymsg, \
yyssp, yytoken)
static int yysyntax_error(YYSIZE_T *yymsg_alloc, char **yymsg, yytype_int16 *yyssp, int yytoken)
Definition: wql.tab.c:1124

◆ YYTABLE_NINF

#define YYTABLE_NINF   -1

Definition at line 726 of file wql.tab.c.

◆ yytable_value_is_error

#define yytable_value_is_error (   Yytable_value)    0

Definition at line 728 of file wql.tab.c.

◆ YYTERROR

#define YYTERROR   1

Definition at line 873 of file wql.tab.c.

◆ YYTOKENTYPE

#define YYTOKENTYPE

Definition at line 326 of file wql.tab.c.

◆ YYTRANSLATE

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

Definition at line 643 of file wql.tab.c.

◆ YYUNDEFTOK

#define YYUNDEFTOK   2

Definition at line 638 of file wql.tab.c.

◆ YYUSE

#define YYUSE (   E)    ((void) (E))

Definition at line 469 of file wql.tab.c.

Typedef Documentation

◆ YYSTYPE

typedef union YYSTYPE YYSTYPE

Definition at line 381 of file wql.tab.c.

◆ yytype_int16

Definition at line 419 of file wql.tab.c.

◆ yytype_int8

Definition at line 407 of file wql.tab.c.

◆ yytype_uint16

Definition at line 413 of file wql.tab.c.

◆ yytype_uint8

Definition at line 401 of file wql.tab.c.

Enumeration Type Documentation

◆ yytokentype

Enumerator
INSTR_ADD 
INSTR_NOP 
INSTR_MOV 
INSTR_SUB 
INSTR_MAD 
INSTR_MUL 
INSTR_RCP 
INSTR_RSQ 
INSTR_DP3 
INSTR_DP4 
INSTR_MIN 
INSTR_MAX 
INSTR_SLT 
INSTR_SGE 
INSTR_ABS 
INSTR_EXP 
INSTR_LOG 
INSTR_EXPP 
INSTR_LOGP 
INSTR_DST 
INSTR_LRP 
INSTR_FRC 
INSTR_POW 
INSTR_CRS 
INSTR_SGN 
INSTR_NRM 
INSTR_SINCOS 
INSTR_M4x4 
INSTR_M4x3 
INSTR_M3x4 
INSTR_M3x3 
INSTR_M3x2 
INSTR_DCL 
INSTR_DEF 
INSTR_DEFB 
INSTR_DEFI 
INSTR_REP 
INSTR_ENDREP 
INSTR_IF 
INSTR_ELSE 
INSTR_ENDIF 
INSTR_BREAK 
INSTR_BREAKP 
INSTR_CALL 
INSTR_CALLNZ 
INSTR_LOOP 
INSTR_RET 
INSTR_ENDLOOP 
INSTR_LABEL 
INSTR_SETP 
INSTR_TEXLDL 
INSTR_LIT 
INSTR_MOVA 
INSTR_CND 
INSTR_CMP 
INSTR_DP2ADD 
INSTR_TEXCOORD 
INSTR_TEXCRD 
INSTR_TEXKILL 
INSTR_TEX 
INSTR_TEXLD 
INSTR_TEXBEM 
INSTR_TEXBEML 
INSTR_TEXREG2AR 
INSTR_TEXREG2GB 
INSTR_TEXREG2RGB 
INSTR_TEXM3x2PAD 
INSTR_TEXM3x2TEX 
INSTR_TEXM3x3PAD 
INSTR_TEXM3x3SPEC 
INSTR_TEXM3x3VSPEC 
INSTR_TEXM3x3TEX 
INSTR_TEXDP3TEX 
INSTR_TEXM3x2DEPTH 
INSTR_TEXDP3 
INSTR_TEXM3x3 
INSTR_TEXDEPTH 
INSTR_BEM 
INSTR_DSX 
INSTR_DSY 
INSTR_TEXLDP 
INSTR_TEXLDB 
INSTR_TEXLDD 
INSTR_PHASE 
REG_TEMP 
REG_OUTPUT 
REG_INPUT 
REG_CONSTFLOAT 
REG_CONSTINT 
REG_CONSTBOOL 
REG_TEXTURE 
REG_SAMPLER 
REG_TEXCRDOUT 
REG_OPOS 
REG_OFOG 
REG_OPTS 
REG_VERTEXCOLOR 
REG_FRAGCOLOR 
REG_FRAGDEPTH 
REG_VPOS 
REG_VFACE 
REG_ADDRESS 
REG_LOOP 
REG_PREDICATE 
REG_LABEL 
VER_VS10 
VER_VS11 
VER_VS20 
VER_VS2X 
VER_VS30 
VER_PS10 
VER_PS11 
VER_PS12 
VER_PS13 
VER_PS14 
VER_PS20 
VER_PS2X 
VER_PS30 
SHIFT_X2 
SHIFT_X4 
SHIFT_X8 
SHIFT_D2 
SHIFT_D4 
SHIFT_D8 
MOD_SAT 
MOD_PP 
MOD_CENTROID 
COMP_GT 
COMP_LT 
COMP_GE 
COMP_LE 
COMP_EQ 
COMP_NE 
SMOD_BIAS 
SMOD_SCALEBIAS 
SMOD_DZ 
SMOD_DW 
SMOD_ABS 
SMOD_NOT 
SAMPTYPE_1D 
SAMPTYPE_2D 
SAMPTYPE_CUBE 
SAMPTYPE_VOLUME 
USAGE_POSITION 
USAGE_BLENDWEIGHT 
USAGE_BLENDINDICES 
USAGE_NORMAL 
USAGE_PSIZE 
USAGE_TEXCOORD 
USAGE_TANGENT 
USAGE_BINORMAL 
USAGE_TESSFACTOR 
USAGE_POSITIONT 
USAGE_COLOR 
USAGE_FOG 
USAGE_DEPTH 
USAGE_SAMPLE 
COMPONENT 
IMMVAL 
IMMBOOL 
INSTR_ADD 
INSTR_NOP 
INSTR_MOV 
INSTR_SUB 
INSTR_MAD 
INSTR_MUL 
INSTR_RCP 
INSTR_RSQ 
INSTR_DP3 
INSTR_DP4 
INSTR_MIN 
INSTR_MAX 
INSTR_SLT 
INSTR_SGE 
INSTR_ABS 
INSTR_EXP 
INSTR_LOG 
INSTR_EXPP 
INSTR_LOGP 
INSTR_DST 
INSTR_LRP 
INSTR_FRC 
INSTR_POW 
INSTR_CRS 
INSTR_SGN 
INSTR_NRM 
INSTR_SINCOS 
INSTR_M4x4 
INSTR_M4x3 
INSTR_M3x4 
INSTR_M3x3 
INSTR_M3x2 
INSTR_DCL 
INSTR_DEF 
INSTR_DEFB 
INSTR_DEFI 
INSTR_REP 
INSTR_ENDREP 
INSTR_IF 
INSTR_ELSE 
INSTR_ENDIF 
INSTR_BREAK 
INSTR_BREAKP 
INSTR_CALL 
INSTR_CALLNZ 
INSTR_LOOP 
INSTR_RET 
INSTR_ENDLOOP 
INSTR_LABEL 
INSTR_SETP 
INSTR_TEXLDL 
INSTR_LIT 
INSTR_MOVA 
INSTR_CND 
INSTR_CMP 
INSTR_DP2ADD 
INSTR_TEXCOORD 
INSTR_TEXCRD 
INSTR_TEXKILL 
INSTR_TEX 
INSTR_TEXLD 
INSTR_TEXBEM 
INSTR_TEXBEML 
INSTR_TEXREG2AR 
INSTR_TEXREG2GB 
INSTR_TEXREG2RGB 
INSTR_TEXM3x2PAD 
INSTR_TEXM3x2TEX 
INSTR_TEXM3x3PAD 
INSTR_TEXM3x3SPEC 
INSTR_TEXM3x3VSPEC 
INSTR_TEXM3x3TEX 
INSTR_TEXDP3TEX 
INSTR_TEXM3x2DEPTH 
INSTR_TEXDP3 
INSTR_TEXM3x3 
INSTR_TEXDEPTH 
INSTR_BEM 
INSTR_DSX 
INSTR_DSY 
INSTR_TEXLDP 
INSTR_TEXLDB 
INSTR_TEXLDD 
INSTR_PHASE 
REG_TEMP 
REG_OUTPUT 
REG_INPUT 
REG_CONSTFLOAT 
REG_CONSTINT 
REG_CONSTBOOL 
REG_TEXTURE 
REG_SAMPLER 
REG_TEXCRDOUT 
REG_OPOS 
REG_OFOG 
REG_OPTS 
REG_VERTEXCOLOR 
REG_FRAGCOLOR 
REG_FRAGDEPTH 
REG_VPOS 
REG_VFACE 
REG_ADDRESS 
REG_LOOP 
REG_PREDICATE 
REG_LABEL 
VER_VS10 
VER_VS11 
VER_VS20 
VER_VS2X 
VER_VS30 
VER_PS10 
VER_PS11 
VER_PS12 
VER_PS13 
VER_PS14 
VER_PS20 
VER_PS2X 
VER_PS30 
SHIFT_X2 
SHIFT_X4 
SHIFT_X8 
SHIFT_D2 
SHIFT_D4 
SHIFT_D8 
MOD_SAT 
MOD_PP 
MOD_CENTROID 
COMP_GT 
COMP_LT 
COMP_GE 
COMP_LE 
COMP_EQ 
COMP_NE 
SMOD_BIAS 
SMOD_SCALEBIAS 
SMOD_DZ 
SMOD_DW 
SMOD_ABS 
SMOD_NOT 
SAMPTYPE_1D 
SAMPTYPE_2D 
SAMPTYPE_CUBE 
SAMPTYPE_VOLUME 
USAGE_POSITION 
USAGE_BLENDWEIGHT 
USAGE_BLENDINDICES 
USAGE_NORMAL 
USAGE_PSIZE 
USAGE_TEXCOORD 
USAGE_TANGENT 
USAGE_BINORMAL 
USAGE_TESSFACTOR 
USAGE_POSITIONT 
USAGE_COLOR 
USAGE_FOG 
USAGE_DEPTH 
USAGE_SAMPLE 
COMPONENT 
IMMVAL 
IMMBOOL 
KW_BLENDSTATE 
KW_BREAK 
KW_BUFFER 
KW_CBUFFER 
KW_COLUMN_MAJOR 
KW_COMPILE 
KW_CONST 
KW_CONTINUE 
KW_DEPTHSTENCILSTATE 
KW_DEPTHSTENCILVIEW 
KW_DISCARD 
KW_DO 
KW_DOUBLE 
KW_ELSE 
KW_EXTERN 
KW_FALSE 
KW_FOR 
KW_GEOMETRYSHADER 
KW_GROUPSHARED 
KW_IF 
KW_IN 
KW_INLINE 
KW_INOUT 
KW_MATRIX 
KW_NAMESPACE 
KW_NOINTERPOLATION 
KW_OUT 
KW_PASS 
KW_PIXELSHADER 
KW_PRECISE 
KW_RASTERIZERSTATE 
KW_RENDERTARGETVIEW 
KW_RETURN 
KW_REGISTER 
KW_ROW_MAJOR 
KW_SAMPLER 
KW_SAMPLER1D 
KW_SAMPLER2D 
KW_SAMPLER3D 
KW_SAMPLERCUBE 
KW_SAMPLER_STATE 
KW_SAMPLERCOMPARISONSTATE 
KW_SHARED 
KW_STATEBLOCK 
KW_STATEBLOCK_STATE 
KW_STATIC 
KW_STRING 
KW_STRUCT 
KW_SWITCH 
KW_TBUFFER 
KW_TECHNIQUE 
KW_TECHNIQUE10 
KW_TEXTURE 
KW_TEXTURE1D 
KW_TEXTURE1DARRAY 
KW_TEXTURE2D 
KW_TEXTURE2DARRAY 
KW_TEXTURE2DMS 
KW_TEXTURE2DMSARRAY 
KW_TEXTURE3D 
KW_TEXTURE3DARRAY 
KW_TEXTURECUBE 
KW_TRUE 
KW_TYPEDEF 
KW_UNIFORM 
KW_VECTOR 
KW_VERTEXSHADER 
KW_VOID 
KW_VOLATILE 
KW_WHILE 
OP_INC 
OP_DEC 
OP_AND 
OP_OR 
OP_EQ 
OP_LEFTSHIFT 
OP_LEFTSHIFTASSIGN 
OP_RIGHTSHIFT 
OP_RIGHTSHIFTASSIGN 
OP_ELLIPSIS 
OP_LE 
OP_GE 
OP_NE 
OP_ADDASSIGN 
OP_SUBASSIGN 
OP_MULASSIGN 
OP_DIVASSIGN 
OP_MODASSIGN 
OP_ANDASSIGN 
OP_ORASSIGN 
OP_XORASSIGN 
OP_UNKNOWN1 
OP_UNKNOWN2 
OP_UNKNOWN3 
OP_UNKNOWN4 
PRE_LINE 
VAR_IDENTIFIER 
TYPE_IDENTIFIER 
NEW_IDENTIFIER 
STRING 
C_FLOAT 
C_INTEGER 
KW_BLENDSTATE 
KW_BREAK 
KW_BUFFER 
KW_CBUFFER 
KW_COLUMN_MAJOR 
KW_COMPILE 
KW_CONST 
KW_CONTINUE 
KW_DEPTHSTENCILSTATE 
KW_DEPTHSTENCILVIEW 
KW_DISCARD 
KW_DO 
KW_DOUBLE 
KW_ELSE 
KW_EXTERN 
KW_FALSE 
KW_FOR 
KW_GEOMETRYSHADER 
KW_GROUPSHARED 
KW_IF 
KW_IN 
KW_INLINE 
KW_INOUT 
KW_MATRIX 
KW_NAMESPACE 
KW_NOINTERPOLATION 
KW_OUT 
KW_PASS 
KW_PIXELSHADER 
KW_PRECISE 
KW_RASTERIZERSTATE 
KW_RENDERTARGETVIEW 
KW_RETURN 
KW_REGISTER 
KW_ROW_MAJOR 
KW_SAMPLER 
KW_SAMPLER1D 
KW_SAMPLER2D 
KW_SAMPLER3D 
KW_SAMPLERCUBE 
KW_SAMPLER_STATE 
KW_SAMPLERCOMPARISONSTATE 
KW_SHARED 
KW_STATEBLOCK 
KW_STATEBLOCK_STATE 
KW_STATIC 
KW_STRING 
KW_STRUCT 
KW_SWITCH 
KW_TBUFFER 
KW_TECHNIQUE 
KW_TECHNIQUE10 
KW_TEXTURE 
KW_TEXTURE1D 
KW_TEXTURE1DARRAY 
KW_TEXTURE2D 
KW_TEXTURE2DARRAY 
KW_TEXTURE2DMS 
KW_TEXTURE2DMSARRAY 
KW_TEXTURE3D 
KW_TEXTURE3DARRAY 
KW_TEXTURECUBE 
KW_TRUE 
KW_TYPEDEF 
KW_UNIFORM 
KW_VECTOR 
KW_VERTEXSHADER 
KW_VOID 
KW_VOLATILE 
KW_WHILE 
OP_INC 
OP_DEC 
OP_AND 
OP_OR 
OP_EQ 
OP_LEFTSHIFT 
OP_LEFTSHIFTASSIGN 
OP_RIGHTSHIFT 
OP_RIGHTSHIFTASSIGN 
OP_ELLIPSIS 
OP_LE 
OP_GE 
OP_NE 
OP_ADDASSIGN 
OP_SUBASSIGN 
OP_MULASSIGN 
OP_DIVASSIGN 
OP_MODASSIGN 
OP_ANDASSIGN 
OP_ORASSIGN 
OP_XORASSIGN 
OP_UNKNOWN1 
OP_UNKNOWN2 
OP_UNKNOWN3 
OP_UNKNOWN4 
PRE_LINE 
VAR_IDENTIFIER 
TYPE_IDENTIFIER 
NEW_IDENTIFIER 
STRING 
C_FLOAT 
C_INTEGER 
tRCINCLUDE 
tIF 
tIFDEF 
tIFNDEF 
tELSE 
tELIF 
tENDIF 
tDEFINED 
tNL 
tINCLUDE 
tLINE 
tGCCLINE 
tERROR 
tWARNING 
tPRAGMA 
tPPIDENT 
tUNDEF 
tMACROEND 
tCONCAT 
tELIPSIS 
tSTRINGIZE 
tIDENT 
tLITERAL 
tMACRO 
tDEFINE 
tDQSTRING 
tSQSTRING 
tIQSTRING 
tUINT 
tSINT 
tULONG 
tSLONG 
tULONGLONG 
tSLONGLONG 
tRCINCLUDEPATH 
tLOGOR 
tLOGAND 
tEQ 
tNE 
tLTE 
tGTE 
tLSHIFT 
tRSHIFT 
tRCINCLUDE 
tIF 
tIFDEF 
tIFNDEF 
tELSE 
tELIF 
tENDIF 
tDEFINED 
tNL 
tINCLUDE 
tLINE 
tGCCLINE 
tERROR 
tWARNING 
tPRAGMA 
tPPIDENT 
tUNDEF 
tMACROEND 
tCONCAT 
tELIPSIS 
tSTRINGIZE 
tIDENT 
tLITERAL 
tMACRO 
tDEFINE 
tDQSTRING 
tSQSTRING 
tIQSTRING 
tUINT 
tSINT 
tULONG 
tSLONG 
tULONGLONG 
tSLONGLONG 
tRCINCLUDEPATH 
tLOGOR 
tLOGAND 
tEQ 
tNE 
tLTE 
tGTE 
tLSHIFT 
tRSHIFT 
tEQ 
tEQEQ 
tNEQ 
tNEQEQ 
tLSHIFT 
tRSHIFT 
tRRSHIFT 
tOR 
tAND 
tLEQ 
tGEQ 
tCCValue 
tEQ 
tEQEQ 
tNEQ 
tNEQEQ 
tLSHIFT 
tRSHIFT 
tRRSHIFT 
tOR 
tAND 
tLEQ 
tGEQ 
tCCValue 
kBREAK 
kCASE 
kCATCH 
kCONTINUE 
kDEFAULT 
kDELETE 
kDO 
kELSE 
kFUNCTION 
kIF 
kFINALLY 
kFOR 
kGET 
kIN 
kSET 
kINSTANCEOF 
kNEW 
kNULL 
kRETURN 
kSWITCH 
kTHIS 
kTHROW 
kTRUE 
kFALSE 
kTRY 
kTYPEOF 
kVAR 
kVOID 
kWHILE 
kWITH 
tANDAND 
tOROR 
tINC 
tDEC 
tHTMLCOMMENT 
kDIVEQ 
kDCOL 
tIdentifier 
tAssignOper 
tEqOper 
tShiftOper 
tRelOper 
tNumericLiteral 
tBooleanLiteral 
tStringLiteral 
tEOF 
LOWER_THAN_ELSE 
kBREAK 
kCASE 
kCATCH 
kCONTINUE 
kDEFAULT 
kDELETE 
kDO 
kELSE 
kFUNCTION 
kIF 
kFINALLY 
kFOR 
kGET 
kIN 
kSET 
kINSTANCEOF 
kNEW 
kNULL 
kRETURN 
kSWITCH 
kTHIS 
kTHROW 
kTRUE 
kFALSE 
kTRY 
kTYPEOF 
kVAR 
kVOID 
kWHILE 
kWITH 
tANDAND 
tOROR 
tINC 
tDEC 
tHTMLCOMMENT 
kDIVEQ 
kDCOL 
tIdentifier 
tAssignOper 
tEqOper 
tShiftOper 
tRelOper 
tNumericLiteral 
tBooleanLiteral 
tStringLiteral 
tEOF 
LOWER_THAN_ELSE 
COND_SPACE 
COND_EOF 
COND_OR 
COND_AND 
COND_NOT 
COND_XOR 
COND_IMP 
COND_EQV 
COND_LT 
COND_GT 
COND_EQ 
COND_NE 
COND_GE 
COND_LE 
COND_ILT 
COND_IGT 
COND_IEQ 
COND_INE 
COND_IGE 
COND_ILE 
COND_LPAR 
COND_RPAR 
COND_TILDA 
COND_SS 
COND_ISS 
COND_ILHS 
COND_IRHS 
COND_LHS 
COND_RHS 
COND_PERCENT 
COND_DOLLARS 
COND_QUESTION 
COND_AMPER 
COND_EXCLAM 
COND_IDENT 
COND_NUMBER 
COND_LITER 
COND_ERROR 
TK_ALTER 
TK_AND 
TK_BY 
TK_CHAR 
TK_COMMA 
TK_CREATE 
TK_DELETE 
TK_DROP 
TK_DISTINCT 
TK_DOT 
TK_EQ 
TK_FREE 
TK_FROM 
TK_GE 
TK_GT 
TK_HOLD 
TK_ADD 
TK_ID 
TK_ILLEGAL 
TK_INSERT 
TK_INT 
TK_INTEGER 
TK_INTO 
TK_IS 
TK_KEY 
TK_LE 
TK_LONG 
TK_LONGCHAR 
TK_LP 
TK_LT 
TK_LOCALIZABLE 
TK_MINUS 
TK_NE 
TK_NOT 
TK_NULL 
TK_OBJECT 
TK_OR 
TK_ORDER 
TK_PRIMARY 
TK_RP 
TK_SELECT 
TK_SET 
TK_SHORT 
TK_SPACE 
TK_STAR 
TK_STRING 
TK_TABLE 
TK_TEMPORARY 
TK_UPDATE 
TK_VALUES 
TK_WHERE 
TK_WILDCARD 
END_OF_FILE 
ILLEGAL 
SPACE 
UNCLOSED_STRING 
COMMENT 
FUNCTION 
COLUMN 
TK_LIKE 
TK_NEGATION 
TK_ALTER 
TK_AND 
TK_BY 
TK_CHAR 
TK_COMMA 
TK_CREATE 
TK_DELETE 
TK_DROP 
TK_DISTINCT 
TK_DOT 
TK_EQ 
TK_FREE 
TK_FROM 
TK_GE 
TK_GT 
TK_HOLD 
TK_ADD 
TK_ID 
TK_ILLEGAL 
TK_INSERT 
TK_INT 
TK_INTEGER 
TK_INTO 
TK_IS 
TK_KEY 
TK_LE 
TK_LONG 
TK_LONGCHAR 
TK_LP 
TK_LT 
TK_LOCALIZABLE 
TK_MINUS 
TK_NE 
TK_NOT 
TK_NULL 
TK_OBJECT 
TK_OR 
TK_ORDER 
TK_PRIMARY 
TK_RP 
TK_SELECT 
TK_SET 
TK_SHORT 
TK_SPACE 
TK_STAR 
TK_STRING 
TK_TABLE 
TK_TEMPORARY 
TK_UPDATE 
TK_VALUES 
TK_WHERE 
TK_WILDCARD 
END_OF_FILE 
ILLEGAL 
SPACE 
UNCLOSED_STRING 
COMMENT 
FUNCTION 
COLUMN 
TK_LIKE 
TK_NEGATION 
TOK_Parent 
TOK_Self 
TOK_DblFSlash 
TOK_FSlash 
TOK_Axis 
TOK_Colon 
TOK_OpAnd 
TOK_OpOr 
TOK_OpNot 
TOK_OpEq 
TOK_OpIEq 
TOK_OpNEq 
TOK_OpINEq 
TOK_OpLt 
TOK_OpILt 
TOK_OpGt 
TOK_OpIGt 
TOK_OpLEq 
TOK_OpILEq 
TOK_OpGEq 
TOK_OpIGEq 
TOK_OpAll 
TOK_OpAny 
TOK_NCName 
TOK_Literal 
TOK_Number 
tEXPRESSION 
tEOF 
tNL 
tEMPTYBRACKETS 
tLTEQ 
tGTEQ 
tNEQ 
tSTOP 
tME 
tREM 
tTRUE 
tFALSE 
tNOT 
tAND 
tOR 
tXOR 
tEQV 
tIMP 
tIS 
tMOD 
tCALL 
tDIM 
tSUB 
tFUNCTION 
tGET 
tLET 
tCONST 
tIF 
tELSE 
tELSEIF 
tEND 
tTHEN 
tEXIT 
tWHILE 
tWEND 
tDO 
tLOOP 
tUNTIL 
tFOR 
tTO 
tEACH 
tIN 
tSELECT 
tCASE 
tBYREF 
tBYVAL 
tOPTION 
tNOTHING 
tEMPTY 
tNULL 
tCLASS 
tSET 
tNEW 
tPUBLIC 
tPRIVATE 
tNEXT 
tON 
tRESUME 
tGOTO 
tIdentifier 
tString 
tDEFAULT 
tERROR 
tEXPLICIT 
tPROPERTY 
tSTEP 
tInt 
tDouble 
tEXPRESSION 
tEOF 
tNL 
tEMPTYBRACKETS 
tLTEQ 
tGTEQ 
tNEQ 
tSTOP 
tME 
tREM 
tTRUE 
tFALSE 
tNOT 
tAND 
tOR 
tXOR 
tEQV 
tIMP 
tIS 
tMOD 
tCALL 
tDIM 
tSUB 
tFUNCTION 
tGET 
tLET 
tCONST 
tIF 
tELSE 
tELSEIF 
tEND 
tTHEN 
tEXIT 
tWHILE 
tWEND 
tDO 
tLOOP 
tUNTIL 
tFOR 
tTO 
tEACH 
tIN 
tSELECT 
tCASE 
tBYREF 
tBYVAL 
tOPTION 
tNOTHING 
tEMPTY 
tNULL 
tCLASS 
tSET 
tNEW 
tPUBLIC 
tPRIVATE 
tNEXT 
tON 
tRESUME 
tGOTO 
tIdentifier 
tString 
tDEFAULT 
tERROR 
tEXPLICIT 
tPROPERTY 
tSTEP 
tInt 
tDouble 
TK_SELECT 
TK_FROM 
TK_STAR 
TK_COMMA 
TK_DOT 
TK_IS 
TK_LP 
TK_RP 
TK_NULL 
TK_FALSE 
TK_TRUE 
TK_INTEGER 
TK_WHERE 
TK_SPACE 
TK_MINUS 
TK_ILLEGAL 
TK_BY 
TK_ASSOCIATORS 
TK_OF 
TK_STRING 
TK_ID 
TK_PATH 
TK_OR 
TK_AND 
TK_NOT 
TK_EQ 
TK_NE 
TK_LT 
TK_GT 
TK_LE 
TK_GE 
TK_LIKE 
TK_SELECT 
TK_FROM 
TK_STAR 
TK_COMMA 
TK_DOT 
TK_IS 
TK_LP 
TK_RP 
TK_NULL 
TK_FALSE 
TK_TRUE 
TK_INTEGER 
TK_WHERE 
TK_SPACE 
TK_MINUS 
TK_ILLEGAL 
TK_BY 
TK_ASSOCIATORS 
TK_OF 
TK_STRING 
TK_ID 
TK_PATH 
TK_OR 
TK_AND 
TK_NOT 
TK_EQ 
TK_NE 
TK_LT 
TK_GT 
TK_LE 
TK_GE 
TK_LIKE 
aIDENTIFIER 
aPRAGMA 
aKNOWNTYPE 
aNUM 
aHEXNUM 
aDOUBLE 
aSTRING 
aWSTRING 
aSQSTRING 
aUUID 
aEOF 
aACF 
SHL 
SHR 
MEMBERPTR 
EQUALITY 
INEQUALITY 
GREATEREQUAL 
LESSEQUAL 
LOGICALOR 
LOGICALAND 
ELLIPSIS 
tAGGREGATABLE 
tALLOCATE 
tANNOTATION 
tAPPOBJECT 
tASYNC 
tASYNCUUID 
tAUTOHANDLE 
tBINDABLE 
tBOOLEAN 
tBROADCAST 
tBYTE 
tBYTECOUNT 
tCALLAS 
tCALLBACK 
tCASE 
tCDECL 
tCHAR 
tCOCLASS 
tCODE 
tCOMMSTATUS 
tCONST 
tCONTEXTHANDLE 
tCONTEXTHANDLENOSERIALIZE 
tCONTEXTHANDLESERIALIZE 
tCONTROL 
tCPPQUOTE 
tDECODE 
tDEFAULT 
tDEFAULTBIND 
tDEFAULTCOLLELEM 
tDEFAULTVALUE 
tDEFAULTVTABLE 
tDISABLECONSISTENCYCHECK 
tDISPLAYBIND 
tDISPINTERFACE 
tDLLNAME 
tDOUBLE 
tDUAL 
tENABLEALLOCATE 
tENCODE 
tENDPOINT 
tENTRY 
tENUM 
tERRORSTATUST 
tEXPLICITHANDLE 
tEXTERN 
tFALSE 
tFASTCALL 
tFAULTSTATUS 
tFLOAT 
tFORCEALLOCATE 
tHANDLE 
tHANDLET 
tHELPCONTEXT 
tHELPFILE 
tHELPSTRING 
tHELPSTRINGCONTEXT 
tHELPSTRINGDLL 
tHIDDEN 
tHYPER 
tID 
tIDEMPOTENT 
tIGNORE 
tIIDIS 
tIMMEDIATEBIND 
tIMPLICITHANDLE 
tIMPORT 
tIMPORTLIB 
tIN 
tIN_LINE 
tINLINE 
tINPUTSYNC 
tINT 
tINT32 
tINT3264 
tINT64 
tINTERFACE 
tLCID 
tLENGTHIS 
tLIBRARY 
tLICENSED 
tLOCAL 
tLONG 
tMAYBE 
tMESSAGE 
tMETHODS 
tMODULE 
tNAMESPACE 
tNOCODE 
tNONBROWSABLE 
tNONCREATABLE 
tNONEXTENSIBLE 
tNOTIFY 
tNOTIFYFLAG 
tNULL 
tOBJECT 
tODL 
tOLEAUTOMATION 
tOPTIMIZE 
tOPTIONAL 
tOUT 
tPARTIALIGNORE 
tPASCAL 
tPOINTERDEFAULT 
tPRAGMA_WARNING 
tPROGID 
tPROPERTIES 
tPROPGET 
tPROPPUT 
tPROPPUTREF 
tPROXY 
tPTR 
tPUBLIC 
tRANGE 
tREADONLY 
tREF 
tREGISTER 
tREPRESENTAS 
tREQUESTEDIT 
tRESTRICTED 
tRETVAL 
tSAFEARRAY 
tSHORT 
tSIGNED 
tSIZEIS 
tSIZEOF 
tSMALL 
tSOURCE 
tSTATIC 
tSTDCALL 
tSTRICTCONTEXTHANDLE 
tSTRING 
tSTRUCT 
tSWITCH 
tSWITCHIS 
tSWITCHTYPE 
tTHREADING 
tTRANSMITAS 
tTRUE 
tTYPEDEF 
tUIDEFAULT 
tUNION 
tUNIQUE 
tUNSIGNED 
tUSESGETLASTERROR 
tUSERMARSHAL 
tUUID 
tV1ENUM 
tVARARG 
tVERSION 
tVIPROGID 
tVOID 
tWCHAR 
tWIREMARSHAL 
tAPARTMENT 
tNEUTRAL 
tSINGLE 
tFREE 
tBOTH 
CAST 
PPTR 
POS 
NEG 
ADDRESSOF 
aIDENTIFIER 
aPRAGMA 
aKNOWNTYPE 
aNUM 
aHEXNUM 
aDOUBLE 
aSTRING 
aWSTRING 
aSQSTRING 
aUUID 
aEOF 
aACF 
SHL 
SHR 
MEMBERPTR 
EQUALITY 
INEQUALITY 
GREATEREQUAL 
LESSEQUAL 
LOGICALOR 
LOGICALAND 
ELLIPSIS 
tAGGREGATABLE 
tALLOCATE 
tANNOTATION 
tAPPOBJECT 
tASYNC 
tASYNCUUID 
tAUTOHANDLE 
tBINDABLE 
tBOOLEAN 
tBROADCAST 
tBYTE 
tBYTECOUNT 
tCALLAS 
tCALLBACK 
tCASE 
tCDECL 
tCHAR 
tCOCLASS 
tCODE 
tCOMMSTATUS 
tCONST 
tCONTEXTHANDLE 
tCONTEXTHANDLENOSERIALIZE 
tCONTEXTHANDLESERIALIZE 
tCONTROL 
tCPPQUOTE 
tDECODE 
tDEFAULT 
tDEFAULTBIND 
tDEFAULTCOLLELEM 
tDEFAULTVALUE 
tDEFAULTVTABLE 
tDISABLECONSISTENCYCHECK 
tDISPLAYBIND 
tDISPINTERFACE 
tDLLNAME 
tDOUBLE 
tDUAL 
tENABLEALLOCATE 
tENCODE 
tENDPOINT 
tENTRY 
tENUM 
tERRORSTATUST 
tEXPLICITHANDLE 
tEXTERN 
tFALSE 
tFASTCALL 
tFAULTSTATUS 
tFLOAT 
tFORCEALLOCATE 
tHANDLE 
tHANDLET 
tHELPCONTEXT 
tHELPFILE 
tHELPSTRING 
tHELPSTRINGCONTEXT 
tHELPSTRINGDLL 
tHIDDEN 
tHYPER 
tID 
tIDEMPOTENT 
tIGNORE 
tIIDIS 
tIMMEDIATEBIND 
tIMPLICITHANDLE 
tIMPORT 
tIMPORTLIB 
tIN 
tIN_LINE 
tINLINE 
tINPUTSYNC 
tINT 
tINT32 
tINT3264 
tINT64 
tINTERFACE 
tLCID 
tLENGTHIS 
tLIBRARY 
tLICENSED 
tLOCAL 
tLONG 
tMAYBE 
tMESSAGE 
tMETHODS 
tMODULE 
tNAMESPACE 
tNOCODE 
tNONBROWSABLE 
tNONCREATABLE 
tNONEXTENSIBLE 
tNOTIFY 
tNOTIFYFLAG 
tNULL 
tOBJECT 
tODL 
tOLEAUTOMATION 
tOPTIMIZE 
tOPTIONAL 
tOUT 
tPARTIALIGNORE 
tPASCAL 
tPOINTERDEFAULT 
tPRAGMA_WARNING 
tPROGID 
tPROPERTIES 
tPROPGET 
tPROPPUT 
tPROPPUTREF 
tPROXY 
tPTR 
tPUBLIC 
tRANGE 
tREADONLY 
tREF 
tREGISTER 
tREPRESENTAS 
tREQUESTEDIT 
tRESTRICTED 
tRETVAL 
tSAFEARRAY 
tSHORT 
tSIGNED 
tSIZEIS 
tSIZEOF 
tSMALL 
tSOURCE 
tSTATIC 
tSTDCALL 
tSTRICTCONTEXTHANDLE 
tSTRING 
tSTRUCT 
tSWITCH 
tSWITCHIS 
tSWITCHTYPE 
tTHREADING 
tTRANSMITAS 
tTRUE 
tTYPEDEF 
tUIDEFAULT 
tUNION 
tUNIQUE 
tUNSIGNED 
tUSESGETLASTERROR 
tUSERMARSHAL 
tUUID 
tV1ENUM 
tVARARG 
tVERSION 
tVIPROGID 
tVOID 
tWCHAR 
tWIREMARSHAL 
tAPARTMENT 
tNEUTRAL 
tSINGLE 
tFREE 
tBOTH 
CAST 
PPTR 
POS 
NEG 
ADDRESSOF 
tRCINCLUDE 
tIF 
tIFDEF 
tIFNDEF 
tELSE 
tELIF 
tENDIF 
tDEFINED 
tNL 
tINCLUDE 
tLINE 
tGCCLINE 
tERROR 
tWARNING 
tPRAGMA 
tPPIDENT 
tUNDEF 
tMACROEND 
tCONCAT 
tELIPSIS 
tSTRINGIZE 
tIDENT 
tLITERAL 
tMACRO 
tDEFINE 
tDQSTRING 
tSQSTRING 
tIQSTRING 
tUINT 
tSINT 
tULONG 
tSLONG 
tULONGLONG 
tSLONGLONG 
tRCINCLUDEPATH 
tLOGOR 
tLOGAND 
tEQ 
tNE 
tLTE 
tGTE 
tLSHIFT 
tRSHIFT 
tRCINCLUDE 
tIF 
tIFDEF 
tIFNDEF 
tELSE 
tELIF 
tENDIF 
tDEFINED 
tNL 
tINCLUDE 
tLINE 
tGCCLINE 
tERROR 
tWARNING 
tPRAGMA 
tPPIDENT 
tUNDEF 
tMACROEND 
tCONCAT 
tELIPSIS 
tSTRINGIZE 
tIDENT 
tLITERAL 
tMACRO 
tDEFINE 
tDQSTRING 
tSQSTRING 
tIQSTRING 
tUINT 
tSINT 
tULONG 
tSLONG 
tULONGLONG 
tSLONGLONG 
tRCINCLUDEPATH 
tLOGOR 
tLOGAND 
tEQ 
tNE 
tLTE 
tGTE 
tLSHIFT 
tRSHIFT 

Definition at line 327 of file wql.tab.c.

328  {
329  TK_SELECT = 258,
330  TK_FROM = 259,
331  TK_STAR = 260,
332  TK_COMMA = 261,
333  TK_DOT = 262,
334  TK_IS = 263,
335  TK_LP = 264,
336  TK_RP = 265,
337  TK_NULL = 266,
338  TK_FALSE = 267,
339  TK_TRUE = 268,
340  TK_INTEGER = 269,
341  TK_WHERE = 270,
342  TK_SPACE = 271,
343  TK_MINUS = 272,
344  TK_ILLEGAL = 273,
345  TK_BY = 274,
346  TK_ASSOCIATORS = 275,
347  TK_OF = 276,
348  TK_STRING = 277,
349  TK_ID = 278,
350  TK_PATH = 279,
351  TK_OR = 280,
352  TK_AND = 281,
353  TK_NOT = 282,
354  TK_EQ = 283,
355  TK_NE = 284,
356  TK_LT = 285,
357  TK_GT = 286,
358  TK_LE = 287,
359  TK_GE = 288,
360  TK_LIKE = 289
361  };
Definition: wql.tab.c:356
Definition: wql.tab.c:336
Definition: wql.tab.c:357
Definition: wql.tab.c:347
Definition: wql.tab.c:358
Definition: wql.tab.c:354
Definition: wql.tab.c:345
Definition: wql.tab.c:349
Definition: wql.tab.c:351
Definition: wql.tab.c:335
Definition: wql.tab.c:334
Definition: wql.tab.c:355
Definition: wql.tab.c:359

Function Documentation

◆ alloc_keyword()

static struct keyword* alloc_keyword ( struct parser parser,
const WCHAR name,
const WCHAR value 
)
static

Definition at line 143 of file wql.tab.c.

144 {
145  struct keyword *keyword = alloc_mem( parser, sizeof(*keyword) );
146  if (keyword)
147  {
148  keyword->name = name;
149  keyword->value = value;
150  keyword->next = NULL;
151  }
152  return keyword;
153 }
const WCHAR * value
LPCWSTR keyword
Definition: htmlbody.c:47
smooth NULL
Definition: ftsmooth.c:416
const struct keyword * next
GLsizei const GLfloat * value
Definition: glext.h:6069
const WCHAR * name
static void * alloc_mem(struct parser *parser, UINT size)
Definition: wql.tab.c:124
Definition: import.c:85
GLuint const GLchar * name
Definition: glext.h:6031

Referenced by yyparse().

◆ alloc_mem()

static void* alloc_mem ( struct parser parser,
UINT  size 
)
static

Definition at line 124 of file wql.tab.c.

125 {
126  struct list *mem = heap_alloc( sizeof(struct list) + size );
128  return &mem[1];
129 }
static void * heap_alloc(size_t len)
Definition: appwiz.h:65
__WINE_SERVER_LIST_INLINE void list_add_tail(struct list *list, struct list *elem)
Definition: list.h:102
struct list * mem
Definition: wql.tab.c:115
GLsizeiptr size
Definition: glext.h:5919
Definition: _list.h:228
Definition: import.c:85
Definition: mem.c:156

Referenced by alloc_keyword(), alloc_property(), expr_bval(), expr_complex(), expr_ival(), expr_propval(), expr_sval(), expr_unary(), get_path(), and get_string().

◆ alloc_property()

static struct property* alloc_property ( struct parser parser,
const WCHAR class,
const WCHAR name 
)
static

Definition at line 131 of file wql.tab.c.

132 {
133  struct property *prop = alloc_mem( parser, sizeof(*prop) );
134  if (prop)
135  {
136  prop->name = name;
137  prop->class = class;
138  prop->next = NULL;
139  }
140  return prop;
141 }
const struct property * next
smooth NULL
Definition: ftsmooth.c:416
BSTR name
Definition: locator.c:107
static void * alloc_mem(struct parser *parser, UINT size)
Definition: wql.tab.c:124
Definition: import.c:85
const WCHAR * class
GLuint const GLchar * name
Definition: glext.h:6031

Referenced by yyparse().

◆ cmp_keyword()

static int __cdecl cmp_keyword ( const void arg1,
const void arg2 
)
static

Definition at line 2318 of file wql.tab.c.

2319 {
2320  const struct wql_keyword *key1 = arg1, *key2 = arg2;
2321  int len = min( key1->len, key2->len );
2322  int ret;
2323 
2324  if ((ret = _wcsnicmp( key1->name, key2->name, len ))) return ret;
2325  if (key1->len < key2->len) return -1;
2326  else if (key1->len > key2->len) return 1;
2327  return 0;
2328 }
GLuint64EXT GLuint GLuint GLenum GLenum GLuint GLuint GLenum GLuint GLuint key1
Definition: glext.h:10608
_Check_return_ _CRTIMP int __cdecl _wcsnicmp(_In_reads_or_z_(_MaxCount) const wchar_t *_Str1, _In_reads_or_z_(_MaxCount) const wchar_t *_Str2, _In_ size_t _MaxCount)
GLuint GLuint GLuint GLuint GLuint GLuint GLuint arg2
Definition: glext.h:9514
GLuint GLuint GLuint GLuint arg1
Definition: glext.h:9513
int ret
GLenum GLsizei len
Definition: glext.h:6722
#define min(a, b)
Definition: monoChain.cc:55

Referenced by keyword_type().

◆ expr_bval()

static struct expr* expr_bval ( struct parser parser,
int  val 
)
static

Definition at line 260 of file wql.tab.c.

261 {
262  struct expr *e = alloc_mem( parser, sizeof *e );
263  if (e)
264  {
265  e->type = EXPR_BVAL;
266  e->u.ival = val;
267  }
268  return e;
269 }
Definition: query.h:86
#define e
Definition: ke_i.h:82
GLuint GLfloat * val
Definition: glext.h:7180
static void * alloc_mem(struct parser *parser, UINT size)
Definition: wql.tab.c:124
Definition: import.c:85

Referenced by yyparse().

◆ expr_complex()

static struct expr* expr_complex ( struct parser parser,
struct expr l,
UINT  op,
struct expr r 
)
static

Definition at line 210 of file wql.tab.c.

211 {
212  struct expr *e = alloc_mem( parser, sizeof(*e) );
213  if (e)
214  {
215  e->type = EXPR_COMPLEX;
216  e->u.expr.left = l;
217  e->u.expr.op = op;
218  e->u.expr.right = r;
219  }
220  return e;
221 }
GLdouble GLdouble GLdouble r
Definition: gl.h:2055
Definition: query.h:86
#define e
Definition: ke_i.h:82
r l[0]
Definition: byte_order.h:167
static void * alloc_mem(struct parser *parser, UINT size)
Definition: wql.tab.c:124
Definition: import.c:85
UINT op
Definition: effect.c:223

Referenced by yyparse().

◆ expr_ival()

static struct expr* expr_ival ( struct parser parser,
int  val 
)
static

Definition at line 236 of file wql.tab.c.

237 {
238  struct expr *e = alloc_mem( parser, sizeof *e );
239  if (e)
240  {
241  e->type = EXPR_IVAL;
242  e->u.ival = val;
243  }
244  return e;
245 }
Definition: query.h:86
#define e
Definition: ke_i.h:82
GLuint GLfloat * val
Definition: glext.h:7180
static void * alloc_mem(struct parser *parser, UINT size)
Definition: wql.tab.c:124
Definition: import.c:85

Referenced by yyparse().

◆ expr_propval()

static struct expr* expr_propval ( struct parser parser,
const struct property prop 
)
static

Definition at line 271 of file wql.tab.c.

272 {
273  struct expr *e = alloc_mem( parser, sizeof *e );
274  if (e)
275  {
276  e->type = EXPR_PROPVAL;
277  e->u.propval = prop;
278  }
279  return e;
280 }
Definition: query.h:86
#define e
Definition: ke_i.h:82
static void * alloc_mem(struct parser *parser, UINT size)
Definition: wql.tab.c:124
Definition: import.c:85

Referenced by yyparse().

◆ expr_sval()

static struct expr* expr_sval ( struct parser parser,
const struct string str 
)
static

Definition at line 247 of file wql.tab.c.

248 {
249  struct expr *e = alloc_mem( parser, sizeof *e );
250  if (e)
251  {
252  e->type = EXPR_SVAL;
253  e->u.sval = get_string( parser, str );
254  if (!e->u.sval)
255  return NULL; /* e will be freed by query destructor */
256  }
257  return e;
258 }
Definition: query.h:86
#define e
Definition: ke_i.h:82
const WCHAR * str
smooth NULL
Definition: ftsmooth.c:416
static WCHAR * get_string(struct parser *parser, const struct string *str)
Definition: wql.tab.c:155
static void * alloc_mem(struct parser *parser, UINT size)
Definition: wql.tab.c:124
Definition: import.c:85

Referenced by yyparse().

◆ expr_unary()

static struct expr* expr_unary ( struct parser parser,
struct expr l,
UINT  op 
)
static

Definition at line 223 of file wql.tab.c.

224 {
225  struct expr *e = alloc_mem( parser, sizeof(*e) );
226  if (e)
227  {
228  e->type = EXPR_UNARY;
229  e->u.expr.left = l;
230  e->u.expr.op = op;
231  e->u.expr.right = NULL;
232  }
233  return e;
234 }
Definition: query.h:86
#define e
Definition: ke_i.h:82
smooth NULL
Definition: ftsmooth.c:416
r l[0]
Definition: byte_order.h:167
static void * alloc_mem(struct parser *parser, UINT size)
Definition: wql.tab.c:124
Definition: import.c:85
UINT op
Definition: effect.c:223

Referenced by yyparse().

◆ free()

void free ( void )

Definition at line 147 of file cabinet.c.

148 {
150 }
BOOLEAN NTAPI RtlFreeHeap(IN PVOID HeapHandle, IN ULONG Flags, IN PVOID HeapBase)
Definition: heap.c:606
static PVOID ptr
Definition: dispmode.c:27
HANDLE ProcessHeap
Definition: servman.c:15

◆ get_int()

static int get_int ( struct parser parser)
static

Definition at line 193 of file wql.tab.c.

194 {
195  const WCHAR *p = &parser->cmd[parser->idx];
196  int i, ret = 0;
197 
198  for (i = 0; i < parser->len; i++)
199  {
200  if (p[i] < '0' || p[i] > '9')
201  {
202  ERR("should only be numbers here!\n");
203  break;
204  }
205  ret = (p[i] - '0') + ret * 10;
206  }
207  return ret;
208 }
UINT idx
Definition: wql.tab.c:111
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
const WCHAR * cmd
Definition: wql.tab.c:110
__wchar_t WCHAR
Definition: xmlstorage.h:180
int ret
#define ERR(fmt,...)
Definition: debug.h:109
UINT len
Definition: wql.tab.c:112
Definition: import.c:85
GLfloat GLfloat p
Definition: glext.h:8902

Referenced by yyparse().

◆ get_path()

static WCHAR* get_path ( struct parser parser,
const struct string str 
)
static

Definition at line 175 of file wql.tab.c.

176 {
177  const WCHAR *p = str->data;
178  int len = str->len;
179  WCHAR *ret;
180 
181  if (p[0] == '{' && p[len - 1] == '}')
182  {
183  p++;
184  len -= 2;
185  }
186 
187  if (!(ret = alloc_mem( parser, (len + 1) * sizeof(WCHAR) ))) return NULL;
188  memcpy( ret, p, len * sizeof(WCHAR) );
189  ret[len] = 0;
190  return ret;
191 }
const WCHAR * str
smooth NULL
Definition: ftsmooth.c:416
__wchar_t WCHAR
Definition: xmlstorage.h:180
int ret
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
GLenum GLsizei len
Definition: glext.h:6722
static void * alloc_mem(struct parser *parser, UINT size)
Definition: wql.tab.c:124
Definition: import.c:85
GLfloat GLfloat p
Definition: glext.h:8902

Referenced by yyparse().

◆ get_string()

static WCHAR* get_string ( struct parser parser,
const struct string str 
)
static

Definition at line 155 of file wql.tab.c.

156 {
157  const WCHAR *p = str->data;
158  int len = str->len;
159  WCHAR *ret;
160 
161  if ((p[0] == '\"' && p[len - 1] != '\"') ||
162  (p[0] == '\'' && p[len - 1] != '\'')) return NULL;
163  if ((p[0] == '\"' && p[len - 1] == '\"') ||
164  (p[0] == '\'' && p[len - 1] == '\''))
165  {
166  p++;
167  len -= 2;
168  }
169  if (!(ret = alloc_mem( parser, (len + 1) * sizeof(WCHAR) ))) return NULL;
170  memcpy( ret, p, len * sizeof(WCHAR) );
171  ret[len] = 0;
172  return ret;
173 }
const WCHAR * str
smooth NULL
Definition: ftsmooth.c:416
__wchar_t WCHAR
Definition: xmlstorage.h:180
int ret
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
GLenum GLsizei len
Definition: glext.h:6722
static void * alloc_mem(struct parser *parser, UINT size)
Definition: wql.tab.c:124
Definition: import.c:85
GLfloat GLfloat p
Definition: glext.h:8902

Referenced by expr_sval(), and yyparse().

◆ get_token()

static int get_token ( const WCHAR s,
int token 
)
static

Definition at line 2344 of file wql.tab.c.

2345 {
2346  int i;
2347 
2348  switch (*s)
2349  {
2350  case ' ':
2351  case '\t':
2352  case '\r':
2353  case '\n':
2354  for (i = 1; iswspace( s[i] ); i++) {}
2355  *token = TK_SPACE;
2356  return i;
2357  case '-':
2358  if (!s[1]) return -1;
2359  *token = TK_MINUS;
2360  return 1;
2361  case '(':
2362  *token = TK_LP;
2363  return 1;
2364  case ')':
2365  *token = TK_RP;
2366  return 1;
2367  case '{':
2368  for (i = 1; s[i] && s[i] != '}'; i++) {}
2369  if (s[i] != '}')
2370  {
2371  *token = TK_ILLEGAL;
2372  return i;
2373  }
2374  *token = TK_PATH;
2375  return i + 1;
2376  case '*':
2377  *token = TK_STAR;
2378  return 1;
2379  case '=':
2380  *token = TK_EQ;
2381  return 1;
2382  case '<':
2383  if (s[1] == '=' )
2384  {
2385  *token = TK_LE;
2386  return 2;
2387  }
2388  else if (s[1] == '>')
2389  {
2390  *token = TK_NE;
2391  return 2;
2392  }
2393  else
2394  {
2395  *token = TK_LT;
2396  return 1;
2397  }
2398  case '>':
2399  if (s[1] == '=')
2400  {
2401  *token = TK_GE;
2402  return 2;
2403  }
2404  else
2405  {
2406  *token = TK_GT;
2407  return 1;
2408  }
2409  case '!':
2410  if (s[1] != '=')
2411  {
2412  *token = TK_ILLEGAL;
2413  return 2;
2414  }
2415  else
2416  {
2417  *token = TK_NE;
2418  return 2;
2419  }
2420  case ',':
2421  *token = TK_COMMA;
2422  return 1;
2423  case '\"':
2424  case '\'':
2425  for (i = 1; s[i]; i++)
2426  {
2427  if (s[i] == s[0]) break;
2428  }
2429  if (s[i]) i++;
2430  *token = TK_STRING;
2431  return i;
2432  case '.':
2433  if (!iswdigit( s[1] ))
2434  {
2435  *token = TK_DOT;
2436  return 1;
2437  }
2438  /* fall through */
2439  case '0': case '1': case '2': case '3': case '4':
2440  case '5': case '6': case '7': case '8': case '9':
2441  *token = TK_INTEGER;
2442  for (i = 1; iswdigit( s[i] ); i++) {}
2443  return i;
2444  default:
2445  if (!id_char[*s]) break;
2446 
2447  for (i = 1; id_char[s[i]]; i++) {}
2448  *token = keyword_type( s, i );
2449  return i;
2450  }
2451  *token = TK_ILLEGAL;
2452  return 1;
2453 }
Definition: wql.tab.c:356
#define iswdigit(_c)
Definition: ctype.h:667
Definition: wql.tab.c:336
Definition: wql.tab.c:357
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat token
Definition: glfuncs.h:210
Definition: wql.tab.c:358
static const char id_char[]
Definition: wql.tab.c:2255
#define iswspace(_c)
Definition: ctype.h:669
Definition: wql.tab.c:354
GLdouble s
Definition: gl.h:2039
Definition: wql.tab.c:335
Definition: wql.tab.c:355
Definition: wql.tab.c:359
static int keyword_type(const WCHAR *str, unsigned int len)
Definition: wql.tab.c:2330

Referenced by wql_lex().

◆ keyword_type()

static int keyword_type ( const WCHAR str,
unsigned int  len 
)
static

Definition at line 2330 of file wql.tab.c.

2331 {
2332  struct wql_keyword key, *ret;
2333 
2335 
2336  key.name = str;
2337  key.len = len;
2338  key.type = 0;
2340  if (ret) return ret->type;
2341  return TK_ID;
2342 }
WCHAR * name
Definition: path.c:43
const WCHAR * str
#define MAX_TOKEN_LEN
Definition: wql.tab.c:2283
int ret
Definition: wql.tab.c:349
GLenum GLsizei len
Definition: glext.h:6722
static const struct wql_keyword keyword_table[]
Definition: wql.tab.c:2300
#define ARRAY_SIZE(a)
Definition: main.h:24
Definition: path.c:41
static int __cdecl cmp_keyword(const void *arg1, const void *arg2)
Definition: wql.tab.c:2318
#define bsearch

Referenced by get_token().

◆ malloc()

void* malloc ( YYSIZE_T  )

◆ parse_query()

HRESULT parse_query ( const WCHAR str,
struct view **  view,
struct list mem 
)

Definition at line 2227 of file wql.tab.c.

2228 {
2229  struct parser parser;
2230  int ret;
2231 
2232  *view = NULL;
2233 
2234  parser.cmd = str;
2235  parser.idx = 0;
2236  parser.len = 0;
2238  parser.view = view;
2239  parser.mem = mem;
2240 
2241  ret = wql_parse( &parser );
2242  TRACE("wql_parse returned %d\n", ret);
2243  if (ret)
2244  {
2245  if (*parser.view)
2246  {
2247  destroy_view( *parser.view );
2248  *parser.view = NULL;
2249  }
2250  return parser.error;
2251  }
2252  return S_OK;
2253 }
UINT idx
Definition: wql.tab.c:111
struct list * mem
Definition: wql.tab.c:115
const WCHAR * str
smooth NULL
Definition: ftsmooth.c:416
const WCHAR * cmd
Definition: wql.tab.c:110
#define TRACE(s)
Definition: solgame.cpp:4
void destroy_view(struct view *view)
Definition: query.c:83
int wql_parse(struct parser *ctx)
unsigned int error
Definition: inffile.c:97
int ret
#define S_OK
Definition: intsafe.h:59
UINT len
Definition: wql.tab.c:112
Definition: import.c:85
static IOleDocumentView * view
Definition: activex.c:1749
struct view ** view
Definition: wql.tab.c:114

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( wbemprox  )

◆ wql_error()

static int wql_error ( struct parser parser,
const char str 
)
static

Definition at line 2472 of file wql.tab.c.

2473 {
2474  ERR("%s\n", str);
2475  return 0;
2476 }
const WCHAR * str
#define ERR(fmt,...)
Definition: debug.h:109

◆ wql_lex()

static int wql_lex ( void val,
struct parser parser 
)
static

Definition at line 2455 of file wql.tab.c.

2456 {
2457  struct string *str = p;
2458  int token = -1;
2459  do
2460  {
2461  parser->idx += parser->len;
2462  if (!parser->cmd[parser->idx]) return 0;
2463  parser->len = get_token( &parser->cmd[parser->idx], &token );
2464  if (!parser->len) break;
2465 
2466  str->data = &parser->cmd[parser->idx];
2467  str->len = parser->len;
2468  } while (token == TK_SPACE);
2469  return token;
2470 }
UINT idx
Definition: wql.tab.c:111
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat token
Definition: glfuncs.h:210
const WCHAR * str
const WCHAR * cmd
Definition: wql.tab.c:110
static int get_token(const WCHAR *s, int *token)
Definition: wql.tab.c:2344
UINT len
Definition: wql.tab.c:112
Definition: import.c:85
GLfloat GLfloat p
Definition: glext.h:8902

◆ wql_parse()

int wql_parse ( struct parser ctx)

Referenced by parse_query().

◆ yydestruct()

static void yydestruct ( const char yymsg,
int  yytype,
YYSTYPE yyvaluep,
struct parser ctx 
)
static

Definition at line 1258 of file wql.tab.c.

1259 {
1260  YYUSE (yyvaluep);
1261  YYUSE (ctx);
1262  if (!yymsg)
1263  yymsg = "Deleting";
1264  YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp);
1265 
1267  YYUSE (yytype);
1269 }
#define YY_IGNORE_MAYBE_UNINITIALIZED_END
Definition: wql.tab.c:487
#define YY_SYMBOL_PRINT(Title, Type, Value, Location)
Definition: wql.tab.c:1003
#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
Definition: wql.tab.c:486
#define YYUSE(E)
Definition: wql.tab.c:469

Referenced by yyparse().

◆ yyparse()

int yyparse ( struct parser ctx)

Definition at line 1279 of file wql.tab.c.

1280 {
1281 /* The lookahead symbol. */
1282 int yychar;
1283 
1284 
1285 /* The semantic value of the lookahead symbol. */
1286 /* Default value used for initialization, for pacifying older GCCs
1287  or non-GCC compilers. */
1288 YY_INITIAL_VALUE (static YYSTYPE yyval_default;)
1289 YYSTYPE yylval YY_INITIAL_VALUE (= yyval_default);
1290 
1291  /* Number of syntax errors so far. */
1292  int yynerrs;
1293 
1294  int yystate;
1295  /* Number of tokens to shift before error messages enabled. */
1296  int yyerrstatus;
1297 
1298  /* The stacks and their tools:
1299  'yyss': related to states.
1300  'yyvs': related to semantic values.
1301 
1302  Refer to the stacks through separate pointers, to allow yyoverflow
1303  to reallocate them elsewhere. */
1304 
1305  /* The state stack. */
1306  yytype_int16 yyssa[YYINITDEPTH];
1307  yytype_int16 *yyss;
1308  yytype_int16 *yyssp;
1309 
1310  /* The semantic value stack. */
1311  YYSTYPE yyvsa[YYINITDEPTH];
1312  YYSTYPE *yyvs;
1313  YYSTYPE *yyvsp;
1314 
1315  YYSIZE_T yystacksize;
1316 
1317  int yyn;
1318  int yyresult;
1319  /* Lookahead token as an internal (translated) token number. */
1320  int yytoken = 0;
1321  /* The variables used to return semantic value and location from the
1322  action routines. */
1323  YYSTYPE yyval;
1324 
1325 #if YYERROR_VERBOSE
1326  /* Buffer for error messages, and its allocated size. */
1327  char yymsgbuf[128];
1328  char *yymsg = yymsgbuf;
1329  YYSIZE_T yymsg_alloc = sizeof yymsgbuf;
1330 #endif
1331 
1332 #define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N))
1333 
1334  /* The number of symbols on the RHS of the reduced rule.
1335  Keep to zero when no symbol should be popped. */
1336  int yylen = 0;
1337 
1338  yyssp = yyss = yyssa;
1339  yyvsp = yyvs = yyvsa;
1340  yystacksize = YYINITDEPTH;
1341 
1342  YYDPRINTF ((stderr, "Starting parse\n"));
1343 
1344  yystate = 0;
1345  yyerrstatus = 0;
1346  yynerrs = 0;
1347  yychar = YYEMPTY; /* Cause a token to be read. */
1348  goto yysetstate;
1349 
1350 
1351 /*------------------------------------------------------------.
1352 | yynewstate -- push a new state, which is found in yystate. |
1353 `------------------------------------------------------------*/
1354 yynewstate:
1355  /* In all cases, when you get here, the value and location stacks
1356  have just been pushed. So pushing a state here evens the stacks. */
1357  yyssp++;
1358 
1359 
1360 /*--------------------------------------------------------------------.
1361 | yynewstate -- set current state (the top of the stack) to yystate. |
1362 `--------------------------------------------------------------------*/
1363 yysetstate:
1364  YYDPRINTF ((stderr, "Entering state %d\n", yystate));
1365  YY_ASSERT (0 <= yystate && yystate < YYNSTATES);
1366  *yyssp = (yytype_int16) yystate;
1367 
1368  if (yyss + yystacksize - 1 <= yyssp)
1369 #if !defined yyoverflow && !defined YYSTACK_RELOCATE
1370  goto yyexhaustedlab;
1371 #else
1372  {
1373  /* Get the current used size of the three stacks, in elements. */
1374  YYSIZE_T yysize = (YYSIZE_T) (yyssp - yyss + 1);
1375 
1376 # if defined yyoverflow
1377  {
1378  /* Give user a chance to reallocate the stack. Use copies of
1379  these so that the &'s don't force the real ones into
1380  memory. */
1381  YYSTYPE *yyvs1 = yyvs;
1382  yytype_int16 *yyss1 = yyss;
1383 
1384  /* Each stack pointer address is followed by the size of the
1385  data in use in that stack, in bytes. This used to be a
1386  conditional around just the two extra args, but that might
1387  be undefined if yyoverflow is a macro. */
1388  yyoverflow (YY_("memory exhausted"),
1389  &yyss1, yysize * sizeof (*yyssp),
1390  &yyvs1, yysize * sizeof (*yyvsp),
1391  &yystacksize);
1392  yyss = yyss1;
1393  yyvs = yyvs1;
1394  }
1395 # else /* defined YYSTACK_RELOCATE */
1396  /* Extend the stack our own way. */
1397  if (YYMAXDEPTH <= yystacksize)
1398  goto yyexhaustedlab;
1399  yystacksize *= 2;
1400  if (YYMAXDEPTH < yystacksize)
1401  yystacksize = YYMAXDEPTH;
1402 
1403  {
1404  yytype_int16 *yyss1 = yyss;
1405  union yyalloc *yyptr =
1406  (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
1407  if (! yyptr)
1408  goto yyexhaustedlab;
1409  YYSTACK_RELOCATE (yyss_alloc, yyss);
1410  YYSTACK_RELOCATE (yyvs_alloc, yyvs);
1411 # undef YYSTACK_RELOCATE
1412  if (yyss1 != yyssa)
1413  YYSTACK_FREE (yyss1);
1414  }
1415 # endif
1416 
1417  yyssp = yyss + yysize - 1;
1418  yyvsp = yyvs + yysize - 1;
1419 
1420  YYDPRINTF ((stderr, "Stack size increased to %lu\n",
1421  (unsigned long) yystacksize));
1422 
1423  if (yyss + yystacksize - 1 <= yyssp)
1424  YYABORT;
1425  }
1426 #endif /* !defined yyoverflow && !defined YYSTACK_RELOCATE */
1427 
1428  if (yystate == YYFINAL)
1429  YYACCEPT;
1430 
1431  goto yybackup;
1432 
1433 
1434 /*-----------.
1435 | yybackup. |
1436 `-----------*/
1437 yybackup:
1438  /* Do appropriate processing given the current state. Read a
1439  lookahead token if we need one and don't already have one. */
1440 
1441  /* First try to decide what to do without reference to lookahead token. */
1442  yyn = yypact[yystate];
1443  if (yypact_value_is_default (yyn))
1444  goto yydefault;
1445 
1446  /* Not known => get a lookahead token if don't already have one. */
1447 
1448  /* YYCHAR is either YYEMPTY or YYEOF or a valid lookahead symbol. */
1449  if (yychar == YYEMPTY)
1450  {
1451  YYDPRINTF ((stderr, "Reading a token: "));
1452  yychar = yylex (&yylval, ctx);
1453  }
1454 
1455  if (yychar <= YYEOF)
1456  {
1457  yychar = yytoken = YYEOF;
1458  YYDPRINTF ((stderr, "Now at end of input.\n"));
1459  }
1460  else
1461  {
1462  yytoken = YYTRANSLATE (yychar);
1463  YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
1464  }
1465 
1466  /* If the proper action on seeing token YYTOKEN is to reduce or to
1467  detect an error, take that action. */
1468  yyn += yytoken;
1469  if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
1470  goto yydefault;
1471  yyn = yytable[yyn];
1472  if (yyn <= 0)
1473  {
1474  if (yytable_value_is_error (yyn))
1475  goto yyerrlab;
1476  yyn = -yyn;
1477  goto yyreduce;
1478  }
1479 
1480  /* Count tokens shifted since error; after three, turn off error
1481  status. */
1482  if (yyerrstatus)
1483  yyerrstatus--;
1484 
1485  /* Shift the lookahead token. */
1486  YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
1487 
1488  /* Discard the shifted token. */
1489  yychar = YYEMPTY;
1490 
1491  yystate = yyn;
1493  *++yyvsp = yylval;
1495  goto yynewstate;
1496 
1497 
1498 /*-----------------------------------------------------------.
1499 | yydefault -- do the default action for the current state. |
1500 `-----------------------------------------------------------*/
1501 yydefault:
1502  yyn = yydefact[yystate];
1503  if (yyn == 0)
1504  goto yyerrlab;
1505  goto yyreduce;
1506 
1507 
1508 /*-----------------------------.
1509 | yyreduce -- do a reduction. |
1510 `-----------------------------*/
1511 yyreduce:
1512  /* yyn is the number of a rule to reduce with. */
1513  yylen = yyr2[yyn];
1514 
1515  /* If YYLEN is nonzero, implement the default value of the action:
1516  '$$ = $1'.
1517 
1518  Otherwise, the following line sets YYVAL to garbage.
1519  This behavior is undocumented and Bison
1520  users should not rely upon it. Assigning to YYVAL
1521  unconditionally makes the parser a bit smaller, and it avoids a
1522  GCC warning that YYVAL may be used uninitialized. */
1523  yyval = yyvsp[1-yylen];
1524 
1525 
1526  YY_REDUCE_PRINT (yyn);
1527  switch (yyn)
1528  {
1529  case 4:
1530 #line 255 "wql.y"
1531  {
1532  (yyval.string) = get_path( ctx, &(yyvsp[0].str) );
1533  if (!(yyval.string))
1534  YYABORT;
1535  }
1536 #line 1537 "wql.tab.c"
1537  break;
1538 
1539  case 5:
1540 #line 264 "wql.y"
1541  {
1542  (yyval.keywordlist) = alloc_keyword( ctx, (yyvsp[0].string), NULL );
1543  if (!(yyval.keywordlist))
1544  YYABORT;
1545  }
1546 #line 1547 "wql.tab.c"
1547  break;
1548 
1549  case 6:
1550 #line 270 "wql.y"
1551  {
1552  (yyval.keywordlist) = alloc_keyword( ctx, (yyvsp[-2].string), (yyvsp[0].string) );
1553  if (!(yyval.keywordlist))
1554  YYABORT;
1555  }
1556 #line 1557 "wql.tab.c"
1557  break;
1558 
1559  case 8:
1560 #line 280 "wql.y"
1561  {
1562  (yyvsp[-1].keywordlist)->next = (yyvsp[0].keywordlist);
1563  }
1564 #line 1565 "wql.tab.c"
1565  break;
1566 
1567  case 9:
1568 #line 287 "wql.y"
1569  {
1570  HRESULT hr;
1571  struct parser *parser = ctx;
1572  struct view *view;
1573 
1574  hr = create_view( VIEW_TYPE_ASSOCIATORS, (yyvsp[0].string), NULL, NULL, NULL, NULL, &view );
1575  if (hr != S_OK)
1576  YYABORT;
1577 
1578  PARSER_BUBBLE_UP_VIEW( parser, (yyval.view), view );
1579  }
1580 #line 1581 "wql.tab.c"
1581  break;
1582 
1583  case 10:
1584 #line 299 "wql.y"
1585  {
1586  HRESULT hr;
1587  struct parser *parser = ctx;
1588  struct view *view;
1589 
1590  hr = create_view( VIEW_TYPE_ASSOCIATORS, (yyvsp[-2].string), (yyvsp[0].keywordlist), NULL, NULL, NULL, &view );
1591  if (hr != S_OK)
1592  YYABORT;
1593 
1594  PARSER_BUBBLE_UP_VIEW( parser, (yyval.view), view );
1595  }
1596 #line 1597 "wql.tab.c"
1597  break;
1598 
1599  case 11:
1600 #line 314 "wql.y"
1601  {
1602  HRESULT hr;
1603  struct parser *parser = ctx;
1604  struct view *view;
1605 
1606  hr = create_view( VIEW_TYPE_SELECT, NULL, NULL, (yyvsp[0].string), NULL, NULL, &view );
1607  if (hr != S_OK)
1608  YYABORT;
1609 
1610  PARSER_BUBBLE_UP_VIEW( parser, (yyval.view), view );
1611  }
1612 #line 1613 "wql.tab.c"
1613  break;
1614 
1615  case 12:
1616 #line 326 "wql.y"
1617  {
1618  HRESULT hr;
1619  struct parser *parser = ctx;
1620  struct view *view;
1621 
1622  hr = create_view( VIEW_TYPE_SELECT, NULL, NULL, (yyvsp[0].string), (yyvsp[-2].proplist), NULL, &view );
1623  if (hr != S_OK)
1624  YYABORT;
1625 
1626  PARSER_BUBBLE_UP_VIEW( parser, (yyval.view), view );
1627  }
1628 #line 1629 "wql.tab.c"
1629  break;
1630 
1631  case 13:
1632 #line 338 "wql.y"
1633  {
1634  HRESULT hr;
1635  struct parser *parser = ctx;
1636  struct view *view;
1637 
1638  hr = create_view( VIEW_TYPE_SELECT, NULL, NULL, (yyvsp[-2].string), (yyvsp[-4].proplist), (yyvsp[0].expr), &view );
1639  if (hr != S_OK)
1640  YYABORT;
1641 
1642  PARSER_BUBBLE_UP_VIEW( parser, (yyval.view), view );
1643  }
1644 #line 1645 "wql.tab.c"
1645  break;
1646 
1647  case 15:
1648 #line 354 "wql.y"
1649  {
1650  (yyvsp[-2].proplist)->next = (yyvsp[0].proplist);
1651  }
1652 #line 1653 "wql.tab.c"
1653  break;
1654 
1655  case 16:
1656 #line 358 "wql.y"
1657  {
1658  (yyval.proplist) = NULL;
1659  }
1660 #line 1661 "wql.tab.c"
1661  break;
1662 
1663  case 17:
1664 #line 365 "wql.y"
1665  {
1666  (yyval.proplist) = alloc_property( ctx, (yyvsp[-2].string), (yyvsp[0].string) );
1667  if (!(yyval.proplist))
1668  YYABORT;
1669  }
1670 #line 1671 "wql.tab.c"
1671  break;
1672 
1673  case 18:
1674 #line 371 "wql.y"
1675  {
1676  (yyval.proplist) = alloc_property( ctx, NULL, (yyvsp[0].string) );
1677  if (!(yyval.proplist))
1678  YYABORT;
1679  }
1680 #line 1681 "wql.tab.c"
1681  break;
1682 
1683  case 19:
1684 #line 380 "wql.y"
1685  {
1686  (yyval.string) = get_string( ctx, &(yyvsp[0].str) );
1687  if (!(yyval.string))
1688  YYABORT;
1689  }
1690 #line 1691 "wql.tab.c"
1691  break;
1692 
1693  case 20:
1694 #line 389 "wql.y"
1695  {
1696  (yyval.integer) = get_int( ctx );
1697  }
1698 #line 1699 "wql.tab.c"
1699  break;
1700 
1701  case 21:
1702 #line 396 "wql.y"
1703  {
1704  (yyval.expr) = (yyvsp[-1].expr);
1705  if (!(yyval.expr))
1706  YYABORT;
1707  }
1708 #line 1709 "wql.tab.c"
1709  break;
1710 
1711  case 22:
1712 #line 402 "wql.y"
1713  {
1714  (yyval.expr) = expr_complex( ctx, (yyvsp[-2].expr), OP_AND, (yyvsp[0].expr) );
1715  if (!(yyval.expr))
1716  YYABORT;
1717  }
1718 #line 1719 "wql.tab.c"
1719  break;
1720 
1721  case 23:
1722 #line 408 "wql.y"
1723  {
1724  (yyval.expr) = expr_complex( ctx, (yyvsp[-2].expr), OP_OR, (yyvsp[0].expr) );
1725  if (!(yyval.expr))
1726  YYABORT;
1727  }
1728 #line 1729 "wql.tab.c"
1729  break;
1730 
1731  case 24:
1732 #line 414 "wql.y"
1733  {
1734  (yyval.expr) = expr_unary( ctx, (yyvsp[0].expr), OP_NOT );
1735  if (!(yyval.expr))
1736  YYABORT;
1737  }
1738 #line 1739 "wql.tab.c"
1739  break;
1740 
1741  case 25:
1742 #line 420 "wql.y"
1743  {
1744  (yyval.expr) = expr_complex( ctx, (yyvsp[-2].expr), OP_EQ, (yyvsp[0].expr) );
1745  if (!(yyval.expr))
1746  YYABORT;
1747  }
1748 #line 1749 "wql.tab.c"
1749  break;
1750 
1751  case 26:
1752 #line 426 "wql.y"
1753  {
1754  (yyval.expr) = expr_complex( ctx, (yyvsp[-2].expr), OP_GT, (yyvsp[0].expr) );
1755  if (!(yyval.expr))
1756  YYABORT;
1757  }
1758 #line 1759 "wql.tab.c"
1759  break;
1760 
1761  case 27:
1762 #line 432 "wql.y"
1763  {
1764  (yyval.expr) = expr_complex( ctx, (yyvsp[-2].expr), OP_LT, (yyvsp[0].expr) );
1765  if (!(yyval.expr))
1766  YYABORT;
1767  }
1768 #line 1769 "wql.tab.c"
1769  break;
1770 
1771  case 28:
1772 #line 438 "wql.y"
1773  {
1774  (yyval.expr) = expr_complex( ctx, (yyvsp[-2].expr), OP_LE, (yyvsp[0].expr) );
1775  if (!(yyval.expr))
1776  YYABORT;
1777  }
1778 #line 1779 "wql.tab.c"
1779  break;
1780 
1781  case 29:
1782 #line 444 "wql.y"
1783  {
1784  (yyval.expr) = expr_complex( ctx, (yyvsp[-2].expr), OP_GE, (yyvsp[0].expr) );
1785  if (!(yyval.expr))
1786  YYABORT;
1787  }
1788 #line 1789 "wql.tab.c"
1789  break;
1790 
1791  case 30:
1792 #line 450 "wql.y"
1793  {
1794  (yyval.expr) = expr_complex( ctx, (yyvsp[-2].expr), OP_NE, (yyvsp[0].expr) );
1795  if (!(yyval.expr))
1796  YYABORT;
1797  }
1798 #line 1799 "wql.tab.c"
1799  break;
1800 
1801  case 31:
1802 #line 456 "wql.y"
1803  {
1804  (yyval.expr) = expr_complex( ctx, (yyvsp[-2].expr), OP_EQ, (yyvsp[0].expr) );
1805  if (!(yyval.expr))
1806  YYABORT;
1807  }
1808 #line 1809 "wql.tab.c"
1809  break;
1810 
1811  case 32:
1812 #line 462 "wql.y"
1813  {
1814  (yyval.expr) = expr_complex( ctx, (yyvsp[-2].expr), OP_GT, (yyvsp[0].expr) );
1815  if (!(yyval.expr))
1816  YYABORT;
1817  }
1818 #line 1819 "wql.tab.c"
1819  break;
1820 
1821  case 33:
1822 #line 468 "wql.y"
1823  {
1824  (yyval.expr) = expr_complex( ctx, (yyvsp[-2].expr), OP_LT, (yyvsp[0].expr) );
1825  if (!(yyval.expr))
1826  YYABORT;
1827  }
1828 #line 1829 "wql.tab.c"
1829  break;
1830 
1831  case 34:
1832 #line 474 "wql.y"
1833  {
1834  (yyval.expr) = expr_complex( ctx, (yyvsp[-2].expr), OP_LE, (yyvsp[0].expr) );
1835  if (!(yyval.expr))
1836  YYABORT;
1837  }
1838 #line 1839 "wql.tab.c"
1839  break;
1840 
1841  case 35:
1842 #line 480 "wql.y"
1843  {
1844  (yyval.expr) = expr_complex( ctx, (yyvsp[-2].expr), OP_GE, (yyvsp[0].expr) );
1845  if (!(yyval.expr))
1846  YYABORT;
1847  }
1848 #line 1849 "wql.tab.c"
1849  break;
1850 
1851  case 36:
1852 #line 486 "wql.y"
1853  {
1854  (yyval.expr) = expr_complex( ctx, (yyvsp[-2].expr), OP_NE, (yyvsp[0].expr) );
1855  if (!(yyval.expr))
1856  YYABORT;
1857  }
1858 #line 1859 "wql.tab.c"
1859  break;
1860 
1861  case 37:
1862 #line 492 "wql.y"
1863  {
1864  (yyval.expr) = expr_complex( ctx, (yyvsp[-2].expr), OP_LIKE, (yyvsp[0].expr) );
1865  if (!(yyval.expr))
1866  YYABORT;
1867  }
1868 #line 1869 "wql.tab.c"
1869  break;
1870 
1871  case 38:
1872 #line 498 "wql.y"
1873  {
1874  (yyval.expr) = expr_unary( ctx, (yyvsp[-2].expr), OP_ISNULL );
1875  if (!(yyval.expr))
1876  YYABORT;
1877  }
1878 #line 1879 "wql.tab.c"
1879  break;
1880 
1881  case 39:
1882 #line 504 "wql.y"
1883  {
1884  (yyval.expr) = expr_unary( ctx, (yyvsp[-3].expr), OP_NOTNULL );
1885  if (!(yyval.expr))
1886  YYABORT;
1887  }
1888 #line 1889 "wql.tab.c"
1889  break;
1890 
1891  case 40:
1892 #line 510 "wql.y"
1893  {
1894  (yyval.expr) = expr_unary( ctx, (yyvsp[-2].expr), OP_ISNULL );
1895  if (!(yyval.expr))
1896  YYABORT;
1897  }
1898 #line 1899 "wql.tab.c"
1899  break;
1900 
1901  case 41:
1902 #line 516 "wql.y"
1903  {
1904  (yyval.expr) = expr_unary( ctx, (yyvsp[0].expr), OP_ISNULL );
1905  if (!(yyval.expr))
1906  YYABORT;
1907  }
1908 #line 1909 "wql.tab.c"
1909  break;
1910 
1911  case 42:
1912 #line 522 "wql.y"
1913  {
1914  (yyval.expr) = expr_unary( ctx, (yyvsp[-2].expr), OP_NOTNULL );
1915  if (!(yyval.expr))
1916  YYABORT;
1917  }
1918 #line 1919 "wql.tab.c"
1919  break;
1920 
1921  case 43:
1922 #line 528 "wql.y"
1923  {
1924  (yyval.expr) = expr_unary( ctx, (yyvsp[0].expr), OP_NOTNULL );
1925  if (!(yyval.expr))
1926  YYABORT;
1927  }
1928 #line 1929 "wql.tab.c"
1929  break;
1930 
1931  case 44:
1932 #line 537 "wql.y"
1933  {
1934  (yyval.expr) = expr_sval( ctx, &(yyvsp[0].str) );
1935  if (!(yyval.expr))
1936  YYABORT;
1937  }
1938 #line 1939 "wql.tab.c"
1939  break;
1940 
1941  case 45:
1942 #line 546 "wql.y"
1943  {
1944  (yyval.expr) = expr_propval( ctx, (yyvsp[0].proplist) );
1945  if (!(yyval.expr))
1946  YYABORT;
1947  }
1948 #line 1949 "wql.tab.c"
1949  break;
1950 
1951  case 46:
1952 #line 555 "wql.y"
1953  {
1954  (yyval.expr) = expr_ival( ctx, (yyvsp[0].integer) );
1955  if (!(yyval.expr))
1956  YYABORT;
1957  }
1958 #line 1959 "wql.tab.c"
1959  break;
1960 
1961  case 47:
1962 #line 561 "wql.y"
1963  {
1964  (yyval.expr) = expr_sval( ctx, &(yyvsp[0].str) );
1965  if (!(yyval.expr))
1966  YYABORT;
1967  }
1968 #line 1969 "wql.tab.c"
1969  break;
1970 
1971  case 48:
1972 #line 567 "wql.y"
1973  {
1974  (yyval.expr) = expr_bval( ctx, -1 );
1975  if (!(yyval.expr))
1976  YYABORT;
1977  }
1978 #line 1979 "wql.tab.c"
1979  break;
1980 
1981  case 49:
1982 #line 573 "wql.y"
1983  {
1984  (yyval.expr) = expr_bval( ctx, 0 );
1985  if (!(yyval.expr))
1986  YYABORT;
1987  }
1988 #line 1989 "wql.tab.c"
1989  break;
1990 
1991 
1992 #line 1993 "wql.tab.c"
1993 
1994  default: break;
1995  }
1996  /* User semantic actions sometimes alter yychar, and that requires
1997  that yytoken be updated with the new translation. We take the
1998  approach of translating immediately before every use of yytoken.
1999  One alternative is translating here after every semantic action,
2000  but that translation would be missed if the semantic action invokes
2001  YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or
2002  if it invokes YYBACKUP. In the case of YYABORT or YYACCEPT, an
2003  incorrect destructor might then be invoked immediately. In the
2004  case of YYERROR or YYBACKUP, subsequent parser actions might lead
2005  to an incorrect destructor call or verbose syntax error message
2006  before the lookahead is translated. */
2007  YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc);
2008 
2009  YYPOPSTACK (yylen);
2010  yylen = 0;
2011  YY_STACK_PRINT (yyss, yyssp);
2012 
2013  *++yyvsp = yyval;
2014 
2015  /* Now 'shift' the result of the reduction. Determine what state
2016  that goes to, based on the state we popped back to and the rule
2017  number reduced by. */
2018  {
2019  const int yylhs = yyr1[yyn] - YYNTOKENS;
2020  const int yyi = yypgoto[yylhs] + *yyssp;
2021  yystate = (0 <= yyi && yyi <= YYLAST && yycheck[yyi] == *yyssp
2022  ? yytable[yyi]
2023  : yydefgoto[yylhs]);
2024  }
2025 
2026  goto yynewstate;
2027 
2028 
2029 /*--------------------------------------.
2030 | yyerrlab -- here on detecting error. |
2031 `--------------------------------------*/
2032 yyerrlab:
2033  /* Make sure we have latest lookahead translation. See comments at
2034  user semantic actions for why this is necessary. */
2035  yytoken = yychar == YYEMPTY ? YYEMPTY : YYTRANSLATE (yychar);
2036 
2037  /* If not already recovering from an error, report this error. */
2038  if (!yyerrstatus)
2039  {
2040  ++yynerrs;
2041 #if ! YYERROR_VERBOSE
2042  yyerror (ctx, YY_("syntax error"));
2043 #else
2044 # define YYSYNTAX_ERROR yysyntax_error (&yymsg_alloc, &yymsg, \
2045  yyssp, yytoken)
2046  {
2047  char const *yymsgp = YY_("syntax error");
2048  int yysyntax_error_status;
2049  yysyntax_error_status = YYSYNTAX_ERROR;
2050  if (yysyntax_error_status == 0)
2051  yymsgp = yymsg;
2052  else if (yysyntax_error_status == 1)
2053  {
2054  if (yymsg != yymsgbuf)
2055  YYSTACK_FREE (yymsg);
2056  yymsg = (char *) YYSTACK_ALLOC (yymsg_alloc);
2057  if (!yymsg)
2058  {
2059  yymsg = yymsgbuf;
2060  yymsg_alloc = sizeof yymsgbuf;
2061  yysyntax_error_status = 2;
2062  }
2063  else
2064  {
2065  yysyntax_error_status = YYSYNTAX_ERROR;
2066  yymsgp = yymsg;
2067  }
2068  }
2069  yyerror (ctx, yymsgp);
2070  if (yysyntax_error_status == 2)
2071  goto yyexhaustedlab;
2072  }
2073 # undef YYSYNTAX_ERROR
2074 #endif
2075  }
2076 
2077 
2078 
2079  if (yyerrstatus == 3)
2080  {
2081  /* If just tried and failed to reuse lookahead token after an
2082  error, discard it. */
2083 
2084  if (yychar <= YYEOF)
2085  {
2086  /* Return failure if at end of input. */
2087  if (yychar == YYEOF)
2088  YYABORT;
2089  }
2090  else
2091  {
2092  yydestruct ("Error: discarding",
2093  yytoken, &yylval, ctx);
2094  yychar = YYEMPTY;
2095  }
2096  }
2097 
2098  /* Else will try to reuse lookahead token after shifting the error
2099  token. */
2100  goto yyerrlab1;
2101 
2102 
2103 /*---------------------------------------------------.
2104 | yyerrorlab -- error raised explicitly by YYERROR. |
2105 `---------------------------------------------------*/
2106 yyerrorlab:
2107  /* Pacify compilers when the user code never invokes YYERROR and the
2108  label yyerrorlab therefore never appears in user code. */
2109  if (0)
2110  YYERROR;
2111 
2112  /* Do not reclaim the symbols of the rule whose action triggered
2113  this YYERROR. */
2114  YYPOPSTACK (yylen);
2115  yylen = 0;
2116  YY_STACK_PRINT (yyss, yyssp);
2117  yystate = *yyssp;
2118  goto yyerrlab1;
2119 
2120 
2121 /*-------------------------------------------------------------.
2122 | yyerrlab1 -- common code for both syntax error and YYERROR. |
2123 `-------------------------------------------------------------*/
2124 yyerrlab1:
2125  yyerrstatus = 3; /* Each real token shifted decrements this. */
2126 
2127  for (;;)
2128  {
2129  yyn = yypact[yystate];
2130  if (!yypact_value_is_default (yyn))
2131  {
2132  yyn += YYTERROR;
2133  if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR)
2134  {
2135  yyn = yytable[yyn];
2136  if (0 < yyn)
2137  break;
2138  }
2139  }
2140 
2141  /* Pop the current state because it cannot handle the error token. */
2142  if (yyssp == yyss)
2143  YYABORT;
2144 
2145 
2146  yydestruct ("Error: popping",
2147  yystos[yystate], yyvsp, ctx);
2148  YYPOPSTACK (1);
2149  yystate = *yyssp;
2150  YY_STACK_PRINT (yyss, yyssp);
2151  }
2152 
2154  *++yyvsp = yylval;
2156 
2157 
2158  /* Shift the error token. */
2159  YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp);
2160 
2161  yystate = yyn;
2162  goto yynewstate;
2163 
2164 
2165 /*-------------------------------------.
2166 | yyacceptlab -- YYACCEPT comes here. |
2167 `-------------------------------------*/
2168 yyacceptlab:
2169  yyresult = 0;
2170  goto yyreturn;
2171 
2172 
2173 /*-----------------------------------.
2174 | yyabortlab -- YYABORT comes here. |
2175 `-----------------------------------*/
2176 yyabortlab:
2177  yyresult = 1;
2178  goto yyreturn;
2179 
2180 
2181 #if !defined yyoverflow || YYERROR_VERBOSE
2182 /*-------------------------------------------------.
2183 | yyexhaustedlab -- memory exhaustion comes here. |
2184 `-------------------------------------------------*/
2185 yyexhaustedlab:
2186  yyerror (ctx, YY_("memory exhausted"));
2187  yyresult = 2;
2188  /* Fall through. */
2189 #endif
2190 
2191 
2192 /*-----------------------------------------------------.
2193 | yyreturn -- parsing is finished, return the result. |
2194 `-----------------------------------------------------*/
2195 yyreturn:
2196  if (yychar != YYEMPTY)
2197  {
2198  /* Make sure we have latest lookahead translation. See comments at
2199  user semantic actions for why this is necessary. */
2200  yytoken = YYTRANSLATE (yychar);
2201  yydestruct ("Cleanup: discarding lookahead",
2202  yytoken, &yylval, ctx);
2203  }
2204  /* Do not reclaim the symbols of the rule whose action triggered
2205  this YYABORT or YYACCEPT. */
2206  YYPOPSTACK (yylen);
2207  YY_STACK_PRINT (yyss, yyssp);
2208  while (yyssp != yyss)
2209  {
2210  yydestruct ("Cleanup: popping",
2211  yystos[*yyssp], yyvsp, ctx);
2212  YYPOPSTACK (1);
2213  }
2214 #ifndef yyoverflow
2215  if (yyss != yyssa)
2216  YYSTACK_FREE (yyss);
2217 #endif
2218 #if YYERROR_VERBOSE
2219  if (yymsg != yymsgbuf)
2220  YYSTACK_FREE (yymsg);
2221 #endif
2222  return yyresult;
2223 }
#define PARSER_BUBBLE_UP_VIEW(parser, result, current_view)
Definition: wql.tab.c:285
#define YYINITDEPTH
Definition: wql.tab.c:1011
#define YYSTACK_ALLOC
Definition: wql.tab.c:535
static struct expr * expr_bval(struct parser *parser, int val)
Definition: wql.tab.c:260
#define OP_EQ
Definition: query.h:36
#define OP_GE
Definition: query.h:42
#define yyerror
Definition: wql.tab.c:69
static WCHAR * get_path(struct parser *parser, const struct string *str)
Definition: wql.tab.c:175
HRESULT hr
Definition: shlfolder.c:183
#define YY_IGNORE_MAYBE_UNINITIALIZED_END
Definition: wql.tab.c:487
static const yytype_uint8 yyr1[]
Definition: wql.tab.c:823
#define YY_SYMBOL_PRINT(Title, Type, Value, Location)
Definition: wql.tab.c:1003
YYLTYPE yylloc
Definition: hlsl.tab.c:2413
#define YYPOPSTACK(N)
#define YYEOF
Definition: wql.tab.c:846
#define YY_REDUCE_PRINT(Rule)
Definition: wql.tab.c:1005
#define yychar
Definition: asmshader.tab.c:74
LPWSTR string
Definition: sql.tab.c:240
#define yynerrs
Definition: wql.tab.c:71
#define yylex
Definition: wql.tab.c:68
static const yytype_uint8 yytable[]
Definition: wql.tab.c:779
static struct expr * expr_ival(struct parser *parser, int val)
Definition: wql.tab.c:236
#define YY_(Msgid)
Definition: wql.tab.c:445
short yytype_int16
#define YYSTACK_BYTES(N)
Definition: wql.tab.c:580
static void yydestruct(const char *yymsg, int yytype, YYSTYPE *yyvaluep, struct parser *ctx)
Definition: wql.tab.c:1258
Definition: query.h:86
static int get_int(struct parser *parser)
Definition: wql.tab.c:193
BOOL integer
#define OP_AND
Definition: query.h:37
const struct keyword * keywordlist
#define yylval
Definition: asmshader.tab.c:73
#define YYDPRINTF(Args)
Definition: wql.tab.c:1002
static struct expr * expr_unary(struct parser *parser, struct expr *l, UINT op)
Definition: wql.tab.c:223
static struct keyword * alloc_keyword(struct parser *parser, const WCHAR *name, const WCHAR *value)
Definition: wql.tab.c:143
#define YY_INITIAL_VALUE(Value)
Definition: wql.tab.c:483
#define YYACCEPT
Definition: wql.tab.c:848
static const yytype_int8 yypgoto[]
Definition: wql.tab.c:763
static const yytype_int8 yypact[]
Definition: wql.tab.c:733
#define YYEMPTY
Definition: wql.tab.c:845
const WCHAR * str
Definition: