[PSAPI_WINETEST] Sync with Wine Staging 2.16. CORE-13762
[reactos.git] / dll / win32 / jscript / parser.tab.h
1 /* A Bison parser, made by GNU Bison 3.0.2. */
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_PARSER_TAB_H_INCLUDED
34 # define YY_PARSER_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 kBREAK = 258,
49 kCASE = 259,
50 kCATCH = 260,
51 kCONTINUE = 261,
52 kDEFAULT = 262,
53 kDELETE = 263,
54 kDO = 264,
55 kELSE = 265,
56 kIF = 266,
57 kFINALLY = 267,
58 kFOR = 268,
59 kIN = 269,
60 kINSTANCEOF = 270,
61 kNEW = 271,
62 kNULL = 272,
63 kRETURN = 273,
64 kSWITCH = 274,
65 kTHIS = 275,
66 kTHROW = 276,
67 kTRUE = 277,
68 kFALSE = 278,
69 kTRY = 279,
70 kTYPEOF = 280,
71 kVAR = 281,
72 kVOID = 282,
73 kWHILE = 283,
74 kWITH = 284,
75 tANDAND = 285,
76 tOROR = 286,
77 tINC = 287,
78 tDEC = 288,
79 tHTMLCOMMENT = 289,
80 kDIVEQ = 290,
81 kDCOL = 291,
82 kFUNCTION = 292,
83 tIdentifier = 293,
84 tAssignOper = 294,
85 tEqOper = 295,
86 tShiftOper = 296,
87 tRelOper = 297,
88 tNumericLiteral = 298,
89 tBooleanLiteral = 299,
90 tStringLiteral = 300,
91 tEOF = 301,
92 LOWER_THAN_ELSE = 302
93 };
94 #endif
95
96 /* Value type. */
97 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
98 typedef union YYSTYPE YYSTYPE;
99 union YYSTYPE
100 {
101 #line 145 "parser.y" /* yacc.c:1909 */
102
103 int ival;
104 const WCHAR *srcptr;
105 LPCWSTR wstr;
106 literal_t *literal;
107 struct _argument_list_t *argument_list;
108 case_clausule_t *case_clausule;
109 struct _case_list_t *case_list;
110 catch_block_t *catch_block;
111 struct _element_list_t *element_list;
112 expression_t *expr;
113 const WCHAR *identifier;
114 struct _parameter_list_t *parameter_list;
115 struct _property_list_t *property_list;
116 source_elements_t *source_elements;
117 statement_t *statement;
118 struct _statement_list_t *statement_list;
119 struct _variable_list_t *variable_list;
120 variable_declaration_t *variable_declaration;
121
122 #line 123 "parser.tab.h" /* yacc.c:1909 */
123 };
124 # define YYSTYPE_IS_TRIVIAL 1
125 # define YYSTYPE_IS_DECLARED 1
126 #endif
127
128
129
130 int parser_parse (parser_ctx_t *ctx);
131
132 #endif /* !YY_PARSER_PARSER_TAB_H_INCLUDED */