35 #ifndef PARSER_HEADER_H
36 # define PARSER_HEADER_H
41 #line 24 "blast-parser-parser.ypp"
45 namespace rostlab {
namespace blast {
class parser_driver; } }
50 #line 51 "rostlab/blast-parser-parser.h"
64 #ifdef YYERROR_VERBOSE
65 # undef YYERROR_VERBOSE
66 # define YYERROR_VERBOSE 1
68 # define YYERROR_VERBOSE 1
73 # define YYTOKEN_TABLE 0
78 #line 22 "blast-parser-parser.ypp"
79 namespace rostlab {
namespace blast {
82 #line 83 "rostlab/blast-parser-parser.h"
94 #line 47 "blast-parser-parser.ypp"
103 #line 104 "rostlab/blast-parser-parser.h"
153 virtual int parse ();
173 virtual void error (
const location_type& loc,
const std::string& msg);
178 virtual std::string yysyntax_error_ (
int yystate,
int tok);
185 virtual void yy_symbol_value_print_ (
int yytype,
192 virtual void yy_symbol_print_ (
int yytype,
199 typedef int state_type;
216 static bool yy_pact_value_is_default_ (
int yyvalue);
220 static bool yy_table_value_is_error_ (
int yyvalue);
223 typedef unsigned char token_number_type;
226 static const signed char yypact_[];
227 static const signed char yypact_ninf_;
232 static const unsigned char yydefact_[];
234 static const signed char yypgoto_[];
235 static const signed char yydefgoto_[];
242 static const unsigned char yytable_[];
243 static const signed char yytable_ninf_;
245 static const unsigned char yycheck_[];
248 static const unsigned char yystos_[];
251 static const unsigned char yyr1_[];
253 static const unsigned char yyr2_[];
255 #if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE
257 static const char*
const yytname_[];
261 static std::string yytnamerr_ (
const char *n);
265 typedef signed char rhs_number_type;
267 static const rhs_number_type yyrhs_[];
269 static const unsigned char yyprhs_[];
271 static const unsigned char yyrline_[];
273 static const unsigned short int yytoken_number_[];
275 virtual void yy_reduce_print_ (
int r);
277 virtual void yystack_print_ ();
281 std::ostream* yycdebug_;
285 token_number_type yytranslate_ (
int t);
292 inline void yydestruct_ (
const char* yymsg,
298 inline void yypop_ (
unsigned int n = 1);
301 static const int yyeof_;
303 static const int yylast_;
304 static const int yynnts_;
305 static const int yyempty_;
306 static const int yyfinal_;
307 static const int yyterror_;
308 static const int yyerrcode_;
309 static const int yyntokens_;
310 static const unsigned int yyuser_token_number_max_;
311 static const token_number_type yyundef_token_;
319 #line 22 "blast-parser-parser.ypp"
323 #line 324 "rostlab/blast-parser-parser.h"