KHolidays Library
#include <holidayparserplan.hpp>
Classes | |
union | semantic_type |
struct | token |
Public Types | |
typedef int | debug_level_type |
typedef location | location_type |
typedef token::yytokentype | token_type |
Public Member Functions | |
HolidayParserPlan (class HolidayParserDriverPlan &driver_yyarg) | |
debug_level_type | debug_level () const |
std::ostream & | debug_stream () const |
virtual int | parse () |
void | set_debug_level (debug_level_type l) |
void | set_debug_stream (std::ostream &) |
Detailed Description
A Bison parser.
Definition at line 114 of file holidayparserplan.hpp.
Member Typedef Documentation
typedef int KHolidays::HolidayParserPlan::debug_level_type |
Type for debugging levels.
Definition at line 191 of file holidayparserplan.hpp.
Symbol locations.
Definition at line 134 of file holidayparserplan.hpp.
typedef token::yytokentype KHolidays::HolidayParserPlan::token_type |
Token type.
Definition at line 174 of file holidayparserplan.hpp.
Constructor & Destructor Documentation
KHolidays::HolidayParserPlan::HolidayParserPlan | ( | class HolidayParserDriverPlan & | driver_yyarg | ) |
Build a parser object.
Definition at line 194 of file holidayparserplan.cpp.
Member Function Documentation
HolidayParserPlan::debug_level_type KHolidays::HolidayParserPlan::debug_level | ( | ) | const |
The current debugging level.
Definition at line 289 of file holidayparserplan.cpp.
std::ostream & KHolidays::HolidayParserPlan::debug_stream | ( | ) | const |
The current debugging stream.
Definition at line 276 of file holidayparserplan.cpp.
|
virtual |
Parse.
- Returns
- 0 iff parsing succeeded.
Lookahead and lookahead in internal form.
Semantic value of the lookahead.
Location of the lookahead.
The locations where the error started and ended.
$$.
$.
Definition at line 302 of file holidayparserplan.cpp.
void KHolidays::HolidayParserPlan::set_debug_level | ( | debug_level_type | l | ) |
Set the current debugging level.
Definition at line 295 of file holidayparserplan.cpp.
void KHolidays::HolidayParserPlan::set_debug_stream | ( | std::ostream & | o | ) |
Set the current debugging stream.
Definition at line 282 of file holidayparserplan.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.