librostlab-blast  1.0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Public Types | Public Member Functions | List of all members
rostlab::blast::parser Class Reference

A Bison parser. More...

#include <blast-parser-parser.h>

Classes

union  semantic_type
 Symbol semantic values. More...
 
struct  token
 Tokens. More...
 

Public Types

typedef location location_type
 Symbol locations. More...
 
typedef token::yytokentype token_type
 Token type. More...
 
typedef int debug_level_type
 Type for debugging levels. More...
 

Public Member Functions

 parser (rostlab::blast::parser_driver &drv_yyarg, void *yyscanner_yyarg)
 Build a parser object. More...
 
virtual ~parser ()
 
virtual int parse ()
 
std::ostream & debug_stream () const
 The current debugging stream. More...
 
void set_debug_stream (std::ostream &)
 Set the current debugging stream. More...
 
debug_level_type debug_level () const
 The current debugging level. More...
 
void set_debug_level (debug_level_type l)
 Set the current debugging level. More...
 

Detailed Description

A Bison parser.

Definition at line 85 of file blast-parser-parser.h.

Member Typedef Documentation

Type for debugging levels.

Definition at line 162 of file blast-parser-parser.h.

Symbol locations.

Definition at line 109 of file blast-parser-parser.h.

Token type.

Definition at line 145 of file blast-parser-parser.h.

Constructor & Destructor Documentation

rostlab::blast::parser::parser ( rostlab::blast::parser_driver drv_yyarg,
void *  yyscanner_yyarg 
)

Build a parser object.

virtual rostlab::blast::parser::~parser ( )
virtual

Member Function Documentation

debug_level_type rostlab::blast::parser::debug_level ( ) const

The current debugging level.

std::ostream& rostlab::blast::parser::debug_stream ( ) const

The current debugging stream.

virtual int rostlab::blast::parser::parse ( )
virtual

Parse.

Returns
0 iff parsing succeeded.
void rostlab::blast::parser::set_debug_level ( debug_level_type  l)

Set the current debugging level.

void rostlab::blast::parser::set_debug_stream ( std::ostream &  )

Set the current debugging stream.


The documentation for this class was generated from the following file: