Back to index

python-biopython  1.60
Classes | Defines | Typedefs | Functions | Variables
lex.yy.c File Reference
#include <stdio.h>

Go to the source code of this file.

Classes

struct  yy_buffer_state

Defines

#define FLEX_SCANNER
#define YY_FLEX_MAJOR_VERSION   2
#define YY_FLEX_MINOR_VERSION   5
#define yyconst
#define YY_PROTO(proto)   ()
#define YY_NULL   0
#define YY_SC_TO_UI(c)   ((unsigned int) (unsigned char) c)
#define BEGIN   yy_start = 1 + 2 *
#define YY_START   ((yy_start - 1) / 2)
#define YYSTATE   YY_START
#define YY_STATE_EOF(state)   (YY_END_OF_BUFFER + state + 1)
#define YY_NEW_FILE   yyrestart( yyin )
#define YY_END_OF_BUFFER_CHAR   0
#define YY_BUF_SIZE   16384
#define EOB_ACT_CONTINUE_SCAN   0
#define EOB_ACT_END_OF_FILE   1
#define EOB_ACT_LAST_MATCH   2
#define yyless(n)
#define unput(c)   yyunput( c, yytext_ptr )
#define YY_BUFFER_NEW   0
#define YY_BUFFER_NORMAL   1
#define YY_BUFFER_EOF_PENDING   2
#define YY_CURRENT_BUFFER   yy_current_buffer
#define YY_FLUSH_BUFFER   yy_flush_buffer( yy_current_buffer )
#define yy_new_buffer   yy_create_buffer
#define yy_set_interactive(is_interactive)
#define yy_set_bol(at_bol)
#define YY_AT_BOL()   (yy_current_buffer->yy_at_bol)
#define yywrap()   1
#define YY_SKIP_YYWRAP
#define yytext_ptr   yytext
#define YY_DO_BEFORE_ACTION
#define YY_NUM_RULES   10
#define YY_END_OF_BUFFER   11
#define REJECT   reject_used_but_not_detected
#define yymore()   yymore_used_but_not_detected
#define YY_MORE_ADJ   0
#define YY_RESTORE_YY_MORE_OFFSET
#define INITIAL   0
#define YY_NO_PUSH_STATE   1
#define YY_NO_POP_STATE   1
#define YY_NO_TOP_STATE   1
#define YY_READ_BUF_SIZE   8192
#define ECHO   (void) fwrite( yytext, yyleng, 1, yyout )
#define YY_INPUT(buf, result, max_size)
#define yyterminate()   return YY_NULL
#define YY_START_STACK_INCR   25
#define YY_FATAL_ERROR(msg)   yy_fatal_error( msg )
#define YY_DECL   int yylex YY_PROTO(( void ))
#define YY_USER_ACTION
#define YY_BREAK   break;
#define YY_RULE_SETUP
#define YY_EXIT_FAILURE   2
#define yyless(n)

Typedefs

typedef struct yy_buffer_stateYY_BUFFER_STATE
typedef unsigned int yy_size_t
typedef unsigned char YY_CHAR
typedef int yy_state_type

Functions

