7 #include "arg_router/utility/utf8/levenshtein_distance.hpp"
19 template <
typename Node>
22 auto matching_node_and_parents =
24 if (matching_node_and_parents.empty()) {
28 tokens.reserve(matching_node_and_parents.size() + 1);
29 tokens.insert(tokens.end(),
30 matching_node_and_parents.rbegin(),
31 matching_node_and_parents.rend());
void unknown_argument_exception(const Node &node, token_type unknown_token)
vector< parsing::token_type > closest_matching_child_node(const Node &node, parsing::token_type token)
std::vector< T, config::allocator< T > > vector
@ unknown_argument_with_suggestion