| 
    Ada 3.2.2
    
   Fast spec-compliant URL parser 
   | 
 
#include <url_pattern_helpers.h>
Public Types | |
| enum class | State {  INIT , PROTOCOL , AUTHORITY , USERNAME , PASSWORD , HOSTNAME , PORT , PATHNAME , SEARCH , HASH , DONE }  | 
Public Member Functions | |
| constructor_string_parser (std::string_view new_input, std::vector< token > &&new_token_list) | |
| std::optional< errors > | compute_protocol_matches_special_scheme_flag () | 
Static Public Member Functions | |
| static tl::expected< url_pattern_init, errors > | parse (std::string_view input) | 
Definition at line 154 of file url_pattern_helpers.h.
      
  | 
  strong | 
| Enumerator | |
|---|---|
| INIT | |
| PROTOCOL | |
| AUTHORITY | |
| USERNAME | |
| PASSWORD | |
| HOSTNAME | |
| PORT | |
| PATHNAME | |
| SEARCH | |
| HASH | |
| DONE | |
Definition at line 162 of file url_pattern_helpers.h.
      
  | 
  inlineexplicit | 
Definition at line 155 of file url_pattern_helpers.h.
Referenced by parse().
      
  | 
  inline | 
Definition at line 814 of file url_pattern_helpers-inl.h.
References ada::url_pattern_helpers::canonicalize_protocol(), ada::url_pattern_component< regex_provider >::compile(), compute_protocol_matches_special_scheme_flag(), ada::url_pattern_compile_component_options::DEFAULT, and ada::url_pattern_helpers::protocol_component_matches_special_scheme().
Referenced by compute_protocol_matches_special_scheme_flag().
      
  | 
  static | 
Definition at line 842 of file url_pattern_helpers-inl.h.
References AUTHORITY, constructor_string_parser(), DONE, ada::url_pattern_helpers::END, HASH, HOSTNAME, INIT, ada::url_pattern_helpers::lenient, PASSWORD, PATHNAME, PORT, PROTOCOL, SEARCH, ada::url_pattern_helpers::tokenize(), ada::unreachable(), and USERNAME.