boost::urls::grammar :: Boost Libraries Documentation

# boost::urls::grammar

## Namespace Aliases

Name
`string_token`

## Types

Name | Description
`literal_rule` | Match a string literal exactly
`lut_chars` | A set of characters
`range` | A forward range of parsed elements
`recycled` | A thread‐safe collection of instances of T
`recycled_ptr` | A pointer to a shared instance of T
`string_view_base` | Common functionality for string views
`unsigned_rule` | Match an unsigned decimal
`aligned_storage` | Provides an aligned storage buffer aligned for T
`ci_equal` | A case‐insensitive equals predicate for strings
`ci_hash` | A case‐insensitive hash function object for strings
`ci_less` | A case‐insensitive less predicate for strings
`is_charset` | Alias for `std::true_type` if T satisfies `CharSet`.
`is_rule` | Determine if T meets the requirements of `Rule`

## Enums

Name | Description
`condition` | Error conditions for errors received from rules
`error` | Error codes returned when using rules

## Functions

Name | Description
`ci_compare` | Return the case‐insensitive comparison of s0 and s1
`ci_digest` | Return the case‐insensitive digest of a string
`ci_is_equal` | Return true if s0 equals s1 using case‐insensitive comparison
`ci_is_less` | Return true if s0 is less than s1 using case‐insensitive comparison
`delim_rule` | `delim_rule` overloads
`find_if` | Find the first character in the string that is in the set.
`find_if_not` | Find the first character in the string that is not in CharSet
`hexdig_value` | Return the decimal value of a hex character
`not_empty_rule` | Match another rule, if the result is not empty
`operator+` | Return the union of two character sets.
`operator‐` | Return a new character set by subtracting
`optional_rule` | Match a rule, or the empty string
`parse` | Parse a character buffer using a rule
`range_rule` | Match a repeating number of elements
`ref` | `ref` overloads
`squelch` | Squelch the value of a rule
`to_lower` | Return c converted to lowercase
`to_upper` | Return c converted to uppercase
`token_rule` | Match a non‐empty string of characters from a set
`tuple_rule` | Match a series of rules in order
`variant_rule` | Match one of a set of rules
`operator<<` | Format a string to an output stream
`operator==` | Compare two string views for equality
`operator!=` | Compare two string views for inequality
`operator<` | Compare two string views for less than
`operator<=` | Compare two string views for less than or equal
`operator>` | Compare two string views for greater than
`operator>=` | Compare two string views for greater than or equal

## Variables

Name | Description
`all_chars` | The set of all characters
`alnum_chars` | The set of letters and digits
`alpha_chars` | The set of all letters
`dec_octet_rule` | Match a decimal octet
`digit_chars` | The set of decimal digits
`hexdig_chars` | The set of hexadecimal digits
`vchars` | The set of visible characters

## Concepts

Name | Description
`CharSet` | Concept for a CharSet
`Rule` | Concept for a grammar Rule

Created with MrDocs