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 | YYBISON_VERSION "2.4.1" |
#define | YYSKELETON_NAME "yacc.c" |
#define | YYPURE 1 |
#define | YYPUSH 0 |
#define | YYPULL 1 |
#define | YYLSP_NEEDED 0 |
#define | yyparse ncbi_q_parse |
#define | yylex ncbi_q_lex |
#define | yyerror ncbi_q_error |
#define | yylval ncbi_q_lval |
#define | yychar ncbi_q_char |
#define | yydebug ncbi_q_debug |
#define | yynerrs ncbi_q_nerrs |
#define | YYSTYPE CQueryParseTree::TNode* |
#define | YYPARSE_PARAM parm |
#define | YYLEX_PARAM parm |
#define | YYMAXDEPTH 100000 |
#define | YYDEBUG 1 |
#define | YYERROR_VERBOSE 1 |
#define | YYERROR_VERBOSE 1 |
#define | YYTOKEN_TABLE 0 |
#define | YYTOKENTYPE |
#define | YYSIZE_T unsigned int |
#define | YYSIZE_MAXIMUM ((YYSIZE_T) -1) |
#define | YY_(msgid) msgid |
#define | YYUSE(e) ((void) (e)) |
#define | YYID(n) (n) |
#define | YYSTACK_ALLOC YYMALLOC |
#define | YYSTACK_FREE YYFREE |
#define | YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
#define | YYMALLOC malloc |
#define | YYFREE free |
#define | YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) |
#define | YYSTACK_BYTES(N) |
#define | YYCOPY(To, From, Count) |
#define | YYSTACK_RELOCATE(Stack_alloc, Stack) |
#define | YYFINAL 25 |
#define | YYLAST 589 |
#define | YYNTOKENS 31 |
#define | YYNNTS 11 |
#define | YYNRULES 53 |
#define | YYNSTATES 96 |
#define | YYUNDEFTOK 2 |
#define | YYMAXUTOK 282 |
#define | YYTRANSLATE(YYX) ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
#define | YYPACT_NINF -26 |
#define | YYTABLE_NINF -49 |
#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 yyerrorlab |
#define | YYFAIL goto yyerrlab |
#define | YYRECOVERING() (!!yyerrstatus) |
#define | YYBACKUP(Token, Value) |
#define | YYTERROR 1 |
#define | YYERRCODE 256 |
#define | YYRHSLOC(Rhs, K) ((Rhs)[K]) |
#define | YYLLOC_DEFAULT(Current, Rhs, N) |
#define | YY_LOCATION_PRINT(File, Loc) ((void) 0) |
#define | YYLEX yylex (&yylval, YYLEX_PARAM) |
#define | YYFPRINTF fprintf |
#define | YYDPRINTF(Args) |
#define | YY_SYMBOL_PRINT(Title, Type, Value, Location) |
#define | YY_STACK_PRINT(Bottom, Top) |
#define | YY_REDUCE_PRINT(Rule) |
#define | YYINITDEPTH 200 |
#define | YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) |
Typedefs | |
typedef unsigned char | yytype_uint8 |
typedef short int | yytype_int8 |
typedef unsigned short int | yytype_uint16 |
typedef short int | yytype_int16 |
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 } |
Variables | |
static const yytype_uint8 | yytranslate [] |
static const yytype_uint8 | yyprhs [] |
static const yytype_int8 | yyrhs [] |
static const yytype_uint16 | yyrline [] |
static const char *const | yytname [] |
static const yytype_uint8 | yyr1 [] |
static const yytype_uint8 | yyr2 [] |
static const yytype_uint8 | yydefact [] |
static const yytype_int8 | yydefgoto [] |
static const yytype_int16 | yypact [] |
static const yytype_int8 | yypgoto [] |
static const yytype_int8 | yytable [] |
static const yytype_int8 | yycheck [] |
static const yytype_uint8 | yystos [] |
int | ncbi_q_debug |
#define YY_ | ( | msgid | ) | msgid |
Definition at line 269 of file query_parser_bison.tab.c.
#define YY_LOCATION_PRINT | ( | File, | |
Loc | |||
) | ((void) 0) |
Definition at line 848 of file query_parser_bison.tab.c.
#define YY_REDUCE_PRINT | ( | Rule | ) |
Definition at line 1008 of file query_parser_bison.tab.c.
#define YY_STACK_PRINT | ( | Bottom, | |
Top | |||
) |
Definition at line 970 of file query_parser_bison.tab.c.
#define YY_SYMBOL_PRINT | ( | Title, | |
Type, | |||
Value, | |||
Location | |||
) |
Definition at line 875 of file query_parser_bison.tab.c.
#define YYABORT goto yyabortlab |
Definition at line 777 of file query_parser_bison.tab.c.
#define YYACCEPT goto yyacceptlab |
Definition at line 776 of file query_parser_bison.tab.c.
#define YYBACKUP | ( | Token, | |
Value | |||
) |
Definition at line 789 of file query_parser_bison.tab.c.
#define YYBISON 1 |
Definition at line 46 of file query_parser_bison.tab.c.
#define YYBISON_VERSION "2.4.1" |
Definition at line 49 of file query_parser_bison.tab.c.
#define yychar ncbi_q_char |
Definition at line 71 of file query_parser_bison.tab.c.
Definition at line 772 of file query_parser_bison.tab.c.
#define YYCOPY | ( | To, | |
From, | |||
Count | |||
) |
Definition at line 395 of file query_parser_bison.tab.c.
#define yydebug ncbi_q_debug |
Definition at line 72 of file query_parser_bison.tab.c.
#define YYDEBUG 1 |
Definition at line 87 of file query_parser_bison.tab.c.
#define YYDPRINTF | ( | Args | ) |
Definition at line 869 of file query_parser_bison.tab.c.
#define YYEMPTY (-2) |
Definition at line 773 of file query_parser_bison.tab.c.
#define YYEOF 0 |
Definition at line 774 of file query_parser_bison.tab.c.
#define YYERRCODE 256 |
Definition at line 808 of file query_parser_bison.tab.c.
#define yyerrok (yyerrstatus = 0) |
Definition at line 771 of file query_parser_bison.tab.c.
#define yyerror ncbi_q_error |
Definition at line 69 of file query_parser_bison.tab.c.
#define YYERROR goto yyerrorlab |
Definition at line 778 of file query_parser_bison.tab.c.
#define YYERROR_VERBOSE 1 |
Definition at line 153 of file query_parser_bison.tab.c.
#define YYERROR_VERBOSE 1 |
Definition at line 153 of file query_parser_bison.tab.c.
#define YYFAIL goto yyerrlab |
Definition at line 785 of file query_parser_bison.tab.c.
#define YYFINAL 25 |
Definition at line 425 of file query_parser_bison.tab.c.
#define YYFPRINTF fprintf |
Definition at line 866 of file query_parser_bison.tab.c.
#define YYFREE free |
Definition at line 358 of file query_parser_bison.tab.c.
Definition at line 282 of file query_parser_bison.tab.c.
#define YYINITDEPTH 200 |
Definition at line 1027 of file query_parser_bison.tab.c.
#define YYLAST 589 |
Definition at line 427 of file query_parser_bison.tab.c.
#define yylex ncbi_q_lex |
Definition at line 68 of file query_parser_bison.tab.c.
#define YYLEX yylex (&yylval, YYLEX_PARAM) |
Definition at line 856 of file query_parser_bison.tab.c.
#define YYLEX_PARAM parm |
Definition at line 84 of file query_parser_bison.tab.c.
#define YYLLOC_DEFAULT | ( | Current, | |
Rhs, | |||
N | |||
) |
Definition at line 817 of file query_parser_bison.tab.c.
#define YYLSP_NEEDED 0 |
Definition at line 64 of file query_parser_bison.tab.c.
#define yylval ncbi_q_lval |
Definition at line 70 of file query_parser_bison.tab.c.
#define YYMALLOC malloc |
Definition at line 351 of file query_parser_bison.tab.c.
#define YYMAXDEPTH 100000 |
Definition at line 85 of file query_parser_bison.tab.c.
#define YYMAXUTOK 282 |
Definition at line 440 of file query_parser_bison.tab.c.
#define yynerrs ncbi_q_nerrs |
Definition at line 73 of file query_parser_bison.tab.c.
#define YYNNTS 11 |
Definition at line 432 of file query_parser_bison.tab.c.
#define YYNRULES 53 |
Definition at line 434 of file query_parser_bison.tab.c.
#define YYNSTATES 96 |
Definition at line 436 of file query_parser_bison.tab.c.
#define YYNTOKENS 31 |
Definition at line 430 of file query_parser_bison.tab.c.
#define YYPACT_NINF -26 |
Definition at line 602 of file query_parser_bison.tab.c.
#define yyparse ncbi_q_parse |
Definition at line 67 of file query_parser_bison.tab.c.
#define YYPARSE_PARAM parm |
Definition at line 83 of file query_parser_bison.tab.c.
#define YYPULL 1 |
Definition at line 61 of file query_parser_bison.tab.c.
#define YYPURE 1 |
Definition at line 55 of file query_parser_bison.tab.c.
#define YYPUSH 0 |
Definition at line 58 of file query_parser_bison.tab.c.
#define YYRECOVERING | ( | ) | (!!yyerrstatus) |
Definition at line 787 of file query_parser_bison.tab.c.
Definition at line 815 of file query_parser_bison.tab.c.
#define YYSIZE_MAXIMUM ((YYSIZE_T) -1) |
Definition at line 259 of file query_parser_bison.tab.c.
#define YYSIZE_T unsigned int |
Definition at line 255 of file query_parser_bison.tab.c.
#define YYSKELETON_NAME "yacc.c" |
Definition at line 52 of file query_parser_bison.tab.c.
#define YYSTACK_ALLOC YYMALLOC |
Definition at line 337 of file query_parser_bison.tab.c.
#define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
Definition at line 340 of file query_parser_bison.tab.c.
#define YYSTACK_BYTES | ( | N | ) |
Definition at line 384 of file query_parser_bison.tab.c.
#define YYSTACK_FREE YYFREE |
Definition at line 338 of file query_parser_bison.tab.c.
#define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) |
Definition at line 380 of file query_parser_bison.tab.c.
#define YYSTACK_RELOCATE | ( | Stack_alloc, | |
Stack | |||
) |
Definition at line 411 of file query_parser_bison.tab.c.
#define YYSTYPE CQueryParseTree::TNode* |
Definition at line 82 of file query_parser_bison.tab.c.
#define YYTABLE_NINF -49 |
Definition at line 628 of file query_parser_bison.tab.c.
#define YYTERROR 1 |
Definition at line 807 of file query_parser_bison.tab.c.
#define YYTOKEN_TABLE 0 |
Definition at line 160 of file query_parser_bison.tab.c.
#define YYTOKENTYPE |
Definition at line 166 of file query_parser_bison.tab.c.
#define YYTRANSLATE | ( | YYX | ) | ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
Definition at line 442 of file query_parser_bison.tab.c.
#define YYUNDEFTOK 2 |
Definition at line 439 of file query_parser_bison.tab.c.
#define YYUSE | ( | e | ) | ((void) (e)) |
Definition at line 275 of file query_parser_bison.tab.c.
typedef short int yytype_int16 |
Definition at line 242 of file query_parser_bison.tab.c.
typedef short int yytype_int8 |
Definition at line 230 of file query_parser_bison.tab.c.
typedef unsigned short int yytype_uint16 |
Definition at line 236 of file query_parser_bison.tab.c.
typedef unsigned char yytype_uint8 |
Definition at line 221 of file query_parser_bison.tab.c.
enum yytokentype |
Definition at line 169 of file query_parser_bison.tab.c.
|
inlinestatic |
Add node to a list if parser environment is in the list parsing context.
Definition at line 115 of file query_parser_bison.tab.c.
References CTreeNode< TValue, TKeyGetterP >::AddNode(), and env.
Referenced by ncbi_q_parse().
|
inlinestatic |
Definition at line 128 of file query_parser_bison.tab.c.
References CTreeNode< TValue, TKeyGetterP >::AddNode(), and env.
Referenced by ncbi_q_parse().
int ncbi_q_parse | ( | ) |
Referenced by CQueryParseTree::Parse().
int ncbi_q_parse | ( | parm | ) |
Definition at line 1315 of file query_parser_bison.tab.c.
References AddFunc_Arg(), AddIn_Arg(), AddNode(), CQueryParseNode::eAnd, CQueryParseNode::eFieldSearch, env, CQueryParseTree::eSyntaxCheck, CTreeNode< TValue, TKeyGetterP >::InsertNode(), NCBI_THROW, QTreeAddNode(), CTreeNode< TValue, TKeyGetterP >::SubNodeBegin(), YY_, YY_REDUCE_PRINT, YY_STACK_PRINT, YY_SYMBOL_PRINT, YYABORT, YYACCEPT, yychar, yycheck, yydefact, yydefgoto, yydestruct(), YYDPRINTF, YYEMPTY, YYEOF, yyerrok, yyerror, YYFINAL, YYID, YYINITDEPTH, YYLAST, YYLEX, yylval, YYMAXDEPTH, yynerrs, YYNTOKENS, yypact, YYPACT_NINF, yypgoto, YYPOPSTACK, yyr1, yyr2, YYSIZE_T, yyalloc::yyss, yyalloc::yyss_alloc, YYSTACK_ALLOC, YYSTACK_ALLOC_MAXIMUM, YYSTACK_BYTES, YYSTACK_FREE, YYSTACK_RELOCATE, yystos, yysyntax_error(), yytable, YYTABLE_NINF, YYTERROR, YYTRANSLATE, yyalloc::yyvs, and yyalloc::yyvs_alloc.
|
inlinestatic |
Add child node(s) to the parent.
Definition at line 95 of file query_parser_bison.tab.c.
References CTreeNode< TValue, TKeyGetterP >::AddNode(), and env.
Referenced by ncbi_q_parse().
|
static |
Definition at line 987 of file query_parser_bison.tab.c.
References yy_symbol_print(), YYFPRINTF, yyprhs, yyr2, yyrhs, and yyrline.
|
static |
Definition at line 956 of file query_parser_bison.tab.c.
References YYFPRINTF.
|
static |
Definition at line 930 of file query_parser_bison.tab.c.
References yy_symbol_value_print(), YYFPRINTF, YYNTOKENS, yytname, and yyvaluep.
Referenced by yy_reduce_print().
|
static |
Definition at line 898 of file query_parser_bison.tab.c.
References YYNTOKENS, YYUSE, and yyvaluep.
Referenced by yy_symbol_print().
|
static |
Definition at line 1265 of file query_parser_bison.tab.c.
References YY_SYMBOL_PRINT, YYUSE, and yyvaluep.
Referenced by ncbi_q_parse().
Definition at line 1080 of file query_parser_bison.tab.c.
Referenced by newickparse(), yyparse(), yysyntax_error(), and yytnamerr().
Definition at line 1056 of file query_parser_bison.tab.c.
References YYSIZE_T.
Referenced by newickparse(), yyparse(), yysyntax_error(), and yytnamerr().
Definition at line 1152 of file query_parser_bison.tab.c.
References YY_, yychar, yycheck, YYLAST, YYNTOKENS, yypact, YYPACT_NINF, YYSIZE_MAXIMUM, YYSIZE_T, yystpcpy(), yystrlen(), YYTERROR, yytname, yytnamerr(), and YYTRANSLATE.
Referenced by ncbi_q_parse().
Definition at line 1105 of file query_parser_bison.tab.c.
References YYSIZE_T, yystpcpy(), and yystrlen().
Referenced by yysyntax_error().
int ncbi_q_debug |
Definition at line 1016 of file query_parser_bison.tab.c.
|
static |
Definition at line 692 of file query_parser_bison.tab.c.
Referenced by ncbi_q_parse(), and yysyntax_error().
|
static |
Definition at line 579 of file query_parser_bison.tab.c.
Referenced by ncbi_q_parse().
|
static |
Definition at line 594 of file query_parser_bison.tab.c.
Referenced by ncbi_q_parse().
|
static |
Definition at line 603 of file query_parser_bison.tab.c.
Referenced by ncbi_q_parse(), and yysyntax_error().
|
static |
Definition at line 618 of file query_parser_bison.tab.c.
Referenced by ncbi_q_parse().
|
static |
Definition at line 482 of file query_parser_bison.tab.c.
Referenced by yy_reduce_print().
|
static |
Definition at line 555 of file query_parser_bison.tab.c.
Referenced by ncbi_q_parse().
|
static |
Definition at line 566 of file query_parser_bison.tab.c.
Referenced by ncbi_q_parse(), and yy_reduce_print().
|
static |
Definition at line 493 of file query_parser_bison.tab.c.
Referenced by yy_reduce_print().
|
static |
Definition at line 517 of file query_parser_bison.tab.c.
Referenced by yy_reduce_print().
|
static |
Definition at line 757 of file query_parser_bison.tab.c.
Referenced by ncbi_q_parse().
|
static |
Definition at line 629 of file query_parser_bison.tab.c.
Referenced by ncbi_q_parse().
Definition at line 531 of file query_parser_bison.tab.c.
Referenced by yy_symbol_print(), and yysyntax_error().
|
static |
Definition at line 446 of file query_parser_bison.tab.c.