Ada 2.9.2
Fast spec-compliant URL parser
|
Includes the definitions for helper functions. More...
Functions | |
ada_unused std::string | get_state (ada::state s) |
ada_really_inline int | trailing_zeroes (uint32_t input_num) noexcept |
ada_really_inline size_t | find_next_host_delimiter_special (std::string_view view, size_t location) noexcept |
ada_really_inline size_t | find_next_host_delimiter (std::string_view view, size_t location) noexcept |
Variables | |
static constexpr std::array< uint8_t, 256 > | special_host_delimiters |
static constexpr std::array< uint8_t, 256 > | host_delimiters |
static constexpr std::array< uint8_t, 256 > | authority_delimiter_special |
static constexpr std::array< uint8_t, 256 > | authority_delimiter |
Includes the definitions for helper functions.
These functions are not part of our public API and may change at any time.
|
noexcept |
Definition at line 458 of file helpers.cpp.
References host_delimiters.
|
noexcept |
Definition at line 326 of file helpers.cpp.
References special_host_delimiters.
ada_unused std::string ada::helpers::get_state | ( | ada::state | s | ) |
Definition at line 36 of file helpers.cpp.
References ada::AUTHORITY, ada::FILE, ada::FILE_HOST, ada::FILE_SLASH, ada::FRAGMENT, ada::HOST, ada::NO_SCHEME, ada::OPAQUE_PATH, ada::PATH, ada::PATH_OR_AUTHORITY, ada::PATH_START, ada::PORT, ada::QUERY, ada::RELATIVE_SCHEME, ada::RELATIVE_SLASH, ada::SCHEME, ada::SCHEME_START, ada::SPECIAL_AUTHORITY_IGNORE_SLASHES, ada::SPECIAL_AUTHORITY_SLASHES, and ada::SPECIAL_RELATIVE_OR_AUTHORITY.
Referenced by ada::to_string().
|
noexcept |
Definition at line 175 of file helpers.cpp.
|
staticconstexpr |
Definition at line 766 of file helpers.cpp.
|
staticconstexpr |
Definition at line 744 of file helpers.cpp.
|
staticconstexpr |
Definition at line 450 of file helpers.cpp.
Referenced by find_next_host_delimiter().
|
staticconstexpr |
Definition at line 317 of file helpers.cpp.
Referenced by find_next_host_delimiter_special().