KHolidays Library
37#ifndef PARSER_HEADER_H
38# define PARSER_HEADER_H
48#line 1 "[Bison:b4_percent_define_default]"
53#line 54 "holidayparserplan.hpp"
58#line 1 "[Bison:b4_percent_define_default]"
63#line 64 "holidayparserplan.hpp"
74# undef YYERROR_VERBOSE
75# define YYERROR_VERBOSE 1
77# define YYERROR_VERBOSE 1
82# define YYTOKEN_TABLE 0
90# define YYLLOC_DEFAULT(Current, Rhs, N) \
94 (Current).begin = (Rhs)[1].begin; \
95 (Current).end = (Rhs)[N].end; \
99 (Current).begin = (Current).end = (Rhs)[0].end; \
106#line 1 "[Bison:b4_percent_define_default]"
111#line 112 "holidayparserplan.hpp"
123#line 86 "holidayparserplan.ypp"
124 int ival;
char *sval;
128#line 129 "holidayparserplan.hpp"
182 virtual int parse ();
186 std::ostream& debug_stream ()
const;
188 void set_debug_stream (std::ostream &);
191 typedef int debug_level_type;
193 debug_level_type debug_level ()
const;
195 void set_debug_level (debug_level_type l);
202 virtual void error (
const location_type& loc,
const std::string& msg);
207 virtual std::string yysyntax_error_ (
int yystate,
int tok);
214 virtual void yy_symbol_value_print_ (
int yytype,
221 virtual void yy_symbol_print_ (
int yytype,
228 typedef int state_type;
230 typedef stack<state_type> state_stack_type;
232 typedef stack<semantic_type> semantic_stack_type;
234 typedef stack<location_type> location_stack_type;
237 state_stack_type yystate_stack_;
239 semantic_stack_type yysemantic_stack_;
241 location_stack_type yylocation_stack_;
244 typedef unsigned char token_number_type;
247 static const short int yypact_[];
248 static const signed char yypact_ninf_;
253 static const unsigned char yydefact_[];
255 static const signed char yypgoto_[];
256 static const signed char yydefgoto_[];
263 static const short int yytable_[];
264 static const signed char yytable_ninf_;
266 static const short int yycheck_[];
269 static const unsigned char yystos_[];
272 static const unsigned char yyr1_[];
274 static const unsigned char yyr2_[];
276#if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE
278 static const char*
const yytname_[];
283 virtual std::string yytnamerr_ (
const char *n);
288 typedef signed char rhs_number_type;
290 static const rhs_number_type yyrhs_[];
292 static const unsigned short int yyprhs_[];
294 static const unsigned char yyrline_[];
296 static const unsigned short int yytoken_number_[];
298 virtual void yy_reduce_print_ (
int r);
300 virtual void yystack_print_ ();
304 std::ostream* yycdebug_;
308 token_number_type yytranslate_ (
int t);
315 inline void yydestruct_ (
const char* yymsg,
321 inline void yypop_ (
unsigned int n = 1);
324 static const int yyeof_;
326 static const int yylast_;
327 static const int yynnts_;
328 static const int yyempty_;
329 static const int yyfinal_;
330 static const int yyterror_;
331 static const int yyerrcode_;
332 static const int yyntokens_;
333 static const unsigned int yyuser_token_number_max_;
334 static const token_number_type yyundef_token_;
341#line 1 "[Bison:b4_percent_define_default]"
346#line 347 "holidayparserplan.hpp"
HolidayParserDriverPlan implementation class.
token::yytokentype token_type
Token type.
virtual int parse()
Parse.
location location_type
Symbol locations.
Define the KHolidays::location class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by
doxygen 1.9.5 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.