The main scanner function which does all the work.
Implements FlexLexer.
Definition at line 858 of file CEvaluationLexer_lex.cpp.
References CEvaluationNodeConstant::_INFINITY, CEvaluationNodeConstant::_NaN, CEvaluationNodeFunction::ABS, CEvaluationNodeLogical::AND, CEvaluationNodeVariable::ANY, CEvaluationNodeFunction::ARCCOS, CEvaluationNodeFunction::ARCCOSH, CEvaluationNodeFunction::ARCCOT, CEvaluationNodeFunction::ARCCOTH, CEvaluationNodeFunction::ARCCSC, CEvaluationNodeFunction::ARCCSCH, CEvaluationNodeFunction::ARCSEC, CEvaluationNodeFunction::ARCSECH, CEvaluationNodeFunction::ARCSIN, CEvaluationNodeFunction::ARCSINH, CEvaluationNodeFunction::ARCTAN, CEvaluationNodeFunction::ARCTANH, BEGIN, CEvaluationNodeFunction::CEIL, CEvaluationNodeObject::CN, COMMON_ACTION, CEvaluationNodeFunction::COS, CEvaluationNodeFunction::COSH, CEvaluationNodeFunction::COT, CEvaluationNodeFunction::COTH, CEvaluationNodeFunction::CSC, CEvaluationNodeFunction::CSCH, CEvaluationNodeDelay::DELAY, CEvaluationNodeOperator::DIVIDE, CEvaluationNodeNumber::DOUBLE, ECHO, EOB_ACT_CONTINUE_SCAN, EOB_ACT_END_OF_FILE, EOB_ACT_LAST_MATCH, CEvaluationNodeLogical::EQ, CCopasiMessage::ERROR, CEvaluationNodeFunction::EXP, CEvaluationNodeConstant::EXPONENTIALE, CEvaluationNodeCall::EXPRESSION, CEvaluationNodeFunction::FACTORIAL, CEvaluationNodeConstant::FALSE, CEvaluationNodeFunction::FLOOR, CEvaluationNodeCall::FUNCTION, CEvaluationNodeLogical::GE, CEvaluationNodeLogical::GT, CEvaluationNodeChoice::IF, INITIAL, CEvaluationNodeLogical::LE, CEvaluationNodeFunction::LOG, CEvaluationNodeFunction::LOG10, CEvaluationNodeLogical::LT, CEvaluationNodeFunction::MAX, MCFunction, CEvaluationNodeFunction::MIN, CEvaluationNodeOperator::MINUS, CEvaluationNodeFunction::MINUS, CEvaluationNodeOperator::MODULUS, mpNode, CEvaluationNodeOperator::MULTIPLY, CEvaluationNodeLogical::NE, CEvaluationNodeFunction::NOT, CEvaluationNodeLogical::OR, CEvaluationNodeConstant::PI, CEvaluationNodeOperator::PLUS, CEvaluationNodeFunction::PLUS, CEvaluationNodeObject::POINTER, CEvaluationNodeOperator::POWER, CEvaluationNodeFunction::RGAMMA, CEvaluationNodeFunction::RNORMAL, CEvaluationNodeFunction::RPOISSON, CEvaluationNodeFunction::RUNIFORM, CEvaluationNodeFunction::SEC, CEvaluationNodeFunction::SECH, CEvaluationNodeFunction::SIN, CEvaluationNodeFunction::SINH, sOPERATOR, CEvaluationNodeFunction::SQRT, sSIGNorVALUE, sVALUE, CEvaluationNodeFunction::TAN, CEvaluationNodeFunction::TANH, TOKEN_CALL, TOKEN_FUNCTION, TOKEN_FUNCTION_2, TOKEN_LOGICAL_AND, TOKEN_LOGICAL_CHOICE, TOKEN_LOGICAL_EQ, TOKEN_LOGICAL_GE, TOKEN_LOGICAL_GT, TOKEN_LOGICAL_LE, TOKEN_LOGICAL_LT, TOKEN_LOGICAL_NE, TOKEN_LOGICAL_NOT, TOKEN_LOGICAL_OR, TOKEN_LOGICAL_VALUE, TOKEN_LOGICAL_XOR, TOKEN_NUMBER, TOKEN_OPERATOR_MODULUS, TOKEN_OPERATOR_MULTIPLY, TOKEN_OPERATOR_PLUS, TOKEN_OPERATOR_POWER, TOKEN_SIGN, TOKEN_STRUCTURE_CLOSE, TOKEN_STRUCTURE_COMMA, TOKEN_STRUCTURE_OPEN, TOKEN_STRUCTURE_VECTOR_CLOSE, TOKEN_STRUCTURE_VECTOR_OPEN, TOKEN_VARIABLE, CEvaluationNodeConstant::TRUE, CEvaluationNodeLogical::XOR, yy_accept, yy_base, YY_BREAK, YY_BUF_SIZE, YY_BUFFER_NEW, YY_BUFFER_NORMAL, yy_chk, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_def, YY_DO_BEFORE_ACTION, yy_ec, YY_END_OF_BUFFER, YY_FATAL_ERROR, yy_meta, YY_MORE_ADJ, YY_NEW_FILE, yy_nxt, YY_RESTORE_YY_MORE_OFFSET, YY_RULE_SETUP, YY_SC_TO_UI, YY_START, YY_STATE_EOF, YY_USER_INIT, YYERRCODE, yyleng, and yytext_ptr.
861 register char *yy_cp, *yy_bp;
864 #line 36 "function/CEvaluationLexer.lpp"
920 while (
yy_chk[
yy_base[yy_current_state] + yy_c] != yy_current_state)
922 yy_current_state = (int)
yy_def[yy_current_state];
924 if (yy_current_state >= 380)
925 yy_c =
yy_meta[(
unsigned int) yy_c];
928 yy_current_state =
yy_nxt[
yy_base[yy_current_state] + (
unsigned int) yy_c];
931 while (yy_current_state != 379);
955 #line 37 "function/CEvaluationLexer.lpp"
966 #line 45 "function/CEvaluationLexer.lpp"
977 #line 53 "function/CEvaluationLexer.lpp"
988 #line 61 "function/CEvaluationLexer.lpp"
999 #line 69 "function/CEvaluationLexer.lpp"
1010 #line 77 "function/CEvaluationLexer.lpp"
1021 #line 85 "function/CEvaluationLexer.lpp"
1032 #line 93 "function/CEvaluationLexer.lpp"
1043 #line 101 "function/CEvaluationLexer.lpp"
1054 #line 109 "function/CEvaluationLexer.lpp"
1065 #line 117 "function/CEvaluationLexer.lpp"
1076 #line 125 "function/CEvaluationLexer.lpp"
1087 #line 133 "function/CEvaluationLexer.lpp"
1098 #line 141 "function/CEvaluationLexer.lpp"
1109 #line 149 "function/CEvaluationLexer.lpp"
1120 #line 157 "function/CEvaluationLexer.lpp"
1131 #line 165 "function/CEvaluationLexer.lpp"
1143 #line 173 "function/CEvaluationLexer.lpp"
1154 #line 181 "function/CEvaluationLexer.lpp"
1168 #line 189 "function/CEvaluationLexer.lpp"
1181 #line 196 "function/CEvaluationLexer.lpp"
1194 #line 203 "function/CEvaluationLexer.lpp"
1207 #line 210 "function/CEvaluationLexer.lpp"
1220 #line 217 "function/CEvaluationLexer.lpp"
1233 #line 224 "function/CEvaluationLexer.lpp"
1246 #line 231 "function/CEvaluationLexer.lpp"
1259 #line 238 "function/CEvaluationLexer.lpp"
1272 #line 245 "function/CEvaluationLexer.lpp"
1285 #line 252 "function/CEvaluationLexer.lpp"
1298 #line 259 "function/CEvaluationLexer.lpp"
1311 #line 266 "function/CEvaluationLexer.lpp"
1324 #line 273 "function/CEvaluationLexer.lpp"
1337 #line 280 "function/CEvaluationLexer.lpp"
1350 #line 287 "function/CEvaluationLexer.lpp"
1363 #line 294 "function/CEvaluationLexer.lpp"
1376 #line 301 "function/CEvaluationLexer.lpp"
1389 #line 308 "function/CEvaluationLexer.lpp"
1402 #line 315 "function/CEvaluationLexer.lpp"
1415 #line 322 "function/CEvaluationLexer.lpp"
1428 #line 329 "function/CEvaluationLexer.lpp"
1441 #line 336 "function/CEvaluationLexer.lpp"
1454 #line 343 "function/CEvaluationLexer.lpp"
1467 #line 350 "function/CEvaluationLexer.lpp"
1480 #line 357 "function/CEvaluationLexer.lpp"
1493 #line 364 "function/CEvaluationLexer.lpp"
1506 #line 371 "function/CEvaluationLexer.lpp"
1519 #line 378 "function/CEvaluationLexer.lpp"
1532 #line 385 "function/CEvaluationLexer.lpp"
1545 #line 392 "function/CEvaluationLexer.lpp"
1558 #line 399 "function/CEvaluationLexer.lpp"
1571 #line 406 "function/CEvaluationLexer.lpp"
1584 #line 413 "function/CEvaluationLexer.lpp"
1597 #line 420 "function/CEvaluationLexer.lpp"
1610 #line 427 "function/CEvaluationLexer.lpp"
1623 #line 434 "function/CEvaluationLexer.lpp"
1636 #line 441 "function/CEvaluationLexer.lpp"
1649 #line 448 "function/CEvaluationLexer.lpp"
1662 #line 455 "function/CEvaluationLexer.lpp"
1675 #line 462 "function/CEvaluationLexer.lpp"
1689 #line 469 "function/CEvaluationLexer.lpp"
1694 tmp.substr(0, tmp.length() - 1));
1703 #line 479 "function/CEvaluationLexer.lpp"
1708 tmp.substr(0, tmp.length() - 1));
1716 #line 489 "function/CEvaluationLexer.lpp"
1727 #line 497 "function/CEvaluationLexer.lpp"
1738 #line 505 "function/CEvaluationLexer.lpp"
1749 #line 513 "function/CEvaluationLexer.lpp"
1760 #line 521 "function/CEvaluationLexer.lpp"
1771 #line 529 "function/CEvaluationLexer.lpp"
1782 #line 537 "function/CEvaluationLexer.lpp"
1793 #line 545 "function/CEvaluationLexer.lpp"
1804 #line 553 "function/CEvaluationLexer.lpp"
1816 #line 562 "function/CEvaluationLexer.lpp"
1828 #line 571 "function/CEvaluationLexer.lpp"
1840 #line 580 "function/CEvaluationLexer.lpp"
1852 #line 589 "function/CEvaluationLexer.lpp"
1865 #line 598 "function/CEvaluationLexer.lpp"
1877 #line 606 "function/CEvaluationLexer.lpp"
1888 case YY_STATE_EOF(
sVALUE):
1889 #line 613
"function/CEvaluationLexer.lpp"
1894 #line 615 "function/CEvaluationLexer.lpp"
1902 #line 620 "function/CEvaluationLexer.lpp"
1905 #line 1880 "<stdout>"
1910 int yy_amount_of_matched_text = (int)(yy_cp - (
yytext_ptr)) - 1;
1965 yy_current_state = yy_next_state;
1973 goto yy_find_action;
2027 goto yy_find_action;
2035 "fatal flex scanner internal error--no action found");
void yyensure_buffer_stack(void)
#define EOB_ACT_CONTINUE_SCAN
#define YY_RESTORE_YY_MORE_OFFSET
void yy_load_buffer_state()
int yy_did_buffer_switch_on_eof
#define YY_STATE_EOF(state)
static flex_int16_t yy_nxt[879]
#define EOB_ACT_LAST_MATCH
#define YY_FATAL_ERROR(msg)
yy_state_type yy_get_previous_state()
#define YY_CURRENT_BUFFER_LVALUE
static flex_int32_t yy_ec[256]
#define YY_CURRENT_BUFFER
static flex_int16_t yy_def[384]
struct yy_buffer_state * yy_create_buffer(FLEX_STD istream *s, int size)
static flex_int32_t yy_meta[70]
#define YY_DO_BEFORE_ACTION
char * yy_last_accepting_cpos
static flex_int16_t yy_accept[380]
yy_state_type yy_last_accepting_state
static flex_int16_t yy_chk[879]
yy_state_type yy_try_NUL_trans(yy_state_type current_state)
#define EOB_ACT_END_OF_FILE
static flex_int16_t yy_base[384]