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 90 of file json_parser.hh.
|
virtual |
Parse.
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 296 of file json_parser.cc.
References yy::location::end, and yy::position::line.
Referenced by QJson::Parser::parse().
|
hosts this site. |
Send comments to: QJson Developers |