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 186 of file holidayparserplan.hpp.
Symbol locations.
Definition at line 129 of file holidayparserplan.hpp.
typedef token::yytokentype KHolidays::HolidayParserPlan::token_type |
Token type.
Definition at line 170 of file holidayparserplan.hpp.
Constructor & Destructor Documentation
KHolidays::HolidayParserPlan::HolidayParserPlan | ( | class HolidayParserDriverPlan & | driver_yyarg | ) |
Build a parser object.
Definition at line 159 of file holidayparserplan.cpp.
Member Function Documentation
HolidayParserPlan::debug_level_type KHolidays::HolidayParserPlan::debug_level | ( | ) | const |
The current debugging level.
Definition at line 243 of file holidayparserplan.cpp.
std::ostream & KHolidays::HolidayParserPlan::debug_stream | ( | ) | const |
The current debugging stream.
Definition at line 230 of file holidayparserplan.cpp.
|
virtual |
Parse.
- Returns
- 0 iff parsing succeeded.
Look-ahead and look-ahead in internal form.
Semantic value of the look-ahead.
Location of the look-ahead.
The locations where the error started and ended.
$$.
$.
Definition at line 256 of file holidayparserplan.cpp.
void KHolidays::HolidayParserPlan::set_debug_level | ( | debug_level_type | l | ) |
Set the current debugging level.
Definition at line 249 of file holidayparserplan.cpp.
void KHolidays::HolidayParserPlan::set_debug_stream | ( | std::ostream & | o | ) |
Set the current debugging stream.
Definition at line 236 of file holidayparserplan.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.