A Bison parser. More...
#include <json_parser.hh>
Classes | |
| struct | token |
| Tokens. More... | |
Public Types | |
| typedef YYSTYPE | semantic_type |
| Symbol semantic values. | |
| typedef location | location_type |
| Symbol locations. | |
| typedef token::yytokentype | token_type |
| Token type. | |
| typedef int | debug_level_type |
| Type for debugging levels. | |
Public Member Functions | |
| json_parser (QJson::ParserPrivate *driver_yyarg) | |
| Build a parser object. | |
| virtual int | parse () |
| std::ostream & | debug_stream () const |
| The current debugging stream. | |
| void | set_debug_stream (std::ostream &) |
| Set the current debugging stream. | |
| debug_level_type | debug_level () const |
| The current debugging level. | |
| void | set_debug_level (debug_level_type l) |
| Set the current debugging level. | |
A Bison parser.
Definition at line 119 of file json_parser.hh.
|
virtual |
Parse.
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 240 of file json_parser.cc.
Referenced by QJson::Parser::parse().
|
|
hosts this site. |
Send comments to: QJson Developers |