| 932 | } |
| 933 | |
| 934 | std::vector<std::string> GraphModule::nodeTypeNames() const { |
| 935 | std::vector<std::string> ret; |
| 936 | std::transform(mFunctions.begin(), mFunctions.end(), std::back_inserter(ret), |
| 937 | [](auto& gPtr) { return gPtr->name(); }); |
| 938 | |
| 939 | for (const auto& str : structs()) { |
| 940 | ret.push_back("_make_" + str->name()); |
| 941 | ret.push_back("_break_" + str->name()); |
| 942 | } |
| 943 | |
| 944 | if (cEnabled()) { ret.push_back("c-call"); } |
| 945 | |
| 946 | return ret; |
| 947 | } |
| 948 | |
| 949 | boost::bimap<unsigned int, NodeInstance*> GraphModule::createLineNumberAssoc() const { |
| 950 | // create a sorted list of GraphFunctions |
no test coverage detected