ReactOS  0.4.15-dev-1187-g119f102
parser.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_PARSER_E_REACTOSSYNC_GCC_DLL_WIN32_JSCRIPT_PARSER_TAB_H_INCLUDED
38 # define YY_PARSER_E_REACTOSSYNC_GCC_DLL_WIN32_JSCRIPT_PARSER_TAB_H_INCLUDED
39 /* Debug traces. */
40 #ifndef YYDEBUG
41 # define YYDEBUG 0
42 #endif
43 #if YYDEBUG
44 extern int parser_debug;
45 #endif
46 
47 /* Token type. */
48 #ifndef YYTOKENTYPE
49 # define YYTOKENTYPE
51  {
52  kBREAK = 258,
53  kCASE = 259,
54  kCATCH = 260,
55  kCONTINUE = 261,
56  kDEFAULT = 262,
57  kDELETE = 263,
58  kDO = 264,
59  kELSE = 265,
60  kFUNCTION = 266,
61  kIF = 267,
62  kFINALLY = 268,
63  kFOR = 269,
64  kGET = 270,
65  kIN = 271,
66  kSET = 272,
67  kINSTANCEOF = 273,
68  kNEW = 274,
69  kNULL = 275,
70  kRETURN = 276,
71  kSWITCH = 277,
72  kTHIS = 278,
73  kTHROW = 279,
74  kTRUE = 280,
75  kFALSE = 281,
76  kTRY = 282,
77  kTYPEOF = 283,
78  kVAR = 284,
79  kVOID = 285,
80  kWHILE = 286,
81  kWITH = 287,
82  tANDAND = 288,
83  tOROR = 289,
84  tINC = 290,
85  tDEC = 291,
86  tHTMLCOMMENT = 292,
87  kDIVEQ = 293,
88  kDCOL = 294,
89  tIdentifier = 295,
90  tAssignOper = 296,
91  tEqOper = 297,
92  tShiftOper = 298,
93  tRelOper = 299,
97  tEOF = 303,
99  };
100 #endif
101 
102 /* Value type. */
103 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
104 union YYSTYPE
105 {
106 #line 147 "parser.y"
107 
108  int ival;
109  const WCHAR *srcptr;
110  jsstr_t *str;
114  struct _case_list_t *case_list;
118  const WCHAR *identifier;
127 
128 #line 129 "parser.tab.h"
129 
130 };
131 typedef union YYSTYPE YYSTYPE;
132 # define YYSTYPE_IS_TRIVIAL 1
133 # define YYSTYPE_IS_DECLARED 1
134 #endif
135 
136 
137 
139 
140 #endif /* !YY_PARSER_E_REACTOSSYNC_GCC_DLL_WIN32_JSCRIPT_PARSER_TAB_H_INCLUDED */
property_definition_t * property_definition
Definition: parser.tab.c:306
literal_t * literal
Definition: parser.tab.c:296
Definition: parser.tab.h:58
Definition: jsstr.h:39
struct _parameter_list_t * parameter_list
Definition: parser.tab.c:304
int parser_parse(parser_ctx_t *ctx)
source_elements_t * source_elements
Definition: parser.tab.c:307
case_clausule_t * case_clausule
Definition: parser.tab.c:298
jsstr_t * str
Definition: parser.tab.c:295
Definition: parser.tab.h:65
catch_block_t * catch_block
Definition: parser.tab.c:300
struct _element_list_t * element_list
Definition: parser.tab.c:301
struct _case_list_t * case_list
Definition: parser.tab.c:299
yytokentype
Definition: parser.tab.h:61
__wchar_t WCHAR
Definition: xmlstorage.h:180
statement_t * statement
Definition: parser.tab.c:308
struct _variable_list_t * variable_list
Definition: parser.tab.c:310
struct _property_list_t * property_list
Definition: parser.tab.c:305
const WCHAR * identifier
Definition: parser.tab.c:303
int parser_debug
Definition: widl.c:111
const WCHAR * srcptr
Definition: parser.tab.c:294
variable_declaration_t * variable_declaration
Definition: parser.tab.c:311
expression_t * expr
Definition: parser.tab.c:302
struct _statement_list_t * statement_list
Definition: parser.tab.c:309
int ival
Definition: parser.tab.c:293
struct _argument_list_t * argument_list
Definition: parser.tab.c:297