| 1 | struct aho_corasick { |
| 2 | struct out_node { |
| 3 | string keyword; out_node *next; |
| 4 | out_node(string k, out_node *n) |
| 5 | : keyword(k), next(n) { } }; |
| 6 | struct go_node { |
| 7 | map<char, go_node*> next; |
| 8 | out_node *out; go_node *fail; |
nothing calls this directly
no outgoing calls
no test coverage detected