37 #ifndef PARSER_HEADER_H
38 # define PARSER_HEADER_H
43 #line 24 "blast-parser-parser.ypp"
47 namespace rostlab {
namespace blast {
class parser_driver; } }
52 #line 53 "rostlab/blast-parser-parser.h"
61 #line 22 "blast-parser-parser.ypp"
62 namespace rostlab {
namespace blast {
65 #line 66 "rostlab/blast-parser-parser.h"
70 #line 22 "blast-parser-parser.ypp"
74 #line 75 "rostlab/blast-parser-parser.h"
84 #ifdef YYERROR_VERBOSE
85 # undef YYERROR_VERBOSE
86 # define YYERROR_VERBOSE 1
88 # define YYERROR_VERBOSE 1
93 # define YYTOKEN_TABLE 0
100 #ifndef YYLLOC_DEFAULT
101 # define YYLLOC_DEFAULT(Current, Rhs, N) \
105 (Current).begin = (Rhs)[1].begin; \
106 (Current).end = (Rhs)[N].end; \
110 (Current).begin = (Current).end = (Rhs)[0].end; \
117 #line 22 "blast-parser-parser.ypp"
118 namespace rostlab {
namespace blast {
121 #line 122 "rostlab/blast-parser-parser.h"
133 #line 47 "blast-parser-parser.ypp"
142 #line 143 "rostlab/blast-parser-parser.h"
192 virtual int parse ();
212 virtual void error (
const location_type& loc,
const std::string& msg);
217 virtual std::string yysyntax_error_ (
int yystate,
int tok);
224 virtual void yy_symbol_value_print_ (
int yytype,
231 virtual void yy_symbol_print_ (
int yytype,
238 typedef int state_type;
254 typedef unsigned char token_number_type;
257 static const signed char yypact_[];
258 static const signed char yypact_ninf_;
263 static const unsigned char yydefact_[];
265 static const signed char yypgoto_[];
266 static const signed char yydefgoto_[];
273 static const unsigned char yytable_[];
274 static const signed char yytable_ninf_;
276 static const unsigned char yycheck_[];
279 static const unsigned char yystos_[];
282 static const unsigned char yyr1_[];
284 static const unsigned char yyr2_[];
286 #if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE
288 static const char*
const yytname_[];
293 virtual std::string yytnamerr_ (
const char *n);
298 typedef signed char rhs_number_type;
300 static const rhs_number_type yyrhs_[];
302 static const unsigned char yyprhs_[];
304 static const unsigned char yyrline_[];
306 static const unsigned short int yytoken_number_[];
308 virtual void yy_reduce_print_ (
int r);
310 virtual void yystack_print_ ();
314 std::ostream* yycdebug_;
318 token_number_type yytranslate_ (
int t);
325 inline void yydestruct_ (
const char* yymsg,
331 inline void yypop_ (
unsigned int n = 1);
334 static const int yyeof_;
336 static const int yylast_;
337 static const int yynnts_;
338 static const int yyempty_;
339 static const int yyfinal_;
340 static const int yyterror_;
341 static const int yyerrcode_;
342 static const int yyntokens_;
343 static const unsigned int yyuser_token_number_max_;
344 static const token_number_type yyundef_token_;
352 #line 22 "blast-parser-parser.ypp"
356 #line 357 "rostlab/blast-parser-parser.h"