| 28 | template<blocksci::AddressType::Enum type> |
| 29 | struct PythonScriptRangeFunctor { |
| 30 | static PythonScriptRangeVariant f(blocksci::DataAccess &access) { |
| 31 | auto scriptCount = getScriptCount(type, access); |
| 32 | return PythonScriptRange<type>{ranges::views::ints(uint32_t{1}, scriptCount + 1) | ranges::views::transform([&](uint32_t scriptNum) { |
| 33 | return ScriptAddress<type>(scriptNum, access); |
| 34 | })}; |
| 35 | } |
| 36 | }; |
| 37 | } |
| 38 |
nothing calls this directly
no test coverage detected