TParserNode *TParser::Expr2(void) { TParserNode *temp = Expr3(); while(1) { if(typToken==PARSER_POWER) { GetToken(); temp = CreateNode(OP_POWER, temp, Expr2()); } else break; } return temp; }
TParserNode *TParser::Expr2(NSGuidesOdp::CFormulaManager& pFManager) { TParserNode *temp = Expr3(pFManager); while(1) { if(typToken==PARSER_POWER) { GetToken(); temp = CreateNode(OP_POWER, temp, Expr2(pFManager)); } else break; } return temp; }