NCBI C++ ToolKit
|
Go to the source code of this file.
Go to the SVN repository for this file.
Classes | |
union | YYSTYPE |
union | yyalloc |
Macros | |
#define | YYBISON 1 |
#define | YYSKELETON_NAME "yacc.c" |
#define | YYPURE 0 |
#define | YYLSP_NEEDED 0 |
#define | yyparse newickparse |
#define | yylex newicklex |
#define | yyerror newickerror |
#define | yylval newicklval |
#define | yychar newickchar |
#define | yydebug newickdebug |
#define | yynerrs newicknerrs |
#define | YYTOKENTYPE |
#define | LABEL 258 |
#define | NUM 259 |
#define | YYINITDEPTH 10000 |
#define | YYDEBUG 0 |
#define | YYERROR_VERBOSE 0 |
#define | yystype YYSTYPE /* obsolescent; will be withdrawn */ |
#define | YYSTYPE_IS_DECLARED 1 |
#define | YYSTYPE_IS_TRIVIAL 1 |
#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 17 |
#define | YYNTOKENS 10 |
#define | YYNNTS 4 |
#define | YYNRULES 12 |
#define | YYNSTATES 21 |
#define | YYUNDEFTOK 2 |
#define | YYMAXUTOK 259 |
#define | YYTRANSLATE(YYX) ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
#define | YYPACT_NINF -8 |
#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 () |
#define | YYDPRINTF(Args) |
#define | YYDSYMPRINT(Args) |
#define | YYDSYMPRINTF(Title, Token, Value, Location) |
#define | YY_STACK_PRINT(Bottom, Top) |
#define | YY_REDUCE_PRINT(Rule) |
#define | YYMAXDEPTH 10000 |
#define | YYPOPSTACK (yyvsp--, yyssp--) |
Typedefs | |
typedef union YYSTYPE | YYSTYPE |
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 | |
USING_SCOPE (ncbi) | |
void | newickerror (const char *error) |
int | newicklex (void) |
static void | yydestruct (yytype, yyvaluep) int yytype |
switch (yytype) | |
int | newickparse () |
void | newick_flex_reset (void) |
TPhyTreeNode * | ReadNewickTree (CNcbiIstream &is) |
Newick format input. More... | |
Variables | |
static int | nodecount = 0 |
static TPhyTreeNode * | g_Tree = 0 |
CNcbiIstream * | g_NewickIstr |
vector< TPhyTreeNode * > | g_NodeList |
static const unsigned char | yytranslate [] |
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 yysigned_char | yycheck [] |
static const unsigned char | yystos [] |
YYSTYPE * | yyvaluep |
int | newickchar |
YYSTYPE | newicklval |
int | newicknerrs |
#define LABEL 258 |
Definition at line 71 of file newick.tab.cpp.
#define NUM 259 |
Definition at line 72 of file newick.tab.cpp.
#define YY_REDUCE_PRINT | ( | Rule | ) |
Definition at line 601 of file newick.tab.cpp.
#define YY_STACK_PRINT | ( | Bottom, | |
Top | |||
) |
Definition at line 600 of file newick.tab.cpp.
#define YYABORT goto yyabortlab |
Definition at line 455 of file newick.tab.cpp.
#define YYACCEPT goto yyacceptlab |
Definition at line 454 of file newick.tab.cpp.
#define YYBACKUP | ( | Token, | |
Value | |||
) |
Definition at line 466 of file newick.tab.cpp.
#define YYBISON 1 |
Definition at line 39 of file newick.tab.cpp.
#define yychar newickchar |
Definition at line 56 of file newick.tab.cpp.
Definition at line 450 of file newick.tab.cpp.
#define YYCOPY | ( | To, | |
From, | |||
Count | |||
) |
Definition at line 228 of file newick.tab.cpp.
#define yydebug newickdebug |
Definition at line 57 of file newick.tab.cpp.
#define YYDEBUG 0 |
Definition at line 136 of file newick.tab.cpp.
#define YYDPRINTF | ( | Args | ) |
Definition at line 597 of file newick.tab.cpp.
#define YYDSYMPRINT | ( | Args | ) |
Definition at line 598 of file newick.tab.cpp.
#define YYDSYMPRINTF | ( | Title, | |
Token, | |||
Value, | |||
Location | |||
) |
Definition at line 599 of file newick.tab.cpp.
#define YYEMPTY (-2) |
Definition at line 451 of file newick.tab.cpp.
#define YYEOF 0 |
Definition at line 452 of file newick.tab.cpp.
#define YYERRCODE 256 |
Definition at line 484 of file newick.tab.cpp.
#define yyerrok (yyerrstatus = 0) |
Definition at line 449 of file newick.tab.cpp.
#define yyerror newickerror |
Definition at line 54 of file newick.tab.cpp.
#define YYERROR goto yyerrlab1 |
Definition at line 456 of file newick.tab.cpp.
#define YYERROR_VERBOSE 0 |
Definition at line 144 of file newick.tab.cpp.
#define YYFAIL goto yyerrlab |
Definition at line 462 of file newick.tab.cpp.
#define YYFINAL 10 |
Definition at line 264 of file newick.tab.cpp.
#define YYINITDEPTH 10000 |
Definition at line 131 of file newick.tab.cpp.
#define YYLAST 17 |
Definition at line 266 of file newick.tab.cpp.
#define yylex newicklex |
Definition at line 53 of file newick.tab.cpp.
#define YYLEX yylex () |
Definition at line 502 of file newick.tab.cpp.
#define YYLLOC_DEFAULT | ( | Current, | |
Rhs, | |||
N | |||
) |
Definition at line 490 of file newick.tab.cpp.
#define YYLSP_NEEDED 0 |
Definition at line 48 of file newick.tab.cpp.
#define yylval newicklval |
Definition at line 55 of file newick.tab.cpp.
#define YYMAXDEPTH 10000 |
Definition at line 622 of file newick.tab.cpp.
#define YYMAXUTOK 259 |
Definition at line 279 of file newick.tab.cpp.
#define yynerrs newicknerrs |
Definition at line 58 of file newick.tab.cpp.
#define YYNNTS 4 |
Definition at line 271 of file newick.tab.cpp.
#define YYNRULES 12 |
Definition at line 273 of file newick.tab.cpp.
#define YYNSTATES 21 |
Definition at line 275 of file newick.tab.cpp.
#define YYNTOKENS 10 |
Definition at line 269 of file newick.tab.cpp.
#define YYPACT_NINF -8 |
Definition at line 393 of file newick.tab.cpp.
#define yyparse newickparse |
Definition at line 52 of file newick.tab.cpp.
#define YYPOPSTACK (yyvsp--, yyssp--) |
#define YYPURE 0 |
Definition at line 45 of file newick.tab.cpp.
#define YYRECOVERING | ( | ) | (!!yyerrstatus) |
Definition at line 464 of file newick.tab.cpp.
#define YYSIZE_T unsigned int |
Definition at line 446 of file newick.tab.cpp.
#define YYSKELETON_NAME "yacc.c" |
Definition at line 42 of file newick.tab.cpp.
#define YYSTACK_ALLOC malloc |
Definition at line 195 of file newick.tab.cpp.
#define YYSTACK_BYTES | ( | N | ) |
Definition at line 217 of file newick.tab.cpp.
#define YYSTACK_FREE free |
Definition at line 196 of file newick.tab.cpp.
#define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) |
Definition at line 213 of file newick.tab.cpp.
#define YYSTACK_RELOCATE | ( | Stack | ) |
Definition at line 244 of file newick.tab.cpp.
#define yystype YYSTYPE /* obsolescent; will be withdrawn */ |
Definition at line 156 of file newick.tab.cpp.
#define YYSTYPE_IS_DECLARED 1 |
Definition at line 157 of file newick.tab.cpp.
#define YYSTYPE_IS_TRIVIAL 1 |
Definition at line 158 of file newick.tab.cpp.
#define YYTABLE_NINF -1 |
Definition at line 411 of file newick.tab.cpp.
#define YYTERROR 1 |
Definition at line 483 of file newick.tab.cpp.
#define YYTOKENTYPE |
Definition at line 63 of file newick.tab.cpp.
#define YYTRANSLATE | ( | YYX | ) | ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
Definition at line 281 of file newick.tab.cpp.
#define YYUNDEFTOK 2 |
Definition at line 278 of file newick.tab.cpp.
typedef short yysigned_char |
Definition at line 260 of file newick.tab.cpp.
enum yytokentype |
Definition at line 66 of file newick.tab.cpp.
void newick_flex_reset | ( | void | ) |
Definition at line 1652 of file lex.newick.cpp.
References BEGIN, and newickrestart().
Referenced by ReadNewickTree().
void newickerror | ( | const char * | error | ) |
Definition at line 1361 of file newick.tab.cpp.
References g_NodeList, g_Tree, and ITERATE.
int newicklex | ( | void | ) |
Definition at line 605 of file lex.newick.cpp.
References BEGIN, YYSTYPE::dblval, ECHO, EOB_ACT_CONTINUE_SCAN, EOB_ACT_END_OF_FILE, EOB_ACT_LAST_MATCH, EXPECT_NUM, g_Buffer, i, INITIAL, int, LABEL, newicklval, NUM, YYSTYPE::strval, yy_accept, yy_base, YY_BREAK, YY_BUF_SIZE, YY_BUFFER_NEW, YY_BUFFER_NORMAL, yy_buffer_state::yy_buffer_status, yy_c, yy_c_buf_p, yy_buffer_state::yy_ch_buf, yy_ch_buf, yy_chk, yy_cp, yy_create_buffer, yy_current_buffer, yy_current_state, yy_def, yy_did_buffer_switch_on_eof, YY_DO_BEFORE_ACTION, yy_ec, YY_END_OF_BUFFER, YY_FATAL_ERROR, yy_get_next_buffer(), yy_get_previous_state(), yy_hold_char, yy_init, yy_buffer_state::yy_input_file, yy_last_accepting_cpos, yy_last_accepting_state, yy_load_buffer_state, yy_meta, YY_MORE_ADJ, yy_buffer_state::yy_n_chars, yy_n_chars, YY_NEW_FILE, yy_nxt, YY_RESTORE_YY_MORE_OFFSET, YY_RULE_SETUP, YY_SC_TO_UI, YY_START, yy_start, YY_STATE_EOF, yy_try_NUL_trans(), yyin, yyout, yyterminate, yytext, yytext_ptr, and yywrap.
int newickparse | ( | ) |
Definition at line 792 of file newick.tab.cpp.
References CTreeNode< TValue, TKeyGetterP >::AddNode(), g_Tree, CTreeNode< TValue, TKeyGetterP >::GetValue(), int, nodecount, YYSTYPE::nodeval, 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.
TPhyTreeNode* ReadNewickTree | ( | CNcbiIstream & | is | ) |
Newick format input.
Uses flex/bison lexer/parser.
Definition at line 1386 of file newick.tab.cpp.
References g_NewickIstr, g_NodeList, g_Tree, newick_flex_reset(), yyerror, and yyparse.
Referenced by CPhyObjectLoader::Execute(), CPhyloPhylipReader::GetTree(), CMSAToolJob::x_AddTreeProjectItem(), and CMultiReaderApp::xProcessNewick().
switch | ( | yytype | ) |
Definition at line 737 of file newick.tab.cpp.
Referenced by _SQLGetDiagField(), ct_options(), CProfileData::Load(), prepared_rpc(), s_IsInsideRequest(), s_PrintCommonPrefix(), s_Select(), s_SetState(), s_VT_Status(), CSegmentMapTrack::x_OnJobCompleted(), and CGeneModelTrack::x_OnJobCompleted().
USING_SCOPE | ( | ncbi | ) |
Referenced by newickparse().
CNcbiIstream* g_NewickIstr |
Definition at line 126 of file newick.tab.cpp.
Referenced by ReadNewickTree().
vector<TPhyTreeNode*> g_NodeList |
Definition at line 128 of file newick.tab.cpp.
Referenced by newickerror(), and ReadNewickTree().
|
static |
Definition at line 123 of file newick.tab.cpp.
Referenced by newickerror(), newickparse(), and ReadNewickTree().
int newickchar |
Definition at line 765 of file newick.tab.cpp.
YYSTYPE newicklval |
Definition at line 768 of file newick.tab.cpp.
Referenced by newicklex().
int newicknerrs |
Definition at line 771 of file newick.tab.cpp.
|
static |
Definition at line 122 of file newick.tab.cpp.
Referenced by newickparse().
|
static |
Definition at line 418 of file newick.tab.cpp.
Referenced by newickparse().
|
static |
Definition at line 378 of file newick.tab.cpp.
Referenced by newickparse().
|
static |
Definition at line 386 of file newick.tab.cpp.
Referenced by newickparse().
|
static |
Definition at line 394 of file newick.tab.cpp.
Referenced by newickparse().
|
static |
Definition at line 402 of file newick.tab.cpp.
Referenced by newickparse().
|
static |
Definition at line 362 of file newick.tab.cpp.
Referenced by newickparse().
|
static |
Definition at line 369 of file newick.tab.cpp.
Referenced by newickparse().
|
static |
Definition at line 426 of file newick.tab.cpp.
Referenced by newickparse().
|
static |
Definition at line 412 of file newick.tab.cpp.
Referenced by newickparse().
|
static |
Definition at line 285 of file newick.tab.cpp.
YYSTYPE* yyvaluep |
Definition at line 731 of file newick.tab.cpp.
Referenced by yy_symbol_print(), yy_symbol_value_print(), yydestruct(), and yysymprint().