#include <stdio.h>
#include "types.h"
Defines | |
#define | blastwarning(s) (blastwarning_token(s, yytext)) |
Defines a function to display flex warnings. | |
#define | blasterror(s) (blasterror_token(s, yytext)) |
Defines a function to display flex error. | |
Functions | |
void | blastrestart (FILE *f) |
Function used to start processing a file. | |
int | blastparse () |
Function used to start parsing a blast. | |
void | blastwarning_token (const char *s, const char *token) |
Function used to display flex warnings. | |
void | blasterror_token (const char *s, const char *token) |
Function used to display flex errors. | |
Variables | |
int | blastlineno = 1 |
char * | blasttext |
FILE * | blastin = (FILE *) 0 |
char * | blast_file_name |
int | blast_nb_errors |
p_alignment_info * | blast_result |
#define blasterror | ( | s | ) | (blasterror_token(s, yytext)) |
Defines a function to display flex error.
[in] | s | : the error message |
#define blastwarning | ( | s | ) | (blastwarning_token(s, yytext)) |
Defines a function to display flex warnings.
[in] | s | : the warning message |
void blasterror_token | ( | const char * | s, | |
const char * | token | |||
) |
Function used to display flex errors.
[in] | s | : the error message |
[in] | token | : the token that has raised the error |
References _ERROR, blast_file_name, blast_nb_errors, blasterror_token(), blastlineno, and ERROR_.
Referenced by blasterror_token().
blastparse | ( | ) |
Function used to start parsing a blast.
Referenced by read_alignments_files().
blastrestart | ( | FILE * | f | ) |
Function used to start processing a file.
[in] | f | : the file to process |
Referenced by read_alignments_files().
void blastwarning_token | ( | const char * | s, | |
const char * | token | |||
) |
Function used to display flex warnings.
[in] | s | : the warning message |
[in] | token | : the token that has raised the warning |
References _ERROR, blast_file_name, blastlineno, blastwarning_token(), and ERROR_.
Referenced by blastwarning_token().
char* blast_file_name |
The file to read
The file to parse
Referenced by blasterror_token(), blastwarning_token(), and read_alignments_files().
int blast_nb_errors |
Numbers of parser's error
The number of errors
Referenced by blasterror_token(), and read_alignments_files().
The result of the parser: the alignments
The result of the parsing : the alignments
Referenced by read_alignments_files().
FILE * blastin = (FILE *) 0 |
The file desriptor
int blastlineno = 1 |
Line number
Referenced by blasterror_token(), and blastwarning_token().
char * blasttext |
Blast text