predicate.tab.cpp File Reference

#include "predicate.tab.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <setjmp.h>

Defines

#define __attribute__(Spec)
#define YY_(msgid)   msgid
#define YY_LOCATION_PRINT(File, Loc)   ((void) 0)
#define YY_REDUCE_PRINT(Args)
#define YY_RESERVE_GLRSTACK(Yystack)
#define YY_SYMBOL_PRINT(Title, Type, Value, Location)
#define YYABORT   return yyabort
#define YYACCEPT   return yyaccept
#define YYASSERT(condition)   ((void) ((condition) || (abort (), 0)))
#define YYBACKUP(Token, Value)
#define YYBISON   1
#define YYBISON_VERSION   "2.3"
#define YYCHK(YYE)
#define YYCHK1(YYE)
#define yyclearin   (yychar = YYEMPTY)
#define YYDEBUG   0
#define YYDPRINTF(Args)
#define yyerrok   (yystackp->yyerrState = 0)
#define YYERROR   return yyerrok, yyerr
#define YYERROR_VERBOSE   0
#define yyfalse   0
#define YYFILL(N)   yyfill (yyvsp, &yylow, N, yynormal)
#define YYFINAL   33
#define YYFREE   free
#define YYHEADROOM   2
#define YYID(n)   (n)
#define YYINDEX(YYX)   ((YYX) == NULL ? -1 : (yyGLRStackItem*) (YYX) - yystackp->yyitems)
#define YYINITDEPTH   200
#define yyis_pact_ninf(yystate)   ((yystate) == YYPACT_NINF)
#define yyis_table_ninf(yytable_value)   YYID (0)
#define YYJMP_BUF   jmp_buf
#define YYLAST   292
#define YYLEX   yylex ()
#define YYLLOC_DEFAULT(Current, Rhs, N)   ((void) 0)
#define YYLONGJMP(env, val)   longjmp (env, val)
#define YYLSP_NEEDED   0
#define YYMALLOC   malloc
#define YYMAXDEPTH   10000
#define YYMAXLEFT   0
#define YYMAXRHS   8
#define YYMAXUTOK   288
#define YYNNTS   9
#define YYNRULES   56
#define YYNSTATES   124
#define YYNTOKENS   37
#define YYOPTIONAL_LOC(Name)   Name __attribute__ ((__unused__))
#define YYPACT_NINF   -31
#define YYPURE   0
#define YYREALLOC   realloc
#define YYRECOVERING()   (yystackp->yyerrState != 0)
#define YYRELOC(YYFROMITEMS, YYTOITEMS, YYX, YYTYPE)   &((YYTOITEMS) - ((YYFROMITEMS) - (yyGLRStackItem*) (YYX)))->YYTYPE
#define YYSETJMP(env)   setjmp (env)
#define YYSIZEMAX   ((size_t) -1)
#define YYSKELETON_NAME   "glr.c"
#define YYSTACKEXPANDABLE   1
#define YYTABLE_NINF   -1
#define YYTERROR   1
#define YYTOKEN_TABLE   0
#define YYTRANSLATE(YYX)
#define yytrue   1
#define YYUNDEFTOK   2
#define YYUSE(e)   ((void) (e))

Typedefs

typedef unsigned char yybool
typedef yyGLRStack yyGLRStack
typedef yyGLRStackItem yyGLRStackItem
typedef yyGLRState yyGLRState
typedef yyGLRStateSet yyGLRStateSet
typedef short int yyItemNum
 Item references, as in LALR(1) machine.
typedef int yyRuleNum
 Rule numbers, as in LALR(1) machine.
typedef yySemanticOption yySemanticOption
typedef int yyStateNum
 State numbers, as in LALR(1) machine.
typedef short int yySymbol
 Grammar symbol.

Enumerations

enum  YYRESULTTAG { yyok, yyaccept, yyabort, yyerr }

Functions

ibis::qExpribis::parseQuery (const char *str)
 Parse a query string.
void yy_delete_buffer (struct yy_buffer_state *)
yy_buffer_state * yy_scan_bytes (const char *, int)
void yyerror (const char *s)
int yyparse (void)
void yyparse_cleanup ()
int yywrap ()

Variables

int parse_length = 0
int parse_offset = 0
std::vector< char * > parse_str_vec
char * parse_string = 0
int yychar
YYLTYPE yylloc
YYSTYPE yylval
int yynerrs

Define Documentation

#define __attribute__ ( Spec   ) 

#define YY_ ( msgid   )     msgid

#define YY_LOCATION_PRINT ( File,
Loc   )     ((void) 0)

#define YY_REDUCE_PRINT ( Args   ) 

#define YY_RESERVE_GLRSTACK ( Yystack   ) 

Value:

do {                                                    \
    if (Yystack->yyspaceLeft < YYHEADROOM)              \
      yyexpandGLRStack (Yystack);                       \
  } while (YYID (0))

#define YY_SYMBOL_PRINT ( Title,
Type,
Value,
Location   ) 

