| 344 | } |
| 345 | |
| 346 | Statement* Statement::makeBoolExpression(thread_db* tdbb, BoolExprNode*& node, |
| 347 | CompilerScratch* csb, bool internalFlag) |
| 348 | { |
| 349 | fb_assert(csb->csb_node->getKind() == DmlNode::KIND_BOOLEAN); |
| 350 | |
| 351 | return makeStatement(tdbb, csb, internalFlag, |
| 352 | [&] |
| 353 | { |
| 354 | node = static_cast<BoolExprNode*>(csb->csb_node); |
| 355 | }); |
| 356 | } |
| 357 | |
| 358 | Statement* Statement::makeValueExpression(thread_db* tdbb, ValueExprNode*& node, dsc& desc, |
| 359 | CompilerScratch* csb, bool internalFlag) |