LCOV - code coverage report
Current view: top level - url/impl - parse.hpp (source / functions) Coverage Total Hit
Test: coverage_remapped.info Lines: 100.0 % 5 5
Test Date: 2026-02-13 15:53:22 Functions: 100.0 % 1 1

            Line data    Source code
       1              : //
       2              : // Copyright (c) 2019 Vinnie Falco (vinnie.falco@gmail.com)
       3              : // Copyright (c) 2022 Alan de Freitas (alandefreitas@gmail.com)
       4              : //
       5              : // Distributed under the Boost Software License, Version 1.0. (See accompanying
       6              : // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
       7              : //
       8              : // Official repository: https://github.com/boostorg/url
       9              : //
      10              : 
      11              : #ifndef BOOST_URL_IMPL_PARSE_HPP
      12              : #define BOOST_URL_IMPL_PARSE_HPP
      13              : 
      14              : #include <boost/url/detail/config.hpp>
      15              : #include <boost/url/detail/except.hpp>
      16              : 
      17              : // Each RFC rule impl header defines the corresponding
      18              : // parse convenience function (e.g., parse_uri_reference
      19              : // is defined in rfc/impl/uri_reference_rule.hpp).
      20              : #include <boost/url/rfc/absolute_uri_rule.hpp>
      21              : #include <boost/url/rfc/relative_ref_rule.hpp>
      22              : #include <boost/url/rfc/uri_rule.hpp>
      23              : #include <boost/url/rfc/uri_reference_rule.hpp>
      24              : #include <boost/url/rfc/origin_form_rule.hpp>
      25              : 
      26              : namespace boost {
      27              : namespace urls {
      28              : 
      29              : inline
      30          360 : url_view::
      31          360 : url_view(core::string_view s)
      32          360 :     : url_view(parse_uri_reference(s
      33          360 :         ).value(BOOST_URL_POS))
      34              : {
      35          359 : }
      36              : 
      37              : } // urls
      38              : } // boost
      39              : 
      40              : #endif
        

Generated by: LCOV version 2.3