RESTinio
|
A producer for the case when a particual character is expected in the input stream. More...
#include <easy_parser.hpp>
Public Member Functions | |
caseless_symbol_producer_t (char expected) | |
![]() | |
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< caseless_particular_symbol_predicate_t > |
Additional Inherited Members | |
![]() | |
using | result_type = char |
![]() | |
static constexpr entity_type_t | entity_type |
![]() | |
caseless_particular_symbol_predicate_t (char v) noexcept | |
RESTINIO_NODISCARD bool | operator() (const char actual) const noexcept |
![]() | |
char | m_expected |
A producer for the case when a particual character is expected in the input stream.
Performs caseless comparison of symbols.
In the case of success returns the character from the input stream (e.g. without transformation to lower or upper case).
Definition at line 2339 of file easy_parser.hpp.
|
private |
Definition at line 2342 of file easy_parser.hpp.
|
inline |
Definition at line 2346 of file easy_parser.hpp.