#define YYABORT   return yyabort

#define YYACCEPT   return yyaccept

#define YYASSERT ( condition   )     ((void) ((condition) || (abort (), 0)))

#define YYBACKUP ( Token,
Value   ) 

Value:

return yyerror (YY_("syntax error: cannot back up")),     \
         yyerrok, yyerr

#define YYBISON   1

#define YYBISON_VERSION   "2.3"

#define YYCHK ( YYE   ) 

Value:

do { YYRESULTTAG yyflag = YYE; if (yyflag != yyok) return yyflag; }          \
   while (YYID (0))

#define YYCHK1 ( YYE   ) 

Value:

do {                                                                         \
    switch (YYE) {                                                           \
    case yyok:                                                               \
      break;                                                                 \
    case yyabort:                                                            \
      goto yyabortlab;                                                       \
    case yyaccept:                                                           \
      goto yyacceptlab;                                                      \
    case yyerr:                                                              \
      goto yyuser_error;                                                     \
    default:                                                                 \
      goto yybuglab;                                                         \
    }                                                                        \
  } while (YYID (0))

#define yyclearin   (yychar = YYEMPTY)

#define YYDEBUG   0

#define YYDPRINTF ( Args   ) 

#define yyerrok   (yystackp->yyerrState = 0)

#define YYERROR   return yyerrok, yyerr

#define YYERROR_VERBOSE   0

#define yyfalse   0

#define YYFILL (  )     yyfill (yyvsp, &yylow, N, yynormal)

#define YYFINAL   33

#define YYFREE   free

#define YYHEADROOM   2

#define YYID (  )     (n)

#define YYINDEX ( YYX   )     ((YYX) == NULL ? -1 : (yyGLRStackItem*) (YYX) - yystackp->yyitems)

#define YYINITDEPTH   200

#define yyis_pact_ninf ( yystate   )     ((yystate) == YYPACT_NINF)

#define yyis_table_ninf ( yytable_value   )     YYID (0)

#define YYJMP_BUF   jmp_buf

#define YYLAST   292

#define YYLEX   yylex ()

#define YYLLOC_DEFAULT ( Current,
Rhs,
 )     ((void) 0)

#define YYLONGJMP ( env,
val   )     longjmp (env, val)

#define YYLSP_NEEDED   0

#define YYMALLOC   malloc

#define YYMAXDEPTH   10000

#define YYMAXLEFT   0

#define YYMAXRHS   8

#define YYMAXUTOK   288

#define YYNNTS   9

#define YYNRULES   56

#define YYNSTATES   124

#define YYNTOKENS   37

#define YYOPTIONAL_LOC ( Name   )     Name __attribute__ ((__unused__))

#define YYPACT_NINF   -31

#define YYPURE   0

#define YYREALLOC   realloc

 
#define YYRECOVERING (  )     (yystackp->yyerrState != 0)

#define YYRELOC ( YYFROMITEMS,
YYTOITEMS,
YYX,
YYTYPE   )     &((YYTOITEMS) - ((YYFROMITEMS) - (yyGLRStackItem*) (YYX)))->YYTYPE

#define YYSETJMP ( env   )     setjmp (env)

#define YYSIZEMAX   ((size_t) -1)

#define YYSKELETON_NAME   "glr.c"

#define YYSTACKEXPANDABLE   1

#define YYTABLE_NINF   -1

#define YYTERROR   1

#define YYTOKEN_TABLE   0

#define YYTRANSLATE ( YYX   ) 

Value:

((YYX <= 0) ? YYEOF :                                                   \
   (unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)

#define yytrue   1

#define YYUNDEFTOK   2

#define YYUSE (  )     ((void) (e))


Typedef Documentation

typedef unsigned char yybool

typedef struct yyGLRStack yyGLRStack

typedef union yyGLRStackItem yyGLRStackItem

typedef struct yyGLRState yyGLRState

typedef struct yyGLRStateSet yyGLRStateSet

typedef short int yyItemNum

Item references, as in LALR(1) machine.

typedef int yyRuleNum

Rule numbers, as in LALR(1) machine.

typedef struct yySemanticOption yySemanticOption

typedef int yyStateNum

State numbers, as in LALR(1) machine.

typedef short int yySymbol

Grammar symbol.


Enumeration Type Documentation

enum YYRESULTTAG

Enumerator:
yyok 
yyaccept 
yyabort 
yyerr 


Function Documentation

void yy_delete_buffer ( struct yy_buffer_state *   ) 

struct yy_buffer_state* yy_scan_bytes ( const char *  ,
int   
)

void yyerror ( const char *  s  ) 

int yyparse ( void   ) 

void yyparse_cleanup (  ) 

int yywrap (  ) 


Variable Documentation

int parse_length = 0

int parse_offset = 0

std::vector<char*> parse_str_vec

char* parse_string = 0

int yychar

YYLTYPE yylloc

YYSTYPE yylval

int yynerrs

Make It A Bit Faster