| 
    Ada 3.2.2
    
   Fast spec-compliant URL parser 
   | 
 
#include <url_pattern.h>
Public Member Functions | |
| url_pattern ()=default | |
| result< std::optional< url_pattern_result > > | exec (const url_pattern_input &input, const std::string_view *base_url=nullptr) | 
| result< bool > | test (const url_pattern_input &input, const std::string_view *base_url=nullptr) | 
| result< std::optional< url_pattern_result > > | match (const url_pattern_input &input, const std::string_view *base_url_string=nullptr) | 
| std::string_view | get_protocol () const ada_lifetime_bound | 
| std::string_view | get_username () const ada_lifetime_bound | 
| std::string_view | get_password () const ada_lifetime_bound | 
| std::string_view | get_hostname () const ada_lifetime_bound | 
| std::string_view | get_port () const ada_lifetime_bound | 
| std::string_view | get_pathname () const ada_lifetime_bound | 
| std::string_view | get_search () const ada_lifetime_bound | 
| std::string_view | get_hash () const ada_lifetime_bound | 
| bool | ignore_case () const | 
| bool | has_regexp_groups () const | 
Friends | |
| template<url_pattern_regex::regex_concept P> | |
| tl::expected< url_pattern< P >, errors > | parser::parse_url_pattern_impl (std::variant< std::string_view, url_pattern_init > &&input, const std::string_view *base_url, const url_pattern_options *options) | 
Definition at line 232 of file url_pattern.h.
      
  | 
  default | 
References ada_lifetime_bound, exec(), get_hash(), get_hostname(), get_password(), get_pathname(), get_port(), get_protocol(), get_search(), get_username(), has_regexp_groups(), ignore_case(), match(), test(), and url_pattern().
Referenced by url_pattern().
| result< std::optional< url_pattern_result > > ada::url_pattern< regex_provider >::exec | ( | const url_pattern_input & | input, | 
| const std::string_view * | base_url = nullptr ) | 
If non-null, base_url must pointer at a valid UTF-8 string.
Definition at line 197 of file url_pattern-inl.h.
References match().
Referenced by url_pattern().
      
  | 
  nodiscard | 
Definition at line 99 of file url_pattern-inl.h.
References ada_lifetime_bound.
Referenced by url_pattern().
      
  | 
  nodiscard | 
Definition at line 75 of file url_pattern-inl.h.
References ada_lifetime_bound.
Referenced by url_pattern().
      
  | 
  nodiscard | 
Definition at line 69 of file url_pattern-inl.h.
References ada_lifetime_bound.
Referenced by url_pattern().
      
  | 
  nodiscard | 
Definition at line 87 of file url_pattern-inl.h.
References ada_lifetime_bound.
Referenced by url_pattern().
      
  | 
  nodiscard | 
Definition at line 81 of file url_pattern-inl.h.
References ada_lifetime_bound.
Referenced by url_pattern().
      
  | 
  nodiscard | 
Definition at line 57 of file url_pattern-inl.h.
References ada_lifetime_bound.
Referenced by url_pattern().
      
  | 
  nodiscard | 
Definition at line 93 of file url_pattern-inl.h.
References ada_lifetime_bound.
Referenced by url_pattern().
      
  | 
  nodiscard | 
Definition at line 63 of file url_pattern-inl.h.
References ada_lifetime_bound.
Referenced by url_pattern().
      
  | 
  nodiscard | 
Definition at line 109 of file url_pattern-inl.h.
Referenced by url_pattern().
      
  | 
  nodiscard | 
Definition at line 105 of file url_pattern-inl.h.
Referenced by url_pattern().
| result< std::optional< url_pattern_result > > ada::url_pattern< regex_provider >::match | ( | const url_pattern_input & | input, | 
| const std::string_view * | base_url_string = nullptr ) | 
Definition at line 219 of file url_pattern-inl.h.
References ADA_ASSERT_TRUE, ada::url::get_hash(), ada::url::get_hostname(), ada::url::get_password(), ada::url::get_pathname(), ada::url::get_port(), ada::url::get_protocol(), ada::url::get_search(), ada::url::get_username(), ada::url::has_hash(), ada::url::has_search(), ada::parse< url_aggregator >(), ada::url_pattern_init::process(), ada::type_error, and ada::url_pattern_init::url.
Referenced by exec(), test(), and url_pattern().
| result< bool > ada::url_pattern< regex_provider >::test | ( | const url_pattern_input & | input, | 
| const std::string_view * | base_url = nullptr ) | 
If non-null, base_url must pointer at a valid UTF-8 string.
Definition at line 205 of file url_pattern-inl.h.
References match(), and ada::type_error.
Referenced by url_pattern().
      
  | 
  friend |