Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:53:28

0001 //
0002 // Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com)
0003 //
0004 // Distributed under the Boost Software License, Version 1.0. (See accompanying
0005 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0006 //
0007 // Official repository: https://github.com/boostorg/url
0008 //
0009 
0010 #ifndef BOOST_URL_RFC_DETAIL_PATH_RULES_HPP
0011 #define BOOST_URL_RFC_DETAIL_PATH_RULES_HPP
0012 
0013 #include <boost/url/rfc/pchars.hpp>
0014 #include <boost/url/rfc/pct_encoded_rule.hpp>
0015 #include <boost/url/grammar/delim_rule.hpp>
0016 #include <boost/url/grammar/range_rule.hpp>
0017 #include <boost/url/grammar/tuple_rule.hpp>
0018 
0019 namespace boost {
0020 namespace urls {
0021 namespace detail {
0022 
0023 /** Rule for segment
0024 
0025     @par BNF
0026     @code
0027     segment       = *pchar
0028     @endcode
0029 
0030     @par Specification
0031     @li <a href="https://datatracker.ietf.org/doc/html/rfc3986#section-3.3"
0032         >3.3. Path (rfc3986)</a>
0033 
0034     @see
0035         @ref grammar::parse.
0036 */
0037 constexpr auto segment_rule =
0038     pct_encoded_rule(pchars);
0039 
0040 } // detail
0041 } // urls
0042 } // boost
0043 
0044 #endif