| 74 | // called on each node traversed after their children. |
| 75 | template <typename BBType, typename SuccessorLambda, typename PostLambda> |
| 76 | void DepthFirstSearchPostOrder(const BBType* bb, SuccessorLambda successors, |
| 77 | PostLambda post) { |
| 78 | // Ignore preorder operation. |
| 79 | auto nop_preorder = [](const BBType*) {}; |
| 80 | DepthFirstSearch(bb, successors, nop_preorder, post); |
| 81 | } |
| 82 | |
| 83 | // Small type trait to get the function class type. |
| 84 | template <typename BBType> |
no test coverage detected