MCPcopy Create free account
hub / github.com/NativeScript/android / to_string

Function to_string

test-app/runtime/src/main/cpp/ada/ada.h:9431–9456  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9429namespace ada::url_pattern_helpers {
9430#if defined(ADA_TESTING) || defined(ADA_LOGGING)
9431inline std::string to_string(token_type type) {
9432 switch (type) {
9433 case token_type::INVALID_CHAR:
9434 return "INVALID_CHAR";
9435 case token_type::OPEN:
9436 return "OPEN";
9437 case token_type::CLOSE:
9438 return "CLOSE";
9439 case token_type::REGEXP:
9440 return "REGEXP";
9441 case token_type::NAME:
9442 return "NAME";
9443 case token_type::CHAR:
9444 return "CHAR";
9445 case token_type::ESCAPED_CHAR:
9446 return "ESCAPED_CHAR";
9447 case token_type::OTHER_MODIFIER:
9448 return "OTHER_MODIFIER";
9449 case token_type::ASTERISK:
9450 return "ASTERISK";
9451 case token_type::END:
9452 return "END";
9453 default:
9454 ada::unreachable();
9455 }
9456}
9457#endif // defined(ADA_TESTING) || defined(ADA_LOGGING)
9458
9459template <url_pattern_regex::regex_concept regex_provider>

Callers 15

ResolveModuleCallbackFunction · 0.85
fromValueMethod · 0.85
parse_url_pattern_implFunction · 0.85
update_base_searchMethod · 0.85
append_base_pathnameMethod · 0.85
update_base_usernameMethod · 0.85
clear_passwordMethod · 0.85
append_base_passwordMethod · 0.85
update_base_portMethod · 0.85
add_tokenMethod · 0.85

Calls 1

unreachableFunction · 0.85

Tested by 1

fromValueMethod · 0.68