yast2-core
parser.hh
Go to the documentation of this file.
1 /* A Bison parser, made by GNU Bison 2.7. */
2 
3 /* Bison interface for Yacc-like parsers in C
4 
5  Copyright (C) 1984, 1989-1990, 2000-2012 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_YY_PARSER_HH_INCLUDED
34 # define YY_YY_PARSER_HH_INCLUDED
35 /* Enabling traces. */
36 #ifndef YYDEBUG
37 # define YYDEBUG 0
38 #endif
39 #if YYDEBUG
40 extern int yydebug;
41 #endif
42 /* "%code requires" blocks. */
43 /* Line 2058 of yacc.c */
44 #line 386 "parser.yy"
45 
46  #include "ycp/Parser.h"
47 
48 
49 /* Line 2058 of yacc.c */
50 #line 51 "parser.hh"
51 
52 /* Tokens. */
53 #ifndef YYTOKENTYPE
54 # define YYTOKENTYPE
55  /* Put the tokens into the symbol table, so that GDB and other debuggers
56  know about them. */
57  enum yytokentype {
59  END_OF_FILE = 259,
60  EMPTY = 260,
61  LIST = 261,
62  MAP = 262,
63  STRUCT = 263,
64  BLOCK = 264,
65  DEFINE = 265,
66  UNDEFINE = 266,
67  I18N = 267,
68  RETURN = 268,
69  CONTINUE = 269,
70  BREAK = 270,
71  IF = 271,
72  DO = 272,
73  WHILE = 273,
74  REPEAT = 274,
75  UNTIL = 275,
76  IS = 276,
77  ISNIL = 277,
78  SYMBOL = 278,
79  DCSYMBOL = 279,
81  QUOTED_BLOCK = 281,
83  CLOSEBRACKET = 283,
84  TYPEDEF = 284,
85  MODULE = 285,
86  IMPORT = 286,
87  EXPORT = 287,
88  MAPEXPR = 288,
89  INCLUDE = 289,
90  GLOBAL = 290,
91  TEXTDOMAIN = 291,
92  CONST = 292,
93  FULLNAME = 293,
94  STATIC = 294,
95  EXTERN = 295,
96  LOOKUP = 296,
97  SELECT = 297,
98  SWITCH = 298,
99  CASE = 299,
100  DEFAULT = 300,
102  IDENTIFIER = 302,
103  STRING = 303,
104  C_VOID = 304,
105  C_BOOLEAN = 305,
106  C_INTEGER = 306,
107  C_FLOAT = 307,
108  C_BYTEBLOCK = 308,
109  C_PATH = 309,
110  C_SYMBOL = 310,
111  C_TYPE = 311,
112  OR = 312,
113  AND = 313,
114  NEQ = 314,
115  EQUALS = 315,
116  GE = 316,
117  LE = 317,
118  RIGHT = 318,
119  LEFT = 319,
120  ELSE = 320,
121  UMINUS = 321
122  };
123 #endif
124 /* Tokens. */
125 #define SCANNER_ERROR 258
126 #define END_OF_FILE 259
127 #define EMPTY 260
128 #define LIST 261
129 #define MAP 262
130 #define STRUCT 263
131 #define BLOCK 264
132 #define DEFINE 265
133 #define UNDEFINE 266
134 #define I18N 267
135 #define RETURN 268
136 #define CONTINUE 269
137 #define BREAK 270
138 #define IF 271
139 #define DO 272
140 #define WHILE 273
141 #define REPEAT 274
142 #define UNTIL 275
143 #define IS 276
144 #define ISNIL 277
145 #define SYMBOL 278
146 #define DCSYMBOL 279
147 #define DCQUOTED_BLOCK 280
148 #define QUOTED_BLOCK 281
149 #define QUOTED_EXPRESSION 282
150 #define CLOSEBRACKET 283
151 #define TYPEDEF 284
152 #define MODULE 285
153 #define IMPORT 286
154 #define EXPORT 287
155 #define MAPEXPR 288
156 #define INCLUDE 289
157 #define GLOBAL 290
158 #define TEXTDOMAIN 291
159 #define CONST 292
160 #define FULLNAME 293
161 #define STATIC 294
162 #define EXTERN 295
163 #define LOOKUP 296
164 #define SELECT 297
165 #define SWITCH 298
166 #define CASE 299
167 #define DEFAULT 300
168 #define SYM_NAMESPACE 301
169 #define IDENTIFIER 302
170 #define STRING 303
171 #define C_VOID 304
172 #define C_BOOLEAN 305
173 #define C_INTEGER 306
174 #define C_FLOAT 307
175 #define C_BYTEBLOCK 308
176 #define C_PATH 309
177 #define C_SYMBOL 310
178 #define C_TYPE 311
179 #define OR 312
180 #define AND 313
181 #define NEQ 314
182 #define EQUALS 315
183 #define GE 316
184 #define LE 317
185 #define RIGHT 318
186 #define LEFT 319
187 #define ELSE 320
188 #define UMINUS 321
189 
190 
191 
192 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
193 typedef int YYSTYPE;
194 # define YYSTYPE_IS_TRIVIAL 1
195 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
196 # define YYSTYPE_IS_DECLARED 1
197 #endif
198 
199 
200 #ifdef YYPARSE_PARAM
201 #if defined __STDC__ || defined __cplusplus
202 int yyparse (void *YYPARSE_PARAM);
203 #else
204 int yyparse ();
205 #endif
206 #else /* ! YYPARSE_PARAM */
207 #if defined __STDC__ || defined __cplusplus
208 int yyparse (Parser *vp_parser);
209 #else
210 int yyparse ();
211 #endif
212 #endif /* ! YYPARSE_PARAM */
213 
214 #endif /* !YY_YY_PARSER_HH_INCLUDED */
#define MODULE
Definition: parser.cc:486
#define DCQUOTED_BLOCK
Definition: parser.cc:481
#define SWITCH
Definition: parser.cc:499
#define OR
Definition: parser.cc:513
#define SYMBOL
Definition: parser.cc:479
#define STRING
Definition: parser.cc:504
#define SELECT
Definition: parser.cc:498
#define QUOTED_EXPRESSION
Definition: parser.cc:483
#define C_FLOAT
Definition: parser.cc:508
#define DEFINE
Definition: parser.cc:466
#define SCANNER_ERROR
Definition: parser.cc:459
#define C_TYPE
Definition: parser.cc:512
#define WHILE
Definition: parser.cc:474
#define C_VOID
Definition: parser.cc:505
#define EQUALS
Definition: parser.cc:516
#define ISNIL
Definition: parser.cc:478
#define C_PATH
Definition: parser.cc:510
#define LEFT
Definition: parser.cc:520
#define RETURN
Definition: parser.cc:469
#define UNDEFINE
Definition: parser.cc:467
#define C_SYMBOL
Definition: parser.cc:511
#define MAP
Definition: parser.cc:463
#define EMPTY
Definition: parser.cc:461
#define ELSE
Definition: parser.cc:521
#define SYM_NAMESPACE
Definition: parser.cc:502
#define C_BOOLEAN
Definition: parser.cc:506
#define STATIC
Definition: parser.cc:495
#define RIGHT
Definition: parser.cc:519
#define CONTINUE
Definition: parser.cc:470
#define LIST
Definition: parser.cc:462
#define DCSYMBOL
Definition: parser.cc:480
#define UMINUS
Definition: parser.cc:522
#define LE
Definition: parser.cc:518
#define NEQ
Definition: parser.cc:515
#define TYPEDEF
Definition: parser.cc:485
#define TEXTDOMAIN
Definition: parser.cc:492
#define IF
Definition: parser.cc:472
#define CASE
Definition: parser.cc:500
#define DO
Definition: parser.cc:473
int yydebug
#define FULLNAME
Definition: parser.cc:494
#define I18N
Definition: parser.cc:468
#define GLOBAL
Definition: parser.cc:491
#define C_INTEGER
Definition: parser.cc:507
#define DEFAULT
Definition: parser.cc:501
#define MAPEXPR
Definition: parser.cc:489
#define LOOKUP
Definition: parser.cc:497
#define C_BYTEBLOCK
Definition: parser.cc:509
#define GE
Definition: parser.cc:517
#define STRUCT
Definition: parser.cc:464
#define CLOSEBRACKET
Definition: parser.cc:484
#define REPEAT
Definition: parser.cc:475
#define IS
Definition: parser.cc:477
#define UNTIL
Definition: parser.cc:476
#define INCLUDE
Definition: parser.cc:490
#define EXPORT
Definition: parser.cc:488
#define BLOCK
Definition: parser.cc:465
int yyparse()
#define AND
Definition: parser.cc:514
#define EXTERN
Definition: parser.cc:496
yytokentype
Definition: parser.cc:391
#define IDENTIFIER
Definition: parser.cc:503
#define BREAK
Definition: parser.cc:471
#define END_OF_FILE
Definition: parser.cc:460
Parser * vp_parser
Definition: parser.cc:1946
#define CONST
Definition: parser.cc:493
#define QUOTED_BLOCK
Definition: parser.cc:482
int YYSTYPE
Definition: parser.hh:193
#define IMPORT
Definition: parser.cc:487
YCP language parser.
Definition: Parser.h:65

Generated on a sunny day for yast2-core by doxygen 1.8.5