void yyrestart YY_PROTO ((FILE *input_file))
void yy_switch_to_buffer YY_PROTO ((YY_BUFFER_STATE new_buffer))
void yy_load_buffer_state YY_PROTO ((void))
YY_BUFFER_STATE yy_create_buffer YY_PROTO ((FILE *file, int size))
void yy_delete_buffer YY_PROTO ((YY_BUFFER_STATE b))
void yy_init_buffer YY_PROTO ((YY_BUFFER_STATE b, FILE *file))
YY_BUFFER_STATE yy_scan_buffer YY_PROTO ((char *base, yy_size_t size))
YY_BUFFER_STATE yy_scan_string YY_PROTO ((yyconst char *yy_str))
YY_BUFFER_STATE yy_scan_bytes YY_PROTO ((yyconst char *bytes, int len))
static void *yy_flex_alloc YY_PROTO ((yy_size_t))
static void *yy_flex_realloc YY_PROTO ((void *, yy_size_t))
static void yy_flex_free YY_PROTO ((void *))
static yy_state_type
yy_try_NUL_trans 
YY_PROTO ((yy_state_type current_state))
static void yy_fatal_error YY_PROTO ((yyconst char msg[]))
static void yyunput YY_PROTO ((int c, char *buf_ptr))
void yy_init_buffer (YY_BUFFER_STATE b, FILE *file)
void yy_flush_buffer (YY_BUFFER_STATE b)
YY_BUFFER_STATE yy_scan_buffer (char *base, yy_size_t size)
YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str)
YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes, int len)
static void yy_fatal_error (msg)
static void * yy_flex_alloc (yy_size_t size)
static void * yy_flex_realloc (void *ptr, yy_size_t size)
static void yy_flex_free (void *ptr)
void mmcif_set_file (FILE *fp)
int mmcif_get_token (void)
char * mmcif_get_string (void)

Variables

int yyleng
FILE * yyin = (FILE *) 0
FILE * yyout = (FILE *) 0
static YY_BUFFER_STATE yy_current_buffer = 0
static char yy_hold_char
static int yy_n_chars
static char * yy_c_buf_p = (char *) 0
static int yy_init = 1
static int yy_start = 0
static int yy_did_buffer_switch_on_eof
char * yytext
static yyconst short int yy_accept [42]
static yyconst int yy_ec [256]
static yyconst int yy_meta [15]
static yyconst short int yy_base [54]
static yyconst short int yy_def [54]
static yyconst short int yy_nxt [92]
static yyconst short int yy_chk [92]
static yy_state_type yy_last_accepting_state
static char * yy_last_accepting_cpos
register char * yy_bp
int size

Class Documentation

struct yy_buffer_state

Definition at line 144 of file lex.yy.c.

Class Members
int yy_at_bol
char * yy_buf_pos
yy_size_t yy_buf_size
int yy_buffer_status
char * yy_ch_buf
int yy_fill_buffer
FILE * yy_input_file
int yy_is_interactive
int yy_is_our_buffer
int yy_n_chars

Define Documentation

#define BEGIN   yy_start = 1 + 2 *

Definition at line 79 of file lex.yy.c.

#define ECHO   (void) fwrite( yytext, yyleng, 1, yyout )

Definition at line 492 of file lex.yy.c.

#define EOB_ACT_CONTINUE_SCAN   0

Definition at line 104 of file lex.yy.c.

#define EOB_ACT_END_OF_FILE   1

Definition at line 105 of file lex.yy.c.

#define EOB_ACT_LAST_MATCH   2

Definition at line 106 of file lex.yy.c.

#define FLEX_SCANNER

Definition at line 7 of file lex.yy.c.

#define INITIAL   0

Definition at line 399 of file lex.yy.c.

#define REJECT   reject_used_but_not_detected

Definition at line 393 of file lex.yy.c.

#define unput (   c)    yyunput( c, yytext_ptr )

Definition at line 135 of file lex.yy.c.

#define YY_AT_BOL ( )    (yy_current_buffer->yy_at_bol)

Definition at line 262 of file lex.yy.c.

#define YY_BREAK   break;

Definition at line 551 of file lex.yy.c.

#define YY_BUF_SIZE   16384

Definition at line 97 of file lex.yy.c.

#define YY_BUFFER_EOF_PENDING   2

Definition at line 198 of file lex.yy.c.

#define YY_BUFFER_NEW   0

Definition at line 186 of file lex.yy.c.

#define YY_BUFFER_NORMAL   1

Definition at line 187 of file lex.yy.c.

Definition at line 207 of file lex.yy.c.

#define YY_DECL   int yylex YY_PROTO(( void ))

Definition at line 539 of file lex.yy.c.

Value:
yytext_ptr = yy_bp; \
       yyleng = (int) (yy_cp - yy_bp); \
       yy_hold_char = *yy_cp; \
       *yy_cp = '\0'; \
       yy_c_buf_p = yy_cp;

