RESTinio
|
A producer for the case when a symbol should belong to specified range. More...
#include <easy_parser.hpp>
Public Member Functions | |
symbol_from_range_producer_t (char left, char right) | |
![]() | |
symbol_producer_template_t (Args &&... args) | |
RESTINIO_NODISCARD expected_t< char, parse_error_t > | try_parse (source_t &from) const noexcept |
Private Types | |
using | base_type_t = symbol_producer_template_t< symbol_from_range_predicate_t > |
Additional Inherited Members | |
![]() | |
using | result_type = char |
![]() | |
static constexpr entity_type_t | entity_type |
![]() | |
RESTINIO_NODISCARD bool | operator() (const char actual) const noexcept |
![]() | |
char | m_left |
char | m_right |
A producer for the case when a symbol should belong to specified range.
Range is inclusive. It means that (ch >= left && ch <= right)
.
Definition at line 2362 of file easy_parser.hpp.
|
private |
Definition at line 2365 of file easy_parser.hpp.
|
inline |
Definition at line 2369 of file easy_parser.hpp.