#include <ncbi_pch.hpp>
#include <stdio.h>
#include <string.h>
#include <corelib/stream_utils.hpp>
#include <algo/phy_tree/phy_node.hpp>
#include "newick.tab.hpp"
Include dependency graph for lex.newick.cpp:

Go to the source code of this file.
Classes | |
| struct | yy_buffer_state |
Defines | |
| #define | yy_create_buffer newick_create_buffer |
| #define | yy_delete_buffer newick_delete_buffer |
| #define | yy_scan_buffer newick_scan_buffer |
| #define | yy_scan_string newick_scan_string |
| #define | yy_scan_bytes newick_scan_bytes |
| #define | yy_flex_debug newick_flex_debug |
| #define | yy_init_buffer newick_init_buffer |
| #define | yy_flush_buffer newick_flush_buffer |
| #define | yy_load_buffer_state newick_load_buffer_state |
| #define | yy_switch_to_buffer newick_switch_to_buffer |
| #define | yyin newickin |
| #define | yyleng newickleng |
| #define | yylex newicklex |
| #define | yyout newickout |
| #define | yyrestart newickrestart |
| #define | yytext newicktext |
| #define | FLEX_SCANNER |
| #define | YY_FLEX_MAJOR_VERSION 2 |
| #define | YY_FLEX_MINOR_VERSION 5 |
| #define | yyconst |
| #define | YY_PROTO(proto) () |
| #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 | EOB_ACT_CONTINUE_SCAN 0 |
| #define | EOB_ACT_END_OF_FILE 1 |
| #define | EOB_ACT_LAST_MATCH 2 |
| #define | yyless(n) |
| #define | unput(c) yyunput( c, yytext_ptr ) |
| #define | YY_BUFFER_NEW 0 |
| #define | YY_BUFFER_NORMAL 1 |
| #define | YY_BUFFER_EOF_PENDING 2 |
| #define | YY_CURRENT_BUFFER yy_current_buffer |
| #define | YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer ) |
| #define | yy_new_buffer yy_create_buffer |
| #define | yy_set_interactive(is_interactive) |
| #define | yy_set_bol(at_bol) |
| #define | YY_AT_BOL() (yy_current_buffer->yy_at_bol) |
| #define | yywrap() 1 |
| #define | YY_SKIP_YYWRAP |
| #define | yytext_ptr yytext |
| #define | YY_DO_BEFORE_ACTION |
| #define | YY_NUM_RULES 7 |
| #define | YY_END_OF_BUFFER 8 |
| #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 | INITIAL 0 |
| #define | YY_NO_UNPUT 1 |
| #define | YY_INPUT(buf, result, max_size) |
| #define | YY_NEVER_INTERACTIVE 1 |
| #define | EXPECT_NUM 1 |
| #define | YY_NO_PUSH_STATE 1 |
| #define | YY_NO_POP_STATE 1 |
| #define | YY_NO_TOP_STATE 1 |
| #define | YY_READ_BUF_SIZE 8192 |
| #define | ECHO (void) fwrite( yytext, yyleng, 1, yyout ) |
| #define | yyterminate() return YY_NULL |
| #define | YY_START_STACK_INCR 25 |
| #define | YY_FATAL_ERROR(msg) yy_fatal_error( msg ) |
| #define | YY_DECL int yylex YY_PROTO(( void )) |
| #define | YY_BREAK break; |
| #define | YY_RULE_SETUP YY_USER_ACTION |
| #define | YY_EXIT_FAILURE 2 |
| #define | yyless(n) |
Typedefs | |
| typedef yy_buffer_state * | YY_BUFFER_STATE |
| typedef unsigned int | yy_size_t |
| typedef unsigned char | YY_CHAR |
| typedef int | yy_state_type |
Functions | |
| void | newickrestart () |
| void | newick_switch_to_buffer () |
| void | newick_load_buffer_state () |
| YY_BUFFER_STATE | newick_create_buffer () |
| void | newick_delete_buffer () |
| void | newick_init_buffer () |
| void | newick_flush_buffer () |
| YY_BUFFER_STATE | newick_scan_buffer () |
| YY_BUFFER_STATE | newick_scan_string () |
| YY_BUFFER_STATE | newick_scan_bytes () |
| static void * | yy_flex_alloc () |
| static void * | yy_flex_realloc () |
| static void | yy_flex_free () |
| static yy_state_type | yy_get_previous_state () |
| static yy_state_type | yy_try_NUL_trans () |
| static int | yy_get_next_buffer () |
| static void | yy_fatal_error () |
| USING_SCOPE (ncbi) | |
| static int | input () |
| int | newicklex () |
| static yy_state_type | yy_try_NUL_trans (yy_current_state) yy_state_type yy_current_state |
Variables | |
| int | newickleng |
| FILE * | newickin |
| FILE * | newickout |
| static YY_BUFFER_STATE | yy_current_buffer = 0 |
| static char | yy_hold_char |
| static int | yy_n_chars |
| int | newickleng |
| static char * | yy_c_buf_p = (char *) 0 |
| static int | yy_init = 1 |
| static int | yy_start = 0 |
| static int | yy_did_buffer_switch_on_eof |
| FILE * | newickin = (FILE *) 0 |
| FILE * | newickout = (FILE *) 0 |
| char * | newicktext |
| static short int | yy_accept [26] |
| static int | yy_ec [256] |
| static int | yy_meta [11] |
| static short int | yy_base [28] |
| static short int | yy_def [28] |
| static short int | yy_nxt [41] |
| static short int | yy_chk [41] |
| static yy_state_type | yy_last_accepting_state |
| static char * | yy_last_accepting_cpos |
| char * | newicktext |
| static string | g_Buffer |
| CNcbiIstream * | g_NewickIstr |
| int | size |
| FILE * | file |
| yy_size_t | size |
| int | len |
| yy_size_t | size |
|
|
Definition at line 99 of file lex.newick.cpp. Referenced by newicklex(). |
|
|
Definition at line 542 of file lex.newick.cpp. Referenced by newicklex(), and readpassphrase(). |
|
|
Definition at line 124 of file lex.newick.cpp. Referenced by newicklex(). |
|
|
Definition at line 125 of file lex.newick.cpp. Referenced by newicklex(), and yy_get_next_buffer(). |
|
|
Definition at line 126 of file lex.newick.cpp. Referenced by newicklex(), and yy_get_next_buffer(). |
|
|
Definition at line 460 of file lex.newick.cpp. Referenced by newicklex(). |
|
|
Definition at line 27 of file lex.newick.cpp. |
|
|
Definition at line 396 of file lex.newick.cpp. Referenced by newicklex(). |
|
|
Definition at line 390 of file lex.newick.cpp. |
|
|
Definition at line 155 of file lex.newick.cpp. |
|
|
Definition at line 282 of file lex.newick.cpp. |
|
|
Definition at line 601 of file lex.newick.cpp. Referenced by newicklex(). |
|
|
Definition at line 117 of file lex.newick.cpp. Referenced by newicklex(). |
|
|
Definition at line 218 of file lex.newick.cpp. Referenced by yy_get_next_buffer(). |
|
|
Definition at line 206 of file lex.newick.cpp. Referenced by newicklex(). |
|
|
Definition at line 207 of file lex.newick.cpp. Referenced by newicklex(). |
|
|
Definition at line 3 of file lex.newick.cpp. Referenced by newicklex(). |
|
|
Definition at line 227 of file lex.newick.cpp. |
|
|
Definition at line 589 of file lex.newick.cpp. |
|
|
Definition at line 4 of file lex.newick.cpp. |
|
|
Value: yytext_ptr = yy_bp; \ yyleng = (int) (yy_cp - yy_bp); \ yy_hold_char = *yy_cp; \ *yy_cp = '\0'; \ yy_c_buf_p = yy_cp; Definition at line 301 of file lex.newick.cpp. Referenced by newicklex(). |
|
|
Definition at line 309 of file lex.newick.cpp. Referenced by newicklex(). |
|
|
Definition at line 114 of file lex.newick.cpp. |
|
|
|
|
|
Definition at line 582 of file lex.newick.cpp. Referenced by newicklex(), and yy_get_next_buffer(). |
|
|
Definition at line 8 of file lex.newick.cpp. |
|
|
Definition at line 28 of file lex.newick.cpp. |
|
|
Definition at line 29 of file lex.newick.cpp. |
|
|
Definition at line 256 of file lex.newick.cpp. |
|
|
Definition at line 10 of file lex.newick.cpp. |
|
|
Definition at line 9 of file lex.newick.cpp. |
|
|
Value: { \
result = CStreamUtils::Readsome(*g_NewickIstr, buf, max_size); \
if (result == 0 && !*g_NewickIstr) { \
result = YY_NULL; \
} \
}
Definition at line 451 of file lex.newick.cpp. |
|
|
Definition at line 11 of file lex.newick.cpp. Referenced by newicklex(). |
|
|
Definition at line 392 of file lex.newick.cpp. Referenced by newicklex(), yy_get_next_buffer(), and yy_get_previous_state(). |
|
|
Definition at line 459 of file lex.newick.cpp. |
|
|
Definition at line 266 of file lex.newick.cpp. |
|
|
Definition at line 112 of file lex.newick.cpp. Referenced by newicklex(). |
|
|
Definition at line 512 of file lex.newick.cpp. |
|
|
Definition at line 511 of file lex.newick.cpp. |
|
|
Definition at line 513 of file lex.newick.cpp. |
|
|
Definition at line 441 of file lex.newick.cpp. |
|
|
Definition at line 86 of file lex.newick.cpp. |
|
|
Definition at line 308 of file lex.newick.cpp. |
|
|
Definition at line 82 of file lex.newick.cpp. |
|
|
Definition at line 533 of file lex.newick.cpp. |
|
|
Definition at line 393 of file lex.newick.cpp. Referenced by newicklex(). |
|
|
Definition at line 604 of file lex.newick.cpp. Referenced by newicklex(). |
|
|
Definition at line 93 of file lex.newick.cpp. Referenced by newicklex(), and yy_get_previous_state(). |
|
|
Definition at line 5 of file lex.newick.cpp. |
|
|
Definition at line 7 of file lex.newick.cpp. |
|
|
Definition at line 6 of file lex.newick.cpp. |
|
|
Value: { \
if ( ! yy_current_buffer ) \
yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
yy_current_buffer->yy_at_bol = at_bol; \
}
Definition at line 275 of file lex.newick.cpp. |
|
|
Value: { \
if ( ! yy_current_buffer ) \
yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
yy_current_buffer->yy_is_interactive = is_interactive; \
}
Definition at line 268 of file lex.newick.cpp. |
|
|
Definition at line 286 of file lex.newick.cpp. |
|
|
Definition at line 105 of file lex.newick.cpp. Referenced by newicklex(). |
|
|
Definition at line 577 of file lex.newick.cpp. |
|
|
Definition at line 109 of file lex.newick.cpp. Referenced by newicklex(). |
|
|
Definition at line 12 of file lex.newick.cpp. |
|
|
Definition at line 75 of file lex.newick.cpp. |
|
|
Definition at line 13 of file lex.newick.cpp. |
|
|
Definition at line 14 of file lex.newick.cpp. |
|
|
Value: do \ { \ /* Undo effects of setting up yytext. */ \ yytext[yyleng] = yy_hold_char; \ yy_c_buf_p = yytext + n; \ yy_hold_char = *yy_c_buf_p; \ *yy_c_buf_p = '\0'; \ yyleng = n; \ } \ while ( 0 ) Definition at line 144 of file lex.newick.cpp. |
|
|
Value: do \ { \ /* Undo effects of setting up yytext. */ \ *yy_cp = yy_hold_char; \ YY_RESTORE_YY_MORE_OFFSET \ yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \ YY_DO_BEFORE_ACTION; /* set up yytext again */ \ } \ while ( 0 ) Definition at line 144 of file lex.newick.cpp. |
|
|
Definition at line 15 of file lex.newick.cpp. |
|
|
Definition at line 391 of file lex.newick.cpp. |
|
|
Definition at line 16 of file lex.newick.cpp. Referenced by newicklex(). |
|
|
Definition at line 17 of file lex.newick.cpp. |
|
|
Definition at line 106 of file lex.newick.cpp. |
|
|
Definition at line 572 of file lex.newick.cpp. Referenced by newicklex(). |
|
|
Definition at line 18 of file lex.newick.cpp. |
|
|
Definition at line 291 of file lex.newick.cpp. Referenced by newicklex(), yy_get_next_buffer(), and yy_get_previous_state(). |
|
|
Definition at line 285 of file lex.newick.cpp. Referenced by newicklex(). |
|
|
Definition at line 119 of file lex.newick.cpp. |
|
|
Definition at line 287 of file lex.newick.cpp. |
|
|
Definition at line 161 of file lex.newick.cpp. |
|
|
Definition at line 289 of file lex.newick.cpp. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Referenced by yy_get_next_buffer(). |
|
|
Definition at line 904 of file lex.newick.cpp. References EOB_ACT_END_OF_FILE, EOB_ACT_LAST_MATCH, yy_buffer_state::yy_buf_size, YY_BUFFER_EOF_PENDING, yy_buffer_state::yy_buffer_status, yy_c_buf_p, yy_buffer_state::yy_ch_buf, yy_current_buffer, YY_FATAL_ERROR, yy_buffer_state::yy_fill_buffer, yy_flex_realloc(), yy_buffer_state::yy_is_our_buffer, YY_MORE_ADJ, yy_buffer_state::yy_n_chars, yy_n_chars, and yytext_ptr. Referenced by newicklex(). |
|
|
Definition at line 1036 of file lex.newick.cpp. References yy_c_buf_p, YY_MORE_ADJ, YY_SC_TO_UI, yy_start, and yytext_ptr. Referenced by newicklex(). |
|
|
|
|
|
Referenced by newicklex(). |
|
|
|
Definition at line 447 of file lex.newick.cpp. |
|
|
Definition at line 126 of file newick.tab.cpp. Referenced by ReadNewickTree(). |
|
|
|
Definition at line 288 of file lex.newick.cpp. |
|
|
Definition at line 288 of file lex.newick.cpp. |
|
|
Definition at line 236 of file lex.newick.cpp. |
|
|
Definition at line 236 of file lex.newick.cpp. |
|
|
Definition at line 288 of file lex.newick.cpp. |
|
|
Definition at line 288 of file lex.newick.cpp. |
|
|
Definition at line 394 of file lex.newick.cpp. |
|
|
Definition at line 394 of file lex.newick.cpp. |
|
|
Definition at line 1543 of file lex.newick.cpp. |
|
|
Definition at line 1363 of file lex.newick.cpp. |
|
|
|
Initial value:
{ 0,
4, 4, 4, 4, 8, 3, 2, 2, 6, 6,
5, 3, 3, 1, 3, 0, 4, 3, 1, 1,
3, 0, 3, 1, 0
}
Definition at line 310 of file lex.newick.cpp. |
|
|
Initial value:
{ 0,
0, 0, 5, 0, 29, 0, 30, 30, 24, 30,
30, 7, 19, 16, 0, 21, 20, 0, 0, 13,
10, 18, 13, 0, 30, 16, 18
}
Definition at line 354 of file lex.newick.cpp. |
|
|
Definition at line 239 of file lex.newick.cpp. Referenced by newicklex(), yy_get_next_buffer(), and yy_get_previous_state(). |
|
|
Initial value:
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
3, 3, 3, 12, 12, 21, 26, 21, 27, 27,
23, 22, 20, 17, 16, 14, 13, 9, 5, 25,
25, 25, 25, 25, 25, 25, 25, 25, 25, 25
}
Definition at line 376 of file lex.newick.cpp. |
|
|
Definition at line 221 of file lex.newick.cpp. Referenced by newicklex(), and yy_get_next_buffer(). |
|
|
Initial value:
{ 0,
25, 1, 1, 3, 25, 26, 25, 25, 27, 25,
25, 26, 26, 12, 26, 27, 25, 13, 14, 13,
13, 27, 13, 23, 0, 25, 25
}
Definition at line 361 of file lex.newick.cpp. |
|
|
Definition at line 246 of file lex.newick.cpp. Referenced by newicklex(). |
|
|
Definition at line 317 of file lex.newick.cpp. |
|
|
Definition at line 231 of file lex.newick.cpp. Referenced by newicklex(). |
|
|
Definition at line 240 of file lex.newick.cpp. Referenced by newicklex(). |
|
|
Definition at line 385 of file lex.newick.cpp. |
|
|
Definition at line 384 of file lex.newick.cpp. |
|
|
Initial value:
{ 0,
1, 2, 2, 2, 2, 1, 1, 1, 2, 1
}
Definition at line 349 of file lex.newick.cpp. |
|
|
Definition at line 233 of file lex.newick.cpp. Referenced by newicklex(), and yy_get_next_buffer(). |
|
|
Initial value:
{ 0,
6, 7, 8, 9, 10, 6, 6, 6, 11, 6,
12, 13, 14, 18, 19, 23, 15, 24, 16, 16,
24, 17, 21, 22, 17, 21, 20, 17, 25, 5,
25, 25, 25, 25, 25, 25, 25, 25, 25, 25
}
Definition at line 368 of file lex.newick.cpp. |
|
|
Definition at line 241 of file lex.newick.cpp. Referenced by newicklex(), and yy_get_previous_state(). |
1.4.6
Modified on Mon Dec 07 16:21:41 2009 by modify_doxy.py rev. 173732