RESTinio
Loading...
Searching...
No Matches
restinio::easy_parser::impl::caseless_symbol_producer_t Class Reference

A producer for the case when a particual character is expected in the input stream. More...

#include <easy_parser.hpp>

Inheritance diagram for restinio::easy_parser::impl::caseless_symbol_producer_t:
restinio::easy_parser::impl::symbol_producer_template_t< caseless_particular_symbol_predicate_t > restinio::easy_parser::impl::producer_tag< char > restinio::easy_parser::impl::caseless_particular_symbol_predicate_t

Public Member Functions

 caseless_symbol_producer_t (char expected)
Public Member Functions inherited from restinio::easy_parser::impl::symbol_producer_template_t< caseless_particular_symbol_predicate_t >
 symbol_producer_template_t (Args &&... args)
expected_t< char, parse_error_ttry_parse (source_t &from) const noexcept

Private Types

using base_type_t

Additional Inherited Members

Public Types inherited from restinio::easy_parser::impl::producer_tag< char >
using result_type
Static Public Attributes inherited from restinio::easy_parser::impl::producer_tag< char >
static constexpr entity_type_t entity_type
Protected Member Functions inherited from restinio::easy_parser::impl::caseless_particular_symbol_predicate_t
 caseless_particular_symbol_predicate_t (char v) noexcept
bool operator() (const char actual) const noexcept
Protected Attributes inherited from restinio::easy_parser::impl::caseless_particular_symbol_predicate_t
char m_expected

Detailed Description

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).

Since
v.0.6.6

Definition at line 2340 of file easy_parser.hpp.

Member Typedef Documentation

◆ base_type_t

Constructor & Destructor Documentation

◆ caseless_symbol_producer_t()

restinio::easy_parser::impl::caseless_symbol_producer_t::caseless_symbol_producer_t ( char expected)
inline

Definition at line 2347 of file easy_parser.hpp.


The documentation for this class was generated from the following file: