Classes | Defines | Typedefs | Functions | Variables

yyQLexer.cpp File Reference

#include <iostream>
#include <errno.h>
#include <cstdlib>
#include <cstdio>
#include <cstring>
#include <FlexLexer.h>
#include "QueryParser.h"
Include dependency graph for yyQLexer.cpp:

Classes

Defines

Typedefs

Functions

Variables


Define Documentation

#define YY_INT_ALIGNED   short int
#define FLEX_SCANNER
#define YY_FLEX_MAJOR_VERSION   2
#define YY_FLEX_MINOR_VERSION   5
#define YY_FLEX_SUBMINOR_VERSION   35
#define FLEX_BETA
#define yyFlexLexer   yyqFlexLexer
#define FLEXINT_H
#define INT8_MIN   (-128)
#define INT16_MIN   (-32767-1)
#define INT32_MIN   (-2147483647-1)
#define INT8_MAX   (127)
#define INT16_MAX   (32767)
#define INT32_MAX   (2147483647)
#define UINT8_MAX   (255U)
#define UINT16_MAX   (65535U)
#define UINT32_MAX   (4294967295U)
#define YY_USE_CONST
#define yyconst   const
#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 YY_STATE_BUF_SIZE   ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
#define YY_TYPEDEF_YY_BUFFER_STATE
#define EOB_ACT_CONTINUE_SCAN   0
#define EOB_ACT_END_OF_FILE   1
#define EOB_ACT_LAST_MATCH   2
#define YY_LESS_LINENO (   n  ) 
#define yyless (   n  ) 
Value:
do \
                { \
                /* Undo effects of setting up yytext. */ \
        int yyless_macro_arg = (n); \
        YY_LESS_LINENO(yyless_macro_arg);\
                *yy_cp = (yy_hold_char); \
                YY_RESTORE_YY_MORE_OFFSET \
                (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
                YY_DO_BEFORE_ACTION; /* set up yytext again */ \
                } \
        while ( 0 )
#define unput (   c  )     yyunput( c, (yytext_ptr) )
#define YY_TYPEDEF_YY_SIZE_T
#define YY_STRUCT_YY_BUFFER_STATE
#define YY_BUFFER_NEW   0
#define YY_BUFFER_NORMAL   1
#define YY_BUFFER_EOF_PENDING   2
#define YY_CURRENT_BUFFER
Value:
( (yy_buffer_stack) \
                          ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
                          : NULL)
#define YY_CURRENT_BUFFER_LVALUE   (yy_buffer_stack)[(yy_buffer_stack_top)]
#define yy_new_buffer   yy_create_buffer
#define yy_set_interactive (   is_interactive  ) 
Value:
{ \
        if ( ! YY_CURRENT_BUFFER ){ \
        yyensure_buffer_stack (); \
                YY_CURRENT_BUFFER_LVALUE =    \
            yy_create_buffer( yyin, YY_BUF_SIZE ); \
        } \
        YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
        }
#define yy_set_bol (   at_bol  ) 
Value:
{ \
        if ( ! YY_CURRENT_BUFFER ){\
        yyensure_buffer_stack (); \
                YY_CURRENT_BUFFER_LVALUE =    \
            yy_create_buffer( yyin, YY_BUF_SIZE ); \
        } \
        YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
        }
#define YY_AT_BOL (  )     (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
#define FLEX_DEBUG
#define yytext_ptr   yytext
#define YY_INTERACTIVE
#define YY_DECL   int yyqLexer::yylex()
#define YY_DO_BEFORE_ACTION
Value:
(yytext_ptr) = yy_bp; \
/* %% [2.0] code to fiddle yytext and yyleng for yymore() goes here \ */\
        yyleng = (size_t) (yy_cp - yy_bp); \
        (yy_hold_char) = *yy_cp; \
        *yy_cp = '\0'; \
/* %% [3.0] code to copy yytext_ptr to yytext[] goes here, if %array \ */\
        (yy_c_buf_p) = yy_cp;
#define YY_NUM_RULES   15
#define YY_END_OF_BUFFER   16
#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 YY_NO_UNISTD_H   1
#define YY_QUERY_LEXER
#define yyqDEBUG
#define DBG (   code  )     code;
#define DPRINTF2 (   a1,
  a2 
)    DBG(fprintf(stderr,a1,a2);)
#define INITIAL   0
#define qREGEX   1
#define YY_EXTRA_TYPE   void *
#define YY_READ_BUF_SIZE   8192
#define ECHO   LexerOutput( yytext, yyleng )
#define YY_INPUT (   buf,
  result,
  max_size 
)
Value:
/* %% [5.0] fread()/read() definition of YY_INPUT goes here unless we're doing C++ \ */\
\
/* %if-c++-only C++ definition \ */\
        if ( (result = LexerInput( (char *) buf, max_size )) < 0 ) \
                YY_FATAL_ERROR( "input in flex scanner failed" );
