| 465 | } |
| 466 | |
| 467 | std::vector<ScalarMacroCatalogEntry*> Catalog::getMacroEntries( |
| 468 | const Transaction* transaction) const { |
| 469 | std::vector<ScalarMacroCatalogEntry*> result; |
| 470 | for (auto& [_, entry] : macros->getEntries(transaction)) { |
| 471 | DASSERT(entry->getType() == CatalogEntryType::SCALAR_MACRO_ENTRY); |
| 472 | result.push_back(entry->ptrCast<ScalarMacroCatalogEntry>()); |
| 473 | } |
| 474 | return result; |
| 475 | } |
| 476 | |
| 477 | std::vector<FunctionCatalogEntry*> Catalog::getFunctionEntries( |
| 478 | const Transaction* transaction) const { |
no test coverage detected