513c2ef05384f6685fef7526fd3bdd1b4999677b
[reactos.git] / dll / win32 / vbscript / parser.tab.h
1 /* A Bison parser, made by GNU Bison 3.0. */
2
3 /* Bison interface for Yacc-like parsers in C
4
5 Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc.
6
7 This program is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>. */
19
20 /* As a special exception, you may create a larger work that contains
21 part or all of the Bison parser skeleton and distribute that work
22 under terms of your choice, so long as that work isn't itself a
23 parser generator using the skeleton or a modified version thereof
24 as a parser skeleton. Alternatively, if you modify or redistribute
25 the parser skeleton itself, you may (at your option) remove this
26 special exception, which will cause the skeleton and the resulting
27 Bison output files to be licensed under the GNU General Public
28 License without this special exception.
29
30 This special exception was added by the Free Software Foundation in
31 version 2.2 of Bison. */
32
33 #ifndef YY_PARSER_E_REACTOSSYNC3_0_GCC_DLL_WIN32_VBSCRIPT_PARSER_TAB_H_INCLUDED
34 # define YY_PARSER_E_REACTOSSYNC3_0_GCC_DLL_WIN32_VBSCRIPT_PARSER_TAB_H_INCLUDED
35 /* Debug traces. */
36 #ifndef YYDEBUG
37 # define YYDEBUG 0
38 #endif
39 #if YYDEBUG
40 extern int parser_debug;
41 #endif
42
43 /* Token type. */
44 #ifndef YYTOKENTYPE
45 # define YYTOKENTYPE
46 enum yytokentype
47 {
48 tEOF = 258,
49 tNL = 259,
50 tREM = 260,
51 tEMPTYBRACKETS = 261,
52 tTRUE = 262,
53 tFALSE = 263,
54 tNOT = 264,
55 tAND = 265,
56 tOR = 266,
57 tXOR = 267,
58 tEQV = 268,
59 tIMP = 269,
60 tNEQ = 270,
61 tIS = 271,
62 tLTEQ = 272,
63 tGTEQ = 273,
64 tMOD = 274,
65 tCALL = 275,
66 tDIM = 276,
67 tSUB = 277,
68 tFUNCTION = 278,
69 tPROPERTY = 279,
70 tGET = 280,
71 tLET = 281,
72 tCONST = 282,
73 tIF = 283,
74 tELSE = 284,
75 tELSEIF = 285,
76 tEND = 286,
77 tTHEN = 287,
78 tEXIT = 288,
79 tWHILE = 289,
80 tWEND = 290,
81 tDO = 291,
82 tLOOP = 292,
83 tUNTIL = 293,
84 tFOR = 294,
85 tTO = 295,
86 tSTEP = 296,
87 tEACH = 297,
88 tIN = 298,
89 tSELECT = 299,
90 tCASE = 300,
91 tBYREF = 301,
92 tBYVAL = 302,
93 tOPTION = 303,
94 tEXPLICIT = 304,
95 tSTOP = 305,
96 tNOTHING = 306,
97 tEMPTY = 307,
98 tNULL = 308,
99 tCLASS = 309,
100 tSET = 310,
101 tNEW = 311,
102 tPUBLIC = 312,
103 tPRIVATE = 313,
104 tDEFAULT = 314,
105 tME = 315,
106 tERROR = 316,
107 tNEXT = 317,
108 tON = 318,
109 tRESUME = 319,
110 tGOTO = 320,
111 tIdentifier = 321,
112 tString = 322,
113 tLong = 323,
114 tShort = 324,
115 tDouble = 325
116 };
117 #endif
118
119 /* Value type. */
120 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
121 typedef union YYSTYPE YYSTYPE;
122 union YYSTYPE
123 {
124 #line 83 "parser.y" /* yacc.c:1909 */
125
126 const WCHAR *string;
127 statement_t *statement;
128 expression_t *expression;
129 member_expression_t *member;
130 elseif_decl_t *elseif;
131 dim_decl_t *dim_decl;
132 dim_list_t *dim_list;
133 function_decl_t *func_decl;
134 arg_decl_t *arg_decl;
135 class_decl_t *class_decl;
136 const_decl_t *const_decl;
137 case_clausule_t *case_clausule;
138 unsigned uint;
139 LONG lng;
140 BOOL boolean;
141 double dbl;
142
143 #line 144 "parser.tab.h" /* yacc.c:1909 */
144 };
145 # define YYSTYPE_IS_TRIVIAL 1
146 # define YYSTYPE_IS_DECLARED 1
147 #endif
148
149
150
151 int parser_parse (parser_ctx_t *ctx);
152
153 #endif /* !YY_PARSER_E_REACTOSSYNC3_0_GCC_DLL_WIN32_VBSCRIPT_PARSER_TAB_H_INCLUDED */