Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

115 lines
4.0 KiB

  1. /*++
  2. Copyright (C) 1997-2001 Microsoft Corporation
  3. Module Name:
  4. WQLLEX.H
  5. Abstract:
  6. WQL DFA Table & Tokenizer
  7. History:
  8. raymcc 14-Sep-97 Created.
  9. --*/
  10. #ifndef _WQLLEX_H_
  11. #include <genlex.h>
  12. #define WQL_TOK_EOF 0
  13. #define WQL_TOK_ERROR 1
  14. #define WQL_TOK_SELECT 256
  15. #define WQL_TOK_ALL 257
  16. #define WQL_TOK_DISTINCT 258
  17. #define WQL_TOK_OPTIONS_DUMMY 259
  18. #define WQL_TOK_ASTERISK 260
  19. #define WQL_TOK_COUNT 261
  20. #define WQL_TOK_COMMA 262
  21. #define WQL_TOK_OPEN_PAREN 263
  22. #define WQL_TOK_CLOSE_PAREN 264
  23. #define WQL_TOK_IDENT 265
  24. #define WQL_TOK_DOT 266
  25. #define WQL_TOK_FROM 267
  26. #define WQL_TOK_AS 268
  27. #define WQL_TOK_INNER 269
  28. #define WQL_TOK_FULL 270
  29. #define WQL_TOK_LEFT 271
  30. #define WQL_TOK_RIGHT 272
  31. #define WQL_TOK_OUTER 273
  32. #define WQL_TOK_JOIN 274
  33. #define WQL_TOK_ON 275
  34. #define WQL_TOK_WHERE 276
  35. #define WQL_TOK_GROUP 277
  36. #define WQL_TOK_BY 278
  37. #define WQL_TOK_HAVING 279
  38. #define WQL_TOK_ORDER 280
  39. #define WQL_TOK_OR 281
  40. #define WQL_TOK_AND 282
  41. #define WQL_TOK_NOT 283
  42. #define WQL_TOK_LE 284
  43. #define WQL_TOK_LT 285
  44. #define WQL_TOK_GE 286
  45. #define WQL_TOK_GT 287
  46. #define WQL_TOK_EQ 288
  47. #define WQL_TOK_NE 289
  48. #define WQL_TOK_LIKE 290
  49. #define WQL_TOK_IS 291
  50. #define WQL_TOK_BEFORE 292
  51. #define WQL_TOK_AFTER 293
  52. #define WQL_TOK_BETWEEN 294
  53. #define WQL_TOK_QSTRING 295
  54. #define WQL_TOK_INT 296
  55. #define WQL_TOK_REAL 297
  56. #define WQL_TOK_CHAR 298
  57. #define WQL_TOK_NULL 299
  58. #define WQL_TOK_OPEN_BRACKET 300
  59. #define WQL_TOK_CLOSE_BRACKET 301
  60. #define WQL_TOK_ISA 302
  61. #define WQL_TOK_A 303
  62. #define WQL_TOK_DAY 304
  63. #define WQL_TOK_MONTH 305
  64. #define WQL_TOK_YEAR 306
  65. #define WQL_TOK_HOUR 307
  66. #define WQL_TOK_MINUTE 308
  67. #define WQL_TOK_SECOND 309
  68. #define WQL_TOK_MILLISECOND 310
  69. #define WQL_TOK_UPPER 311
  70. #define WQL_TOK_LOWER 312
  71. #define WQL_TOK_DATEPART 313
  72. #define WQL_TOK_QUALIFIER 314
  73. #define WQL_TOK_ISNULL 315
  74. #define WQL_TOK_IN 316
  75. #define WQL_TOK_NOT_LIKE 317
  76. #define WQL_TOK_NOT_BEFORE 318
  77. #define WQL_TOK_NOT_AFTER 319
  78. #define WQL_TOK_NOT_BETWEEN 320
  79. #define WQL_TOK_NOT_NULL 321
  80. #define WQL_TOK_NOT_IN 322
  81. #define WQL_TOK_NOT_A 323
  82. #define WQL_TOK_TYPED_EXPR 324
  83. #define WQL_TOK_IN_SUBSELECT 325
  84. #define WQL_TOK_NOT_IN_SUBSELECT 326
  85. #define WQL_TOK_IN_CONST_LIST 327
  86. #define WQL_TOK_NOT_IN_CONST_LIST 328
  87. #define WQL_TOK_ASC 329
  88. #define WQL_TOK_DESC 330
  89. #define WQL_TOK_AGGREGATE 331
  90. #define WQL_TOK_FIRSTROW 332
  91. #define WQL_TOK_PROMPT 333
  92. #define WQL_TOK_UNION 334
  93. extern LexEl WQL_LexTable[];
  94. #endif