| 356 | } |
| 357 | |
| 358 | Statement* Statement::makeValueExpression(thread_db* tdbb, ValueExprNode*& node, dsc& desc, |
| 359 | CompilerScratch* csb, bool internalFlag) |
| 360 | { |
| 361 | fb_assert(csb->csb_node->getKind() == DmlNode::KIND_VALUE); |
| 362 | |
| 363 | return makeStatement(tdbb, csb, internalFlag, |
| 364 | [&] |
| 365 | { |
| 366 | node = static_cast<ValueExprNode*>(csb->csb_node); |
| 367 | node->getDesc(tdbb, csb, &desc); |
| 368 | }); |
| 369 | } |
| 370 | |
| 371 | // Turn a parsed scratch into an executable request. |
| 372 | Request* Statement::makeRequest(thread_db* tdbb, CompilerScratch* csb, bool internalFlag) |