#define yyterminate (  )     return YY_NULL
#define YY_START_STACK_INCR   25
#define YY_FATAL_ERROR (   msg  )     LexerError( msg )
#define YY_USER_ACTION
#define YY_BREAK   break;
#define YY_RULE_SETUP   YY_USER_ACTION
#define YY_EXIT_FAILURE   2
#define yyless (   n  ) 
Value:
do \
                { \
                /* Undo effects of setting up yytext. */ \
        int yyless_macro_arg = (n); \
        YY_LESS_LINENO(yyless_macro_arg);\
                yytext[yyleng] = (yy_hold_char); \
                (yy_c_buf_p) = yytext + yyless_macro_arg; \
                (yy_hold_char) = *(yy_c_buf_p); \
                *(yy_c_buf_p) = '\0'; \
                yyleng = yyless_macro_arg; \
                } \
        while ( 0 )
#define YYTABLES_NAME   "yytables"

Typedef Documentation

typedef signed char flex_int8_t
typedef short int flex_int16_t
typedef int flex_int32_t
typedef unsigned char flex_uint8_t
typedef unsigned short int flex_uint16_t
typedef unsigned int flex_uint32_t
typedef size_t yy_size_t
typedef unsigned char YY_CHAR

Function Documentation

void * yyqalloc ( yy_size_t  size  ) 
void * yyqrealloc ( void *  ptr,
yy_size_t  size 
)
void yyqfree ( void *  ptr  ) 
int isatty ( int   ) 

Variable Documentation

int yyleng
const flex_int16_t yy_accept[51] [static]
Initial value:
    {   0,
        0,    0,    0,    0,   16,   10,   13,   13,   10,    5,
        7,   14,   14,    6,   14,   14,   14,   10,   10,   14,
       14,   15,   10,   12,    0,   13,   10,    1,    0,    9,
        0,   11,    0,    0,    8,    0,   10,   10,   10,    2,
        0,    9,    0,   11,    0,   10,   10,    3,    4,    0
    }
const flex_int32_t yy_ec[256] [static]
const flex_int32_t yy_meta[32] [static]
Initial value:
    {   0,
        1,    2,    3,    1,    4,    5,    5,    5,    5,    6,
        4,    5,    4,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        5
    }
const flex_int16_t yy_base[59] [static]
Initial value:
    {   0,
        0,    0,    0,    0,  114,   22,   31,   34,   43,  180,
      180,  104,   32,  180,   63,  180,   26,   40,   41,    0,
       53,  180,   39,  180,   55,   39,   67,  180,   51,  180,
       71,   61,   92,   59,  180,   78,   68,   66,   65,  180,
       84,   88,  104,   34,  125,  103,   99,   98,  106,  180,
      138,  144,  150,   51,  156,  162,  168,  174
    }
