roar
Loading...
Searching...
No Matches
Classes | Namespaces | Functions | Variables
url.cpp File Reference
#include <roar/url/url.hpp>
#include <boost/fusion/include/at_c.hpp>
#include <boost/spirit/home/x3.hpp>
#include <boost/spirit/home/x3/support/utility/annotate_on_success.hpp>
#include <boost/spirit/home/x3/support/utility/error_reporting.hpp>
#include <roar/url/parser/ipv4.hpp>
#include <roar/url/parser/ipv6.hpp>
#include <roar/url/encode.hpp>
#include <roar/utility/concat_containers.hpp>
#include <roar/utility/demangle.hpp>
#include <roar/utility/visit_overloaded.hpp>
#include <iomanip>
#include <iterator>
#include <sstream>
#include <unordered_map>
#include <utility>
Include dependency graph for url.cpp:

Classes

struct  Roar::ErrorHandler
 

Namespaces

namespace  Roar
 
namespace  Roar::Parser
 

Functions

 Roar::Parser::BOOST_SPIRIT_DEFINE (url)
 

Variables

const x3::rule< UrlTag, UrlRoar::Parser::url = "url"
 
const auto Roar::Parser::unreserved = x3::rule<UnreservedTag, char>{} = alnum | char_("-._~")
 
const auto Roar::Parser::genDelims = x3::rule<GenDelimsTag, char>{"gen-delims"} = char_(":/?#[]@")
 
const auto Roar::Parser::subDelims = x3::rule<SubDelimsTag, char>{"sub-delims"} = char_("!$&'()*+,;=")
 
const auto Roar::Parser::leniency = x3::rule<Leniency, char>("leniency") = char_("\"<> ")
 
const auto Roar::Parser::reserved = x3::rule<ReservedTag, char>{"reserved"} = genDelims | subDelims
 
const auto Roar::Parser::percentEncoded
 
const auto Roar::Parser::pathCharacter
 
const auto Roar::Parser::path
 
const auto Roar::Parser::schemeAllowedChar
 
const auto Roar::Parser::scheme
 
const auto Roar::Parser::credentialsCharacter
 
const auto Roar::Parser::userInfo
 
const auto Roar::Parser::domainCharacter = x3::rule<DomainCharacterTag, char>("domainCharacter") = alnum | char_("-.")
 
const auto Roar::Parser::domain = x3::rule<DomainTag, std::string>{"domain"} = +domainCharacter
 
const auto Roar::Parser::host = x3::rule<HostTag, Url::Host>{"host"} = ('[' >> ipv6 >> ']') | (ipv4 >> &char_(":/")) | domain
 
const auto Roar::Parser::remote
 
const auto Roar::Parser::authority
 
const auto Roar::Parser::queryCharacter = x3::rule<QueryCharacterTag, char>{"queryCharacter"} = pathCharacter | char_("/?")
 
const auto Roar::Parser::queryKey
 
const auto Roar::Parser::queryValue
 
const auto Roar::Parser::query
 
const auto Roar::Parser::fragment
 
const auto Roar::Parser::url_def