NCBI C++ ToolKit
|
#include <stdio.h>
Go to the source code of this file.
Go to the SVN repository for this file.
Classes | |
union | yyalloc |
Macros | |
#define | YYBISON 1 |
#define | YYSKELETON_NAME "yacc.c" |
#define | YYPURE 1 |
#define | YYLSP_NEEDED 0 |
#define | YYTOKENTYPE |
#define | NAME 258 |
#define | STRING 259 |
#define | NUM 260 |
#define | NOT 261 |
#define | AND 262 |
#define | OR 263 |
#define | EQ 264 |
#define | NOTEQ 265 |
#define | GT 266 |
#define | GE 267 |
#define | LT 268 |
#define | LE 269 |
#define | YYSTYPE CBDB_Query::TQueryClause* |
#define | YYPARSE_PARAM parm |
#define | YYLEX_PARAM parm |
#define | YYINITDEPTH 50 |
#define | YYMAXDEPTH 1000 |
#define | YYDEBUG 1 |
#define | YYERROR_VERBOSE 0 |
#define | YYSTACK_ALLOC malloc |
#define | YYSTACK_FREE free |
#define | YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) |
#define | YYSTACK_BYTES(N) |
#define | YYCOPY(To, From, Count) |
#define | YYSTACK_RELOCATE(Stack) |
#define | YYFINAL 10 |
#define | YYLAST 60 |
#define | YYNTOKENS 17 |
#define | YYNNTS 3 |
#define | YYNRULES 15 |
#define | YYNSTATES 28 |
#define | YYUNDEFTOK 2 |
#define | YYMAXUTOK 269 |
#define | YYTRANSLATE(YYX) ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
#define | YYPACT_NINF -5 |
#define | YYTABLE_NINF -1 |
#define | YYSIZE_T unsigned int |
#define | yyerrok (yyerrstatus = 0) |
#define | yyclearin (yychar = YYEMPTY) |
#define | YYEMPTY (-2) |
#define | YYEOF 0 |
#define | YYACCEPT goto yyacceptlab |
#define | YYABORT goto yyabortlab |
#define | YYERROR goto yyerrlab1 |
#define | YYFAIL goto yyerrlab |
#define | YYRECOVERING() (!!yyerrstatus) |
#define | YYBACKUP(Token, Value) |
#define | YYTERROR 1 |
#define | YYERRCODE 256 |
#define | YYLLOC_DEFAULT(Current, Rhs, N) |
#define | YYLEX yylex (&yylval, YYLEX_PARAM) |
#define | YYFPRINTF fprintf |
#define | YYDPRINTF(Args) |
#define | YYDSYMPRINT(Args) |
#define | YYDSYMPRINTF(Title, Token, Value, Location) |
#define | YY_STACK_PRINT(Bottom, Top) |
#define | YY_REDUCE_PRINT(Rule) |
#define | YYPOPSTACK (yyvsp--, yyssp--) |
Typedefs | |
typedef short | yysigned_char |
Enumerations | |
enum | yytokentype { LABEL = 258 , NUM = 259 , LABEL = 258 , NUM = 259 , NAME = 258 , STRING = 259 , NUM = 260 , NOT = 261 , AND = 262 , OR = 263 , EQ = 264 , NOTEQ = 265 , GT = 266 , GE = 267 , LT = 268 , LE = 269 , IDENT = 258 , STRING = 259 , NUM_INT = 260 , SELECT = 261 , FROM = 262 , WHERE = 263 , FUNCTION = 264 , AND = 265 , NOT = 266 , OR = 267 , SUB = 268 , XOR = 269 , RANGE = 270 , EQ = 271 , NOTEQ = 272 , GT = 273 , GE = 274 , LT = 275 , LE = 276 , BETWEEN = 277 , NOT_BETWEEN = 278 , LIKE = 279 , NOT_LIKE = 280 , IN = 281 , NOT_IN = 282 } |
Functions | |
static void | BisonSaveStageResult (CBDB_Query::TQueryClause *res, void *parm) |
static void | yy_stack_print (short *bottom, short *top) |
static void | yy_reduce_print (int yyrule) |
static void | yysymprint (FILE *yyoutput, int yytype, CBDB_Query::TQueryClause **yyvaluep) |
static void | yydestruct (int yytype, CBDB_Query::TQueryClause **yyvaluep) |
int | yyparse () |
int | yyparse (parm) |
Variables | |
static const unsigned char | yytranslate [] |
static const unsigned char | yyprhs [] |
static const yysigned_char | yyrhs [] |
static const unsigned char | yyrline [] |
static const char *const | yytname [] |
static const unsigned char | yyr1 [] |
static const unsigned char | yyr2 [] |
static const unsigned char | yydefact [] |
static const yysigned_char | yydefgoto [] |
static const yysigned_char | yypact [] |
static const yysigned_char | yypgoto [] |
static const unsigned char | yytable [] |
static const unsigned char | yycheck [] |
static const unsigned char | yystos [] |
int | yydebug |
#define AND 262 |
Definition at line 74 of file bdb_query_bison.tab.c.
#define EQ 264 |
Definition at line 76 of file bdb_query_bison.tab.c.
#define GE 267 |
Definition at line 79 of file bdb_query_bison.tab.c.
#define GT 266 |
Definition at line 78 of file bdb_query_bison.tab.c.
#define LE 269 |
Definition at line 81 of file bdb_query_bison.tab.c.
#define LT 268 |
Definition at line 80 of file bdb_query_bison.tab.c.
#define NAME 258 |
Definition at line 70 of file bdb_query_bison.tab.c.
#define NOT 261 |
Definition at line 73 of file bdb_query_bison.tab.c.
#define NOTEQ 265 |
Definition at line 77 of file bdb_query_bison.tab.c.
#define NUM 260 |
Definition at line 72 of file bdb_query_bison.tab.c.
#define OR 263 |
Definition at line 75 of file bdb_query_bison.tab.c.
#define STRING 259 |
Definition at line 71 of file bdb_query_bison.tab.c.
#define YY_REDUCE_PRINT | ( | Rule | ) |
Definition at line 575 of file bdb_query_bison.tab.c.
#define YY_STACK_PRINT | ( | Bottom, | |
Top | |||
) |
Definition at line 545 of file bdb_query_bison.tab.c.
#define YYABORT goto yyabortlab |
Definition at line 442 of file bdb_query_bison.tab.c.
#define YYACCEPT goto yyacceptlab |
Definition at line 441 of file bdb_query_bison.tab.c.
#define YYBACKUP | ( | Token, | |
Value | |||
) |
Definition at line 454 of file bdb_query_bison.tab.c.
#define YYBISON 1 |
Definition at line 37 of file bdb_query_bison.tab.c.
Definition at line 437 of file bdb_query_bison.tab.c.
#define YYCOPY | ( | To, | |
From, | |||
Count | |||
) |
Definition at line 202 of file bdb_query_bison.tab.c.
#define YYDEBUG 1 |
Definition at line 96 of file bdb_query_bison.tab.c.
#define YYDPRINTF | ( | Args | ) |
Definition at line 501 of file bdb_query_bison.tab.c.
#define YYDSYMPRINT | ( | Args | ) |
Definition at line 507 of file bdb_query_bison.tab.c.
#define YYDSYMPRINTF | ( | Title, | |
Token, | |||
Value, | |||
Location | |||
) |
Definition at line 513 of file bdb_query_bison.tab.c.
#define YYEMPTY (-2) |
Definition at line 438 of file bdb_query_bison.tab.c.
#define YYEOF 0 |
Definition at line 439 of file bdb_query_bison.tab.c.
#define YYERRCODE 256 |
Definition at line 472 of file bdb_query_bison.tab.c.
#define yyerrok (yyerrstatus = 0) |
Definition at line 436 of file bdb_query_bison.tab.c.
#define YYERROR goto yyerrlab1 |
Definition at line 443 of file bdb_query_bison.tab.c.
#define YYERROR_VERBOSE 0 |
Definition at line 125 of file bdb_query_bison.tab.c.
#define YYFAIL goto yyerrlab |
Definition at line 450 of file bdb_query_bison.tab.c.
#define YYFINAL 10 |
Definition at line 238 of file bdb_query_bison.tab.c.
#define YYFPRINTF fprintf |
Definition at line 498 of file bdb_query_bison.tab.c.
#define YYINITDEPTH 50 |
Definition at line 93 of file bdb_query_bison.tab.c.
#define YYLAST 60 |
Definition at line 240 of file bdb_query_bison.tab.c.
#define YYLEX yylex (&yylval, YYLEX_PARAM) |
Definition at line 488 of file bdb_query_bison.tab.c.
#define YYLEX_PARAM parm |
Definition at line 92 of file bdb_query_bison.tab.c.
#define YYLLOC_DEFAULT | ( | Current, | |
Rhs, | |||
N | |||
) |
Definition at line 478 of file bdb_query_bison.tab.c.
#define YYLSP_NEEDED 0 |
Definition at line 46 of file bdb_query_bison.tab.c.
#define YYMAXDEPTH 1000 |
Definition at line 94 of file bdb_query_bison.tab.c.
#define YYMAXUTOK 269 |
Definition at line 253 of file bdb_query_bison.tab.c.
#define YYNNTS 3 |
Definition at line 245 of file bdb_query_bison.tab.c.
#define YYNRULES 15 |
Definition at line 247 of file bdb_query_bison.tab.c.
#define YYNSTATES 28 |
Definition at line 249 of file bdb_query_bison.tab.c.
#define YYNTOKENS 17 |
Definition at line 243 of file bdb_query_bison.tab.c.
#define YYPACT_NINF -5 |
Definition at line 370 of file bdb_query_bison.tab.c.
#define YYPARSE_PARAM parm |
Definition at line 91 of file bdb_query_bison.tab.c.
#define YYPOPSTACK (yyvsp--, yyssp--) |
#define YYPURE 1 |
Definition at line 43 of file bdb_query_bison.tab.c.
#define YYRECOVERING | ( | ) | (!!yyerrstatus) |
Definition at line 452 of file bdb_query_bison.tab.c.
#define YYSIZE_T unsigned int |
Definition at line 433 of file bdb_query_bison.tab.c.
#define YYSKELETON_NAME "yacc.c" |
Definition at line 40 of file bdb_query_bison.tab.c.
#define YYSTACK_ALLOC malloc |
Definition at line 169 of file bdb_query_bison.tab.c.
#define YYSTACK_BYTES | ( | N | ) |
Definition at line 191 of file bdb_query_bison.tab.c.
#define YYSTACK_FREE free |
Definition at line 170 of file bdb_query_bison.tab.c.
#define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) |
Definition at line 187 of file bdb_query_bison.tab.c.
#define YYSTACK_RELOCATE | ( | Stack | ) |
Definition at line 218 of file bdb_query_bison.tab.c.
#define YYSTYPE CBDB_Query::TQueryClause* |
Definition at line 90 of file bdb_query_bison.tab.c.
#define YYTABLE_NINF -1 |
Definition at line 388 of file bdb_query_bison.tab.c.
#define YYTERROR 1 |
Definition at line 471 of file bdb_query_bison.tab.c.
#define YYTOKENTYPE |
Definition at line 52 of file bdb_query_bison.tab.c.
#define YYTRANSLATE | ( | YYX | ) | ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
Definition at line 255 of file bdb_query_bison.tab.c.
#define YYUNDEFTOK 2 |
Definition at line 252 of file bdb_query_bison.tab.c.
typedef short yysigned_char |
Definition at line 234 of file bdb_query_bison.tab.c.
enum yytokentype |
Definition at line 55 of file bdb_query_bison.tab.c.
|
inlinestatic |
|
static |
Definition at line 534 of file bdb_query_bison.tab.c.
References YYFPRINTF.
|
static |
int yyparse | ( | ) |
int yyparse | ( | parm | ) |
Definition at line 763 of file bdb_query_bison.tab.c.
References BisonSaveStageResult(), CBDB_QueryNode::eAnd, CBDB_QueryNode::eEQ, CBDB_QueryNode::eGE, CBDB_QueryNode::eGT, CBDB_QueryNode::eLE, CBDB_QueryNode::eLT, CBDB_QueryNode::eNot, CBDB_QueryNode::eOr, CBDB_Query::NewLogicalNode(), CBDB_Query::NewOperatorNode(), YY_REDUCE_PRINT, YY_STACK_PRINT, YYABORT, YYACCEPT, yychar, yycheck, yydefact, yydefgoto, yydestruct(), YYDPRINTF, YYDSYMPRINTF, YYEMPTY, YYEOF, yyerror, YYFINAL, YYINITDEPTH, YYLAST, YYLEX, yylval, YYMAXDEPTH, yynerrs, YYNTOKENS, yypact, YYPACT_NINF, yypgoto, YYPOPSTACK, yyr1, yyr2, YYSIZE_T, yyalloc::yyss, YYSTACK_ALLOC, YYSTACK_BYTES, YYSTACK_FREE, YYSTACK_RELOCATE, yystos, yystpcpy(), yystrlen(), yytable, YYTABLE_NINF, YYTERROR, yytname, YYTRANSLATE, and yyalloc::yyvs.
|
static |
|
static |
Definition at line 400 of file bdb_query_bison.tab.c.
Referenced by yyparse().
int yydebug |
Definition at line 583 of file bdb_query_bison.tab.c.
Referenced by CQueryParseTree::Parse().
|
static |
Definition at line 355 of file bdb_query_bison.tab.c.
Referenced by yyparse().
|
static |
Definition at line 363 of file bdb_query_bison.tab.c.
Referenced by yyparse().
|
static |
Definition at line 371 of file bdb_query_bison.tab.c.
Referenced by yyparse().
|
static |
Definition at line 379 of file bdb_query_bison.tab.c.
Referenced by yyparse().
|
static |
Definition at line 293 of file bdb_query_bison.tab.c.
Referenced by yy_reduce_print().
|
static |
Definition at line 339 of file bdb_query_bison.tab.c.
Referenced by yy_reduce_print(), and yyparse().
|
static |
Definition at line 346 of file bdb_query_bison.tab.c.
Referenced by yyparse().
|
static |
Definition at line 300 of file bdb_query_bison.tab.c.
Referenced by yy_reduce_print().
|
static |
Definition at line 310 of file bdb_query_bison.tab.c.
Referenced by yy_reduce_print().
|
static |
Definition at line 413 of file bdb_query_bison.tab.c.
Referenced by yyparse().
|
static |
Definition at line 389 of file bdb_query_bison.tab.c.
Referenced by yyparse().
Definition at line 320 of file bdb_query_bison.tab.c.
Referenced by newickparse(), yy_reduce_print(), yyparse(), and yysymprint().
|
static |
Definition at line 259 of file bdb_query_bison.tab.c.