const flex_int16_t yy_def[59] [static]
Initial value:
    {   0,
       50,    1,   51,   51,   50,   52,   50,   50,   52,   50,
       50,   50,   53,   50,   54,   50,   55,   52,   52,   56,
       50,   50,   52,   50,   52,   50,   52,   50,   53,   50,
       57,   58,   54,   55,   50,   55,   52,   52,   52,   50,
       53,   53,   57,   58,   58,   52,   52,   52,   52,    0,
       50,   50,   50,   50,   50,   50,   50,   50
    }
const flex_int16_t yy_nxt[212] [static]
Initial value:
    {   0,
        6,    7,    8,    9,   10,   11,   12,   13,   14,   15,
       16,   10,   17,    6,    6,    6,    6,   18,    6,    6,
       19,   20,    6,    6,    6,    6,   18,    6,    6,   19,
       21,   24,   26,   26,   26,   26,   26,   26,   35,   30,
       26,   26,   26,   25,   26,   26,   27,   36,   24,   24,
       24,   32,   24,   31,   37,   45,   23,   38,   30,   23,
       25,   25,   25,   37,   25,   23,   38,   23,   26,   26,
       27,   35,   31,   29,   24,   24,   24,   24,   42,   34,
       36,   46,   45,   40,   33,   47,   25,   25,   25,   25,
       46,   30,   43,   32,   47,   30,   32,   32,   32,   32,

       32,   32,   32,   32,   32,   31,   29,   24,   24,   31,
       28,   42,   24,   50,   49,   24,   50,   50,   50,   25,
       25,   48,   32,   49,   25,   43,   44,   25,   50,   44,
       48,   50,   50,   50,   44,   44,   50,   44,   22,   22,
       22,   22,   22,   22,   23,   50,   50,   50,   23,   23,
       29,   29,   29,   29,   29,   29,   34,   50,   50,   34,
       34,   34,   39,   39,   50,   39,   39,   39,   41,   41,
       41,   41,   41,   41,   44,   50,   50,   50,   44,    5,
       50,   50,   50,   50,   50,   50,   50,   50,   50,   50,
       50,   50,   50,   50,   50,   50,   50,   50,   50,   50,

       50,   50,   50,   50,   50,   50,   50,   50,   50,   50,
       50
    }
const flex_int16_t yy_chk[212] [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,    6,    7,    7,    7,    8,    8,    8,   17,   13,
       26,   26,   26,    6,    9,    9,    9,   17,   23,   18,
       19,   54,    9,   13,   18,   44,   25,   19,   29,   25,
       23,   18,   19,   18,    9,   25,   19,   25,   27,   27,
       27,   34,   29,   31,   39,   38,   27,   37,   31,   36,
       34,   37,   32,   21,   15,   38,   39,   38,   27,   37,
       37,   41,   31,   33,   38,   42,   33,   33,   33,   33,

       33,   33,   33,   33,   33,   41,   43,   48,   47,   42,
       12,   43,   46,    5,   47,   49,    0,    0,    0,   48,
       47,   46,   33,   47,   46,   43,   45,   49,    0,   45,
       46,    0,    0,    0,   45,   45,    0,   45,   51,   51,
       51,   51,   51,   51,   52,    0,    0,    0,   52,   52,
       53,   53,   53,   53,   53,   53,   55,    0,    0,   55,
       55,   55,   56,   56,    0,   56,   56,   56,   57,   57,
       57,   57,   57,   57,   58,    0,    0,    0,   58,   50,
       50,   50,   50,   50,   50,   50,   50,   50,   50,   50,
       50,   50,   50,   50,   50,   50,   50,   50,   50,   50,

       50,   50,   50,   50,   50,   50,   50,   50,   50,   50,
       50
    }
const flex_int16_t yy_rule_linenum[15] [static]
Initial value:
    {   0,
      106,  107,  108,  109,  112,  113,  114,  117,  118,  119,
      122,  123,  126,  127
    }