Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

lex_parser.cpp File Reference

#include <cstdio>

Compounds

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   14
#define YY_END_OF_BUFFER   15
#define REJECT   reject_used_but_not_detected
#define yymore()   yymore_used_but_not_detected
#define YY_MORE_ADJ   0
#define INITIAL   0
#define YY_NEVER_INTERACTIVE   1
#define ID   1
#define T   2
#define H   3
#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_BREAK   break;
#define YY_RULE_SETUP   YY_USER_ACTION
#define YY_EXIT_FAILURE   2
#define yyless(n)

Typedefs

typedef 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 *str))
YY_BUFFER_STATE yy_scan_bytes YY_PROTO ((yyconst char *bytes, int len))
void *yy_flex_alloc YY_PROTO ((yy_size_t))
void *yy_flex_realloc YY_PROTO ((void *, yy_size_t))
void yy_flex_free YY_PROTO ((void *))
yy_state_type yy_try_NUL_trans YY_PROTO ((yy_state_type current_state))
void yy_fatal_error YY_PROTO ((yyconst char msg[]))
void yyunput YY_PROTO ((int c, char *buf_ptr))

Variables

int yyleng
FILE * yyin = (FILE *) 0
FILE * yyout = (FILE *) 0
YY_BUFFER_STATE yy_current_buffer = 0
char yy_hold_char
int yy_n_chars
char * yy_c_buf_p = (char *) 0
int yy_init = 1
int yy_start = 0
int yy_did_buffer_switch_on_eof
char * yytext
yyconst short int yy_accept [65]
yyconst int yy_ec [256]
yyconst int yy_meta [20]
yyconst short int yy_base [72]
yyconst short int yy_def [72]
yyconst short int yy_nxt [140]
yyconst short int yy_chk [140]
yy_state_type yy_last_accepting_state
char * yy_last_accepting_cpos
register char * yy_bp
int size
FILE * file
int len

Define Documentation

#define BEGIN   yy_start = 1 + 2 *
 

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

#define EOB_ACT_CONTINUE_SCAN   0
 

#define EOB_ACT_END_OF_FILE   1
 

#define EOB_ACT_LAST_MATCH   2
 

#define FLEX_SCANNER
 

#define H   3
 

#define ID   1
 

#define INITIAL   0
 

#define REJECT   reject_used_but_not_detected
 

#define T   2
 

#define unput      yyunput( c, yytext_ptr )
 

 
#define YY_AT_BOL      (yy_current_buffer->yy_at_bol)
 

#define YY_BREAK   break;
 

#define YY_BUF_SIZE   16384
 

#define YY_BUFFER_EOF_PENDING   2
 

#define YY_BUFFER_NEW   0
 

#define YY_BUFFER_NORMAL   1
 

#define YY_CURRENT_BUFFER   yy_current_buffer
 

#define YY_DECL   int yylex YY_PROTO(( void ))
 

#define YY_DO_BEFORE_ACTION
 

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;

#define YY_END_OF_BUFFER   15
 

#define YY_END_OF_BUFFER_CHAR   0
 

#define YY_EXIT_FAILURE   2
 

#define YY_FATAL_ERROR msg       yy_fatal_error( msg )
 

#define YY_FLEX_MAJOR_VERSION   2
 

#define YY_FLEX_MINOR_VERSION   5
 

#define YY_FLUSH_BUFFER   yy_flush_buffer( yy_current_buffer )
 

#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" );

#define YY_MORE_ADJ   0
 

#define YY_NEVER_INTERACTIVE   1
 

#define yy_new_buffer   yy_create_buffer
 

#define YY_NEW_FILE   yyrestart( yyin )
 

#define YY_NO_POP_STATE   1
 

#define YY_NO_PUSH_STATE   1
 

#define YY_NO_TOP_STATE   1
 

#define YY_NULL   0
 

#define YY_NUM_RULES   14
 

#define YY_PROTO proto       ()
 

#define YY_READ_BUF_SIZE   8192
 

