ReactOS  0.4.15-dev-506-ga3ec01c
wql.tab.h
Go to the documentation of this file.
1 /* A Bison parser, made by GNU Bison 3.4.1. */
2 
3 /* Bison interface for Yacc-like parsers in C
4 
5  Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2019 Free Software Foundation,
6  Inc.
7 
8  This program is free software: you can redistribute it and/or modify
9  it under the terms of the GNU General Public License as published by
10  the Free Software Foundation, either version 3 of the License, or
11  (at your option) any later version.
12 
13  This program is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  GNU General Public License for more details.
17 
18  You should have received a copy of the GNU General Public License
19  along with this program. If not, see <http://www.gnu.org/licenses/>. */
20 
21 /* As a special exception, you may create a larger work that contains
22  part or all of the Bison parser skeleton and distribute that work
23  under terms of your choice, so long as that work isn't itself a
24  parser generator using the skeleton or a modified version thereof
25  as a parser skeleton. Alternatively, if you modify or redistribute
26  the parser skeleton itself, you may (at your option) remove this
27  special exception, which will cause the skeleton and the resulting
28  Bison output files to be licensed under the GNU General Public
29  License without this special exception.
30 
31  This special exception was added by the Free Software Foundation in
32  version 2.2 of Bison. */
33 
34 /* Undocumented macros, especially those whose name start with YY_,
35  are private implementation details. Do not rely on them. */
36 
37 #ifndef YY_WQL_E_REACTOSSYNC_GCC_DLL_WIN32_WBEMPROX_WQL_TAB_H_INCLUDED
38 # define YY_WQL_E_REACTOSSYNC_GCC_DLL_WIN32_WBEMPROX_WQL_TAB_H_INCLUDED
39 /* Debug traces. */
40 #ifndef YYDEBUG
41 # define YYDEBUG 0
42 #endif
43 #if YYDEBUG
44 extern int wql_debug;
45 #endif
46 
47 /* Token type. */
48 #ifndef YYTOKENTYPE
49 # define YYTOKENTYPE
51  {
52  TK_SELECT = 258,
53  TK_FROM = 259,
54  TK_STAR = 260,
55  TK_COMMA = 261,
56  TK_DOT = 262,
57  TK_IS = 263,
58  TK_LP = 264,
59  TK_RP = 265,
60  TK_NULL = 266,
61  TK_FALSE = 267,
62  TK_TRUE = 268,
63  TK_INTEGER = 269,
64  TK_WHERE = 270,
65  TK_SPACE = 271,
66  TK_MINUS = 272,
67  TK_ILLEGAL = 273,
68  TK_BY = 274,
70  TK_OF = 276,
71  TK_STRING = 277,
72  TK_ID = 278,
73  TK_PATH = 279,
74  TK_OR = 280,
75  TK_AND = 281,
76  TK_NOT = 282,
77  TK_EQ = 283,
78  TK_NE = 284,
79  TK_LT = 285,
80  TK_GT = 286,
81  TK_LE = 287,
82  TK_GE = 288,
83  TK_LIKE = 289
84  };
85 #endif
86 
87 /* Value type. */
88 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
89 union YYSTYPE
90 {
91 #line 222 "wql.y"
92 
93  struct string str;
94  WCHAR *string;
95  struct property *proplist;
96  struct keyword *keywordlist;
97  struct view *view;
98  struct expr *expr;
99  int integer;
100 
101 #line 102 "wql.tab.h"
102 
103 };
104 typedef union YYSTYPE YYSTYPE;
105 # define YYSTYPE_IS_TRIVIAL 1
106 # define YYSTYPE_IS_DECLARED 1
107 #endif
108 
109 
110 
111 int wql_parse (struct parser *ctx);
112 
113 #endif /* !YY_WQL_E_REACTOSSYNC_GCC_DLL_WIN32_WBEMPROX_WQL_TAB_H_INCLUDED */
Definition: wql.tab.h:74
Definition: wql.tab.h:79
int wql_parse(struct parser *ctx)
LPWSTR string
Definition: sql.tab.c:240
Definition: wql.tab.h:81
Definition: wql.tab.h:59
Definition: wql.tab.h:80
Definition: query.h:86
BOOL integer
jsstr_t * str
Definition: parser.tab.c:295
Definition: wql.tab.h:68
yytokentype
Definition: wql.tab.h:58
Definition: wql.tab.h:75
__wchar_t WCHAR
Definition: xmlstorage.h:180
Definition: wql.tab.h:76
Definition: wql.tab.h:72
Definition: wql.tab.h:70
Definition: wql.tab.h:57
struct keyword * keywordlist
Definition: wql.tab.c:373
Definition: wql.tab.h:56
Definition: wql.tab.h:82
expression_t * expr
Definition: parser.tab.c:302
Definition: wql.tab.h:78
Definition: import.c:85
Definition: wql.tab.h:77
struct view * view
Definition: wql.tab.c:374
struct property * proplist
Definition: wql.tab.c:372