Definition at line 281 of file lex.yy.c.

#define YY_END_OF_BUFFER   11

Definition at line 289 of file lex.yy.c.

#define YY_END_OF_BUFFER_CHAR   0

Definition at line 94 of file lex.yy.c.

#define YY_EXIT_FAILURE   2

Definition at line 1479 of file lex.yy.c.

#define YY_FATAL_ERROR (   msg)    yy_fatal_error( msg )

Definition at line 532 of file lex.yy.c.

#define YY_FLEX_MAJOR_VERSION   2

Definition at line 8 of file lex.yy.c.

#define YY_FLEX_MINOR_VERSION   5

Definition at line 9 of file lex.yy.c.

Definition at line 236 of file lex.yy.c.

#define YY_INPUT (   buf,
  result,
  max_size 
)
Value:
if ( yy_current_buffer->yy_is_interactive ) \
              { \
              int c = '*', n; \
              for ( n = 0; n < max_size && \
                          (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
                     buf[n] = (char) c; \
              if ( c == '\n' ) \
                     buf[n++] = (char) c; \
              if ( c == EOF && ferror( yyin ) ) \
                     YY_FATAL_ERROR( "input in flex scanner failed" ); \
              result = n; \
              } \
       else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \
                && ferror( yyin ) ) \
              YY_FATAL_ERROR( "input in flex scanner failed" );

Definition at line 499 of file lex.yy.c.

#define YY_MORE_ADJ   0

Definition at line 395 of file lex.yy.c.

#define yy_new_buffer   yy_create_buffer

Definition at line 246 of file lex.yy.c.

#define YY_NEW_FILE   yyrestart( yyin )

Definition at line 92 of file lex.yy.c.

#define YY_NO_POP_STATE   1

Definition at line 462 of file lex.yy.c.

#define YY_NO_PUSH_STATE   1

Definition at line 461 of file lex.yy.c.

#define YY_NO_TOP_STATE   1

Definition at line 463 of file lex.yy.c.

#define YY_NULL   0

Definition at line 66 of file lex.yy.c.

#define YY_NUM_RULES   10

Definition at line 288 of file lex.yy.c.

#define YY_PROTO (   proto)    ()

Definition at line 62 of file lex.yy.c.

#define YY_READ_BUF_SIZE   8192

Definition at line 483 of file lex.yy.c.

Definition at line 396 of file lex.yy.c.

#define YY_RULE_SETUP
Value:
if ( yyleng > 0 ) \
              yy_current_buffer->yy_at_bol = \
                            (yytext[yyleng - 1] == '\n'); \
       YY_USER_ACTION

Definition at line 554 of file lex.yy.c.

#define YY_SC_TO_UI (   c)    ((unsigned int) (unsigned char) c)

Definition at line 73 of file lex.yy.c.

#define yy_set_bol (   at_bol)
Value:
{ \
       if ( ! yy_current_buffer ) \
              yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
       yy_current_buffer->yy_at_bol = at_bol; \
       }

Definition at line 255 of file lex.yy.c.

#define yy_set_interactive (   is_interactive)
Value:
{ \
       if ( ! yy_current_buffer ) \
              yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
       yy_current_buffer->yy_is_interactive = is_interactive; \
       }

Definition at line 248 of file lex.yy.c.

#define YY_SKIP_YYWRAP

Definition at line 266 of file lex.yy.c.

#define YY_START   ((yy_start - 1) / 2)

Definition at line 85 of file lex.yy.c.

#define YY_START_STACK_INCR   25

Definition at line 527 of file lex.yy.c.

#define YY_STATE_EOF (   state)    (YY_END_OF_BUFFER + state + 1)

Definition at line 89 of file lex.yy.c.

#define YY_USER_ACTION

Definition at line 546 of file lex.yy.c.

#define yyconst

Definition at line 55 of file lex.yy.c.

#define yyless (   n)
Value:
do \
              { \
              /* Undo effects of setting up yytext. */ \
              *yy_cp = yy_hold_char; \
              YY_RESTORE_YY_MORE_OFFSET \
              yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \
              YY_DO_BEFORE_ACTION; /* set up yytext again */ \
              } \
       while ( 0 )

Definition at line 1498 of file lex.yy.c.

#define yyless (   n)
Value:
do \
              { \
              /* Undo effects of setting up yytext. */ \
              yytext[yyleng] = yy_hold_char; \
              yy_c_buf_p = yytext + n; \
              yy_hold_char = *yy_c_buf_p; \
              *yy_c_buf_p = '\0'; \
              yyleng = n; \
              } \
       while ( 0 )

Definition at line 1498 of file lex.yy.c.

#define yymore ( )    yymore_used_but_not_detected

Definition at line 394 of file lex.yy.c.

#define YYSTATE   YY_START

Definition at line 86 of file lex.yy.c.

#define yyterminate ( )    return YY_NULL

Definition at line 522 of file lex.yy.c.

#define yytext_ptr   yytext

Definition at line 271 of file lex.yy.c.

#define yywrap ( )    1

Definition at line 265 of file lex.yy.c.


Typedef Documentation

Definition at line 99 of file lex.yy.c.

typedef unsigned char YY_CHAR

Definition at line 267 of file lex.yy.c.

typedef unsigned int yy_size_t

Definition at line 141 of file lex.yy.c.

typedef int yy_state_type

Definition at line 269 of file lex.yy.c.


Function Documentation

char* mmcif_get_string ( void  )

Definition at line 1606 of file lex.yy.c.

{
       return yytext;
}      

Here is the caller graph for this function:

int mmcif_get_token ( void  )

Definition at line 1600 of file lex.yy.c.

{
       extern int yylex(void);
       return yylex();
}

Here is the caller graph for this function:

void mmcif_set_file ( FILE *  fp)

Definition at line 1595 of file lex.yy.c.

{
       yyin=fp;
}      

Here is the caller graph for this function:

static void yy_fatal_error ( msg  ) [static]

Definition at line 1485 of file lex.yy.c.

       {
       (void) fprintf( stderr, "%s\n", msg );
       exit( YY_EXIT_FAILURE );
       }
static void* yy_flex_alloc ( yy_size_t  size) [static]

Definition at line 1549 of file lex.yy.c.

       {
       return (void *) malloc( size );
       }

Here is the caller graph for this function:

static void yy_flex_free ( void *  ptr) [static]

Definition at line 1577 of file lex.yy.c.

       {
       free( ptr );
       }
static void* yy_flex_realloc ( void *  ptr,
yy_size_t  size 
) [static]

Definition at line 1559 of file lex.yy.c.

       {
       /* The cast to (char *) in the following accommodates both
        * implementations that use char* generic pointers, and those
        * that use void* generic pointers.  It works with the latter
        * because both ANSI C and C++ allow castless assignment from
        * any pointer type to void*, and deal with argument conversions
        * as though doing an assignment.
        */
       return (void *) realloc( (char *) ptr, size );
       }

Definition at line 1305 of file lex.yy.c.

       {
       if ( ! b )
              return;

       b->yy_n_chars = 0;

       /* We always need two end-of-buffer characters.  The first causes
        * a transition to the end-of-buffer state.  The second causes
        * a jam in that state.
        */
       b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
       b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;

       b->yy_buf_pos = &b->yy_ch_buf[0];

       b->yy_at_bol = 1;
       b->yy_buffer_status = YY_BUFFER_NEW;

       if ( b == yy_current_buffer )
              yy_load_buffer_state();
       }

Here is the caller graph for this function:

void yy_init_buffer ( YY_BUFFER_STATE  b,
FILE *  file 
)

Definition at line 1278 of file lex.yy.c.

       {
       yy_flush_buffer( b );

       b->yy_input_file = file;
       b->yy_fill_buffer = 1;

#if YY_ALWAYS_INTERACTIVE
       b->yy_is_interactive = 1;
#else
#if YY_NEVER_INTERACTIVE
       b->yy_is_interactive = 0;
#else
       b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
#endif
#endif
       }

Here is the call graph for this function:

void yyrestart YY_PROTO ( (FILE *input_file)  )
void yy_switch_to_buffer YY_PROTO ( (YY_BUFFER_STATE new_buffer)  )
static int input YY_PROTO ( (void)  )
YY_BUFFER_STATE yy_create_buffer YY_PROTO ( (FILE *file, int size )
void yy_init_buffer YY_PROTO ( (YY_BUFFER_STATE b, FILE *file)  )
YY_BUFFER_STATE yy_scan_bytes YY_PROTO ( (yyconst char *bytes, int len)  )
static void* yy_flex_alloc YY_PROTO ( (yy_size_t ) [static]
static void* yy_flex_realloc YY_PROTO ( (void *, yy_size_t ) [static]
static void yy_flex_free YY_PROTO ( (void *)  ) [static]
static yy_state_type yy_try_NUL_trans YY_PROTO ( (yy_state_type current_state)  ) [static]
static void yy_fatal_error YY_PROTO ( (yyconst char msg[])  ) [static]
static void yyunput YY_PROTO ( (int c, char *buf_ptr)  ) [static]
YY_BUFFER_STATE yy_scan_buffer ( char *  base,
yy_size_t  size 
)

Definition at line 1336 of file lex.yy.c.

       {
       YY_BUFFER_STATE b;

       if ( size < 2 ||
            base[size-2] != YY_END_OF_BUFFER_CHAR ||
            base[size-1] != YY_END_OF_BUFFER_CHAR )
              /* They forgot to leave room for the EOB's. */
              return 0;

       b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
       if ( ! b )
              YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );

       b->yy_buf_size = size - 2;  /* "- 2" to take care of EOB's */
       b->yy_buf_pos = b->yy_ch_buf = base;
       b->yy_is_our_buffer = 0;
       b->yy_input_file = 0;
       b->yy_n_chars = b->yy_buf_size;
       b->yy_is_interactive = 0;
       b->yy_at_bol = 1;
       b->yy_fill_buffer = 0;
       b->yy_buffer_status = YY_BUFFER_NEW;

       yy_switch_to_buffer( b );

       return b;
       }

Here is the call graph for this function:

Here is the caller graph for this function:

YY_BUFFER_STATE yy_scan_bytes ( yyconst char *  bytes,
int  len 
)

Definition at line 1391 of file lex.yy.c.

       {
       YY_BUFFER_STATE b;
       char *buf;
       yy_size_t n;
       int i;

       /* Get memory for full buffer, including space for trailing EOB's. */
       n = len + 2;
       buf = (char *) yy_flex_alloc( n );
       if ( ! buf )
              YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );

       for ( i = 0; i < len; ++i )
              buf[i] = bytes[i];

       buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR;

       b = yy_scan_buffer( buf, n );
       if ( ! b )
              YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );

       /* It's okay to grow etc. this buffer, and we should throw it
        * away when we're done.
        */
       b->yy_is_our_buffer = 1;

       return b;
       }

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 1374 of file lex.yy.c.

       {
       int len;
       for ( len = 0; yy_str[len]; ++len )
              ;

       return yy_scan_bytes( yy_str, len );
       }

Here is the call graph for this function:


Variable Documentation

int size

Definition at line 1164 of file lex.yy.c.

yyconst short int yy_accept[42] [static]
Initial value:
    {   0,
        0,    0,   11,    8,    9,    8,    8,    8,    8,    8,
        8,    8,    8,    9,    8,    0,    6,    8,    0,    1,
        8,    0,    7,    8,    8,    2,    8,    0,    0,    6,
        7,    8,    8,    0,    5,    8,    8,    8,    3,    4,
        0
    }

Definition at line 290 of file lex.yy.c.

yyconst short int yy_base[54] [static]
Initial value:
    {   0,
        0,   69,   75,    0,   13,   15,   18,   16,   66,   62,
        0,   21,    0,   23,   25,   68,    0,   28,   68,   77,
       26,   64,    0,   56,   57,    0,   31,   64,   59,   77,
       77,   57,   52,   60,   77,   48,   47,    0,    0,    0,
       77,   59,   34,   36,   39,   58,   41,   44,   46,   49,
       51,   54,   57
    }

Definition at line 337 of file lex.yy.c.

register char* yy_bp

Definition at line 1016 of file lex.yy.c.

char* yy_c_buf_p = (char *) 0 [static]

Definition at line 219 of file lex.yy.c.

yyconst short int yy_chk[92] [static]
Initial value:
    {   0,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    5,    5,    6,    8,    6,    7,
        7,    8,   12,   12,   14,   14,   15,   21,   15,   18,
       18,   21,   27,   27,   43,   43,   44,   44,   44,   45,
       45,   47,   47,   47,   48,   48,   49,   49,   49,   50,
       50,   51,   51,   51,   52,   52,   52,   53,   46,   42,
       37,   36,   34,   33,   32,   29,   28,   25,   24,   22,
       19,   16,   10,    9,    3,    2,   41,   41,   41,   41,
       41,   41,   41,   41,   41,   41,   41,   41,   41,   41,
       41

    }

Definition at line 372 of file lex.yy.c.

Definition at line 201 of file lex.yy.c.

yyconst short int yy_def[54] [static]
Initial value:
    {   0,
       41,    1,   41,   42,   41,   43,   44,   45,   42,   42,
       46,   47,   42,   41,   43,   48,   42,   44,   49,   41,
       45,   50,   42,   42,   42,   46,   47,   51,   52,   41,
       41,   42,   42,   51,   41,   42,   42,   53,   42,   53,
        0,   41,   41,   41,   41,   41,   41,   41,   41,   41,
       41,   41,   41
    }

Definition at line 347 of file lex.yy.c.

Definition at line 226 of file lex.yy.c.

yyconst int yy_ec[256] [static]

Definition at line 299 of file lex.yy.c.

char yy_hold_char [static]

Definition at line 211 of file lex.yy.c.

int yy_init = 1 [static]

Definition at line 220 of file lex.yy.c.

char* yy_last_accepting_cpos [static]

Definition at line 388 of file lex.yy.c.

Definition at line 387 of file lex.yy.c.

yyconst int yy_meta[15] [static]
Initial value:
    {   0,
        1,    2,    3,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1
    }

Definition at line 331 of file lex.yy.c.

int yy_n_chars [static]

Definition at line 213 of file lex.yy.c.

yyconst short int yy_nxt[92] [static]
Initial value:
    {   0,
        4,    5,    5,    6,    7,    8,    4,    4,    9,   10,
        4,    4,    4,   11,   14,   14,   16,   22,   17,   19,
       20,   23,   28,   29,   14,   14,   16,   22,   17,   19,
       20,   23,   28,   29,   15,   15,   18,   18,   18,   21,
       21,   27,   27,   27,   16,   16,   19,   19,   19,   22,
       22,   28,   28,   28,   34,   34,   34,   40,   26,   13,
       39,   38,   29,   37,   36,   35,   29,   33,   32,   31,
       20,   30,   25,   24,   41,   12,    3,   41,   41,   41,
       41,   41,   41,   41,   41,   41,   41,   41,   41,   41,
       41

    }

Definition at line 357 of file lex.yy.c.

int yy_start = 0 [static]

Definition at line 221 of file lex.yy.c.

FILE * yyin = (FILE *) 0

Definition at line 268 of file lex.yy.c.

int yyleng

Definition at line 216 of file lex.yy.c.

FILE * yyout = (FILE *) 0

Definition at line 268 of file lex.yy.c.

char * yytext

Definition at line 397 of file lex.yy.c.