#define YY_RULE_SETUP   YY_USER_ACTION
 

#define YY_SC_TO_UI      ((unsigned int) (unsigned char) 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; \
        }

#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; \
        }

#define YY_SKIP_YYWRAP
 

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

#define YY_START_STACK_INCR   25
 

#define YY_STATE_EOF state       (YY_END_OF_BUFFER + state + 1)
 

#define yyconst
 

#define yyless  
 

Value:

do \
                { \
                  \
                yytext[yyleng] = yy_hold_char; \
                yy_c_buf_p = yytext + n - YY_MORE_ADJ; \
                yy_hold_char = *yy_c_buf_p; \
                *yy_c_buf_p = '\0'; \
                yyleng = n; \
                } \
        while ( 0 )

#define yyless  
 

Value:

do \
                { \
                  \
                *yy_cp = yy_hold_char; \
                yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \
                YY_DO_BEFORE_ACTION;   \
                } \
        while ( 0 )

 
#define yymore      yymore_used_but_not_detected
 

#define YYSTATE   YY_START
 

 
#define yyterminate      return YY_NULL
 

#define yytext_ptr   yytext
 

 
#define yywrap      1
 


Typedef Documentation

typedef struct yy_buffer_state* YY_BUFFER_STATE
 

typedef unsigned char YY_CHAR
 

typedef unsigned int yy_size_t
 

typedef int yy_state_type
 


Function Documentation

void yyunput YY_PROTO (int c, char *buf_ptr)    [static]
 

void yy_fatal_error YY_PROTO (yyconst char msg[])    [static]
 

yy_state_type yy_try_NUL_trans YY_PROTO (yy_state_type current_state)    [static]
 

void yy_flex_free YY_PROTO (void *)    [static]
 

void* yy_flex_realloc YY_PROTO (void *, yy_size_t   [static]
 

void* yy_flex_alloc YY_PROTO (yy_size_t   [static]
 

YY_BUFFER_STATE yy_scan_bytes YY_PROTO (yyconst char *bytes, int len  
 

YY_BUFFER_STATE yy_scan_string YY_PROTO (yyconst char *str)   
 

YY_BUFFER_STATE yy_scan_buffer YY_PROTO (char *base, yy_size_t size  
 

void yy_init_buffer YY_PROTO (YY_BUFFER_STATE b, FILE *file  
 

void yy_delete_buffer YY_PROTO (YY_BUFFER_STATE b  
 

YY_BUFFER_STATE yy_create_buffer YY_PROTO (FILE *file, int size  
 

void yy_load_buffer_state YY_PROTO (void)   
 

void yy_switch_to_buffer YY_PROTO (YY_BUFFER_STATE new_buffer)   
 

void yyrestart YY_PROTO (FILE *input_file)   
 


Variable Documentation

FILE* file
 

int len
 

yy_size_t size
 

yyconst short int yy_accept[65] [static]
 

Initial value:

    {   0,
        0,    0,    0,    0,    0,    0,    0,    0,   15,    4,
        4,    7,    7,    6,    7,   10,   10,    9,   10,   13,
       13,   12,   13,    0,    0,    0,    0,    6,    6,    0,
        0,    9,    9,    0,    0,   12,   12,    0,    0,    0,
        0,    0,    0,    0,    0,    3,    0,    0,    0,    0,
        0,    0,    0,    0,   11,    0,    2,    0,    0,    1,
        0,    8,    5,    0
    }

yyconst short int yy_base[72] [static]
 

Initial value:

    {   0,
      111,  110,    0,    0,   19,    0,   38,    0,  117,  120,
       46,  120,   57,    0,  110,  120,   62,    0,  109,  120,
       64,    0,  108,   96,   97,   98,   65,    0,    0,   98,
       68,    0,    0,   91,   70,    0,    0,   94,   96,   97,
       86,   87,   90,   87,   85,  120,   82,   88,   79,   88,
       79,   86,   78,   75,  120,   83,  120,   74,   54,  120,
       50,  120,  120,  120,   74,   76,   78,   81,   83,   85,
       87
    }

register char* yy_bp
 

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

yyconst short int yy_chk[140] [static]
 

Initial value:

    {   0,
        3,    3,    3,    3,    3,    3,    3,    3,    3,    3,
        3,    3,    3,    3,    3,    3,    3,    3,    3,    5,
        5,    5,    5,    5,    5,    5,    5,    5,    5,    5,
        5,    5,    5,    5,    5,    5,    5,    5,    7,    7,
        7,    7,    7,    7,    7,    7,    7,    7,    7,    7,
        7,    7,    7,    7,    7,    7,    7,   11,   61,   11,
       13,   13,   59,   11,   17,   17,   21,   21,   27,   27,
       31,   31,   35,   35,   65,   65,   65,   65,   66,   66,
       67,   67,   68,   68,   69,   69,   70,   70,   71,   71,
       58,   56,   54,   53,   52,   51,   50,   49,   48,   47,

       45,   44,   43,   42,   41,   40,   39,   38,   34,   30,
       26,   25,   24,   23,   19,   15,    9,    2,    1,   64,
       64,   64,   64,   64,   64,   64,   64,   64,   64,   64,
       64,   64,   64,   64,   64,   64,   64,   64,   64
    }

YY_BUFFER_STATE yy_current_buffer = 0 [static]
 

yyconst short int yy_def[72] [static]
 

Initial value:

    {   0,
       65,   65,   64,    3,   64,    5,   64,    7,   64,   64,
       64,   64,   66,   67,   64,   64,   68,   69,   64,   64,
       70,   71,   64,   64,   64,   64,   66,   67,   67,   64,
       68,   69,   69,   64,   70,   71,   71,   64,   64,   64,
       64,   64,   64,   64,   64,   64,   64,   64,   64,   64,
       64,   64,   64,   64,   64,   64,   64,   64,   64,   64,
       64,   64,   64,    0,   64,   64,   64,   64,   64,   64,
       64
    }

int yy_did_buffer_switch_on_eof [static]
 

yyconst int yy_ec[256] [static]
 

char yy_hold_char [static]
 

int yy_init = 1 [static]
 

char* yy_last_accepting_cpos [static]
 

yy_state_type yy_last_accepting_state [static]
 

yyconst int yy_meta[20] [static]
 

Initial value:

    {   0,
        1,    1,    2,    3,    4,    1,    3,    1,    1,    3,
        3,    3,    3,    3,    3,    3,    3,    3,    3
    }

int yy_n_chars [static]
 

yyconst short int yy_nxt[140] [static]
 

Initial value:

    {   0,
       12,   12,   12,   13,   13,   12,   14,   15,   12,   14,
       14,   14,   14,   14,   14,   14,   14,   14,   14,   16,
       16,   17,   17,   16,   16,   18,   19,   16,   18,   18,
       18,   18,   18,   18,   18,   18,   18,   18,   20,   20,
       21,   21,   20,   20,   22,   23,   20,   22,   22,   22,
       22,   22,   22,   22,   22,   22,   22,   24,   63,   25,
       27,   27,   62,   26,   31,   31,   35,   35,   27,   27,
       31,   31,   35,   35,   10,   10,   10,   10,   28,   28,
       29,   29,   32,   32,   33,   33,   36,   36,   37,   37,
       61,   60,   59,   58,   57,   56,   55,   54,   53,   52,

       51,   50,   49,   48,   47,   46,   45,   44,   43,   42,
       41,   40,   39,   38,   34,   30,   64,   11,   11,    9,
       64,   64,   64,   64,   64,   64,   64,   64,   64,   64,
       64,   64,   64,   64,   64,   64,   64,   64,   64
    }

int yy_start = 0 [static]
 

FILE* yyin = (FILE *) 0
 

int yyleng
 

FILE * yyout = (FILE *) 0
 

char* yytext
 


Generated on Tue Nov 25 11:26:53 2003 for Lemur Toolkit by doxygen1.2.18