Ada 3.1.0
Fast spec-compliant URL parser
Loading...
Searching...
No Matches
parser.h File Reference

Definitions for the parser. More...

#include <string_view>
#include <variant>
#include "ada/expected.h"
#include "ada/url_pattern_regex.h"
#include "ada/url_pattern_init.h"

Go to the source code of this file.

Namespaces

namespace  ada
 
namespace  ada::parser
 Includes the definitions for supported parsers.
 

Functions

template<typename result_type = url_aggregator>
result_type ada::parser::parse_url (std::string_view user_input, const result_type *base_url=nullptr)
 
template url_aggregator ada::parser::parse_url< url_aggregator > (std::string_view user_input, const url_aggregator *base_url)
 
template url ada::parser::parse_url< url > (std::string_view user_input, const url *base_url)
 
template<typename result_type = url_aggregator, bool store_values = true>
result_type ada::parser::parse_url_impl (std::string_view user_input, const result_type *base_url=nullptr)
 
template url_aggregator ada::parser::parse_url_impl< url_aggregator > (std::string_view user_input, const url_aggregator *base_url)
 
template url ada::parser::parse_url_impl< url > (std::string_view user_input, const url *base_url)
 
template<url_pattern_regex::regex_concept regex_provider>
tl::expected< url_pattern< regex_provider >, errorsada::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)
 

Detailed Description

Definitions for the parser.

Definition in file parser.h.