/Users/snippy/unfication/src/lex.yy.cc File Reference

#include <FlexLexer.h>
#include <string>
#include "parser.h"
#include "parser.tab.hh"

Include dependency graph for lex.yy.cc:

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_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_INTERACTIVE
#define YY_DO_BEFORE_ACTION
#define YY_NUM_RULES   32
#define YY_END_OF_BUFFER   33
#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 yywrap()   1
#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   LexerOutput( yytext, yyleng )
#define YY_INPUT(buf, result, max_size)
#define yyterminate()   return YY_NULL
#define YY_START_STACK_INCR   25
#define YY_FATAL_ERROR(msg)   LexerError( msg )
#define YY_DECL   int yyFlexLexer::yylex()
#define YY_BREAK   break;
#define YY_RULE_SETUP   YY_USER_ACTION
#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

Functions

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 *))
 if (yy_init)
 while (1)
int isatty YY_PROTO ((int))
static void * yy_flex_alloc (size) yy_size_t size
 return (void *) malloc(size)
static void * yy_flex_realloc (ptr, size) void *ptr

Variables

int yyleng
static yyconst short int yy_accept [72]
static yyconst int yy_ec [256]
static yyconst int yy_meta [45]
static yyconst short int yy_base [75]
static yyconst short int yy_def [75]
static yyconst short int yy_nxt [146]
static yyconst short int yy_chk [146]
int numLine
YY_DECL register yy_state_type yy_current_state
register char * yy_cp
register char * yy_bp
register int yy_act
yy_size_t size


Define Documentation

#define BEGIN   yy_start = 1 + 2 *

Definition at line 84 of file lex.yy.cc.

#define ECHO   LexerOutput( yytext, yyleng )

Definition at line 464 of file lex.yy.cc.

Referenced by while().

#define EOB_ACT_CONTINUE_SCAN   0

Definition at line 108 of file lex.yy.cc.

Referenced by while(), yyFlexLexer::yy_get_next_buffer(), and yyFlexLexer::yyinput().

#define EOB_ACT_END_OF_FILE   1

Definition at line 109 of file lex.yy.cc.

Referenced by while(), yyFlexLexer::yy_get_next_buffer(), and yyFlexLexer::yyinput().

#define EOB_ACT_LAST_MATCH   2

Definition at line 110 of file lex.yy.cc.

Referenced by while(), yyFlexLexer::yy_get_next_buffer(), and yyFlexLexer::yyinput().

#define FLEX_SCANNER

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

#define INITIAL   0

Definition at line 383 of file lex.yy.cc.

Referenced by while().

#define REJECT   reject_used_but_not_detected

Definition at line 378 of file lex.yy.cc.

#define unput (  )     yyunput( c, yytext_ptr )

Definition at line 139 of file lex.yy.cc.

 
#define YY_AT_BOL (  )     (yy_current_buffer->yy_at_bol)

Definition at line 234 of file lex.yy.cc.

#define YY_BREAK   break;

Definition at line 510 of file lex.yy.cc.

Referenced by while().

#define YY_BUF_SIZE   16384

Definition at line 102 of file lex.yy.cc.

Referenced by if().

#define YY_BUFFER_EOF_PENDING   2

Definition at line 202 of file lex.yy.cc.

Referenced by yyFlexLexer::yy_get_next_buffer().

#define YY_BUFFER_NEW   0

Definition at line 190 of file lex.yy.cc.

Referenced by while().

#define YY_BUFFER_NORMAL   1

Definition at line 191 of file lex.yy.cc.

Referenced by while().

#define YY_CURRENT_BUFFER   yy_current_buffer

Definition at line 210 of file lex.yy.cc.

#define YY_DECL   int yyFlexLexer::yylex()

Definition at line 498 of file lex.yy.cc.

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

Definition at line 249 of file lex.yy.cc.

Referenced by while().

#define YY_END_OF_BUFFER   33

Definition at line 257 of file lex.yy.cc.

Referenced by while().

#define YY_END_OF_BUFFER_CHAR   0

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

Referenced by yyFlexLexer::yy_get_next_buffer(), and yyFlexLexer::yyinput().

#define YY_EXIT_FAILURE   2

Definition at line 1509 of file lex.yy.cc.

#define YY_FATAL_ERROR ( msg   )     LexerError( msg )

Definition at line 491 of file lex.yy.cc.

Referenced by while(), and yyFlexLexer::yy_get_next_buffer().

#define YY_FLEX_MAJOR_VERSION   2

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

#define YY_FLEX_MINOR_VERSION   5

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

#define YY_INPUT ( buf,
result,
max_size   ) 

Value:

if ( (result = LexerInput( (char *) buf, max_size )) < 0 ) \
                YY_FATAL_ERROR( "input in flex scanner failed" );

Definition at line 471 of file lex.yy.cc.

Referenced by yyFlexLexer::yy_get_next_buffer().

#define YY_INTERACTIVE

Definition at line 241 of file lex.yy.cc.

#define YY_MORE_ADJ   0

#define yy_new_buffer   yy_create_buffer

Definition at line 218 of file lex.yy.cc.

#define YY_NEW_FILE   yyrestart( yyin )

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

Referenced by while(), and yyFlexLexer::yyinput().

#define YY_NO_POP_STATE   1

Definition at line 437 of file lex.yy.cc.

#define YY_NO_PUSH_STATE   1

Definition at line 436 of file lex.yy.cc.

#define YY_NO_TOP_STATE   1

Definition at line 438 of file lex.yy.cc.

#define YY_NULL   0

Definition at line 71 of file lex.yy.cc.

#define YY_NUM_RULES   32

Definition at line 256 of file lex.yy.cc.

#define YY_PROTO ( proto   )     ()

Definition at line 67 of file lex.yy.cc.

#define YY_READ_BUF_SIZE   8192

Definition at line 458 of file lex.yy.cc.

Referenced by yyFlexLexer::yy_get_next_buffer().

#define YY_RESTORE_YY_MORE_OFFSET

Definition at line 381 of file lex.yy.cc.

Referenced by while().

#define YY_RULE_SETUP   YY_USER_ACTION

Definition at line 513 of file lex.yy.cc.

Referenced by while().

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

Definition at line 78 of file lex.yy.cc.

Referenced by while(), and yyFlexLexer::yy_get_previous_state().

#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 227 of file lex.yy.cc.

#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 220 of file lex.yy.cc.

#define YY_SKIP_YYWRAP

Definition at line 238 of file lex.yy.cc.

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

Definition at line 90 of file lex.yy.cc.

Referenced by while().

#define YY_START_STACK_INCR   25

Definition at line 486 of file lex.yy.cc.

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

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

Referenced by while().

#define yyconst

Definition at line 60 of file lex.yy.cc.

#define yyless (  ) 

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 1523 of file lex.yy.cc.

#define yyless (  ) 

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 1523 of file lex.yy.cc.

 
#define yymore (  )     yymore_used_but_not_detected

Definition at line 379 of file lex.yy.cc.

#define YYSTATE   YY_START

Definition at line 91 of file lex.yy.cc.

 
#define yyterminate (  )     return YY_NULL

Definition at line 481 of file lex.yy.cc.

Referenced by while().

#define yytext_ptr   yytext

 
#define yywrap (  )     1

Definition at line 392 of file lex.yy.cc.

 
#define yywrap (  )     1

Definition at line 392 of file lex.yy.cc.

Referenced by while(), and yyFlexLexer::yyinput().


Typedef Documentation

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

typedef unsigned char YY_CHAR

Definition at line 239 of file lex.yy.cc.

typedef unsigned int yy_size_t

Definition at line 145 of file lex.yy.cc.


Function Documentation

if ( yy_init   ) 

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

References YY_BUF_SIZE.

return ( void *   ) 

while (  ) 

static void* yy_flex_alloc ( size   )  [static]

static void* yy_flex_realloc ( ptr  ,
size   
) [static]

int isatty YY_PROTO ( (int)   ) 

static void yy_flex_free YY_PROTO ( (void *)   )  [static]

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

static void* yy_flex_alloc YY_PROTO ( (yy_size_t  )  [static]


Variable Documentation

int numLine

Definition at line 1726 of file parser.tab.cc.

Referenced by Parser::Parser().

Definition at line 1586 of file lex.yy.cc.

yyconst short int yy_accept[72] [static]

Initial value:

    {   0,
        0,    0,   33,   32,    2,   31,   30,    1,   20,   21,
       27,   28,   25,   26,    3,   18,   24,   16,   16,   16,
       29,   17,   17,   17,   17,   17,   17,   17,   17,   17,
       17,   22,   23,    2,   30,    1,    3,   19,   16,    0,
       13,   17,   17,   17,   17,   17,   17,   11,   17,   17,
       17,   17,   14,   12,   17,   17,   17,   17,    4,    5,
       17,   17,   10,    6,    8,   17,    7,    9,   17,   15,
        0
    }

Definition at line 258 of file lex.yy.cc.

register int yy_act

Definition at line 520 of file lex.yy.cc.

yyconst short int yy_base[75] [static]

Initial value:

    {   0,
        0,    0,  100,  101,   43,  101,   47,    0,  101,  101,
      101,  101,  101,  101,   85,   83,  101,   77,   76,   33,
      101,   60,   65,    0,   64,   57,   50,   52,   48,   17,
       59,  101,  101,   54,   58,    0,   73,  101,   66,   66,
      101,    0,   56,   54,   49,   51,   46,    0,   44,   38,
       48,   38,  101,    0,   38,   37,   37,   46,    0,    0,
       34,   34,    0,    0,    0,   40,    0,    0,   23,   16,
      101,   62,   64,   47
    }

Definition at line 311 of file lex.yy.cc.

register char * yy_bp

Definition at line 519 of file lex.yy.cc.

yyconst short int yy_chk[146] [static]

Initial value:

    {   0,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    5,   30,    5,    5,    7,   74,
        7,    7,   20,   70,   20,   34,   30,   34,   34,   35,
       69,   35,   35,   72,   72,   72,   73,   73,   66,   62,
       61,   58,   57,   56,   55,   52,   51,   50,   49,   47,
       46,   45,   44,   43,   40,   39,   37,   31,   29,   28,
       27,   26,   25,   23,   22,   19,   18,   16,   15,    3,

       71,   71,   71,   71,   71,   71,   71,   71,   71,   71,
       71,   71,   71,   71,   71,   71,   71,   71,   71,   71,
       71,   71,   71,   71,   71,   71,   71,   71,   71,   71,
       71,   71,   71,   71,   71,   71,   71,   71,   71,   71,
       71,   71,   71,   71,   71
    }

Definition at line 355 of file lex.yy.cc.

register char* yy_cp

Definition at line 519 of file lex.yy.cc.

YY_DECL register yy_state_type yy_current_state

Definition at line 518 of file lex.yy.cc.

yyconst short int yy_def[75] [static]

Initial value:

    {   0,
       71,    1,   71,   71,   71,   71,   71,   72,   71,   71,
       71,   71,   71,   71,   71,   71,   71,   73,   73,   73,
       71,   74,   74,   74,   74,   74,   74,   74,   74,   74,
       74,   71,   71,   71,   71,   72,   71,   71,   73,   71,
       71,   74,   74,   74,   74,   74,   74,   74,   74,   74,
       74,   74,   71,   74,   74,   74,   74,   74,   74,   74,
       74,   74,   74,   74,   74,   74,   74,   74,   74,   74,
        0,   71,   71,   71
    }

Definition at line 323 of file lex.yy.cc.

yyconst int yy_ec[256] [static]

Definition at line 270 of file lex.yy.cc.

yyconst int yy_meta[45] [static]

Initial value:

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

Definition at line 302 of file lex.yy.cc.

yyconst short int yy_nxt[146] [static]

Initial value:

    {   0,
        4,    5,    6,    7,    5,    4,    8,    9,   10,   11,
       12,   13,   14,   15,   16,   17,   18,   19,   19,   19,
       20,   19,   21,    4,   22,   23,   24,   24,   24,   24,
       25,   26,   24,   24,   27,   28,   24,   29,   30,   24,
       24,   31,   32,   33,   34,   50,   35,   34,   35,   42,
       35,   35,   71,   70,   41,   34,   51,   35,   34,   35,
       70,   35,   35,   36,   36,   36,   39,   39,   69,   68,
       67,   66,   65,   64,   63,   62,   61,   60,   59,   58,
       57,   56,   55,   54,   53,   71,   37,   52,   49,   48,
       47,   46,   45,   44,   43,   71,   40,   38,   37,   71,

        3,   71,   71,   71,   71,   71,   71,   71,   71,   71,
       71,   71,   71,   71,   71,   71,   71,   71,   71,   71,
       71,   71,   71,   71,   71,   71,   71,   71,   71,   71,
       71,   71,   71,   71,   71,   71,   71,   71,   71,   71,
       71,   71,   71,   71,   71
    }

Definition at line 335 of file lex.yy.cc.

int yyleng


Generated on Thu Jun 19 19:14:24 2008 for unification by  doxygen 1.5.6