| 339 | } |
| 340 | |
| 341 | int RE2::ReverseProgramFanout(std::vector<int>* histogram) const { |
| 342 | if (prog_ == NULL) |
| 343 | return -1; |
| 344 | Prog* prog = ReverseProg(); |
| 345 | if (prog == NULL) |
| 346 | return -1; |
| 347 | return Fanout(prog, histogram); |
| 348 | } |
| 349 | |
| 350 | // Returns named_groups_, computing it if needed. |
| 351 | const std::map<std::string, int>& RE2::NamedCapturingGroups() const { |