Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
lexy::_as_string< String, Encoding, CaseFoldingDSL > Struct Template Reference

#include <string.hpp>

Classes

struct  _sink
 

Public Types

using _char_type = _string_char_type< String >
 
using return_type = String
 

Public Member Functions

template<typename NewCaseFoldingDSL >
constexpr auto case_folding (NewCaseFoldingDSL) const
 
constexpr String operator() (code_point cp) const
 
template<typename Str = String>
constexpr String operator() (const typename Str::allocator_type &allocator, code_point cp) const
 
template<typename Str = String, typename Iterator >
constexpr auto operator() (const typename Str::allocator_type &allocator, Iterator begin, Iterator end) const -> decltype(String(begin, end, allocator))
 
template<typename Str = String, typename Reader >
constexpr String operator() (const typename Str::allocator_type &allocator, lexeme< Reader > lex) const
 
template<typename Iterator >
constexpr auto operator() (Iterator begin, Iterator end) const -> decltype(String(begin, end))
 
template<typename Reader >
constexpr String operator() (lexeme< Reader > lex) const
 
constexpr String operator() (nullopt &&) const
 
constexpr String && operator() (String &&str) const
 
constexpr auto sink () const
 
template<typename S = String>
constexpr auto sink (const typename S::allocator_type &allocator) const
 

Static Public Member Functions

static constexpr String && _case_folding (String &&str)
 

Detailed Description

template<typename String, typename Encoding, typename CaseFoldingDSL = void>
struct lexy::_as_string< String, Encoding, CaseFoldingDSL >

Definition at line 22 of file string.hpp.

Member Typedef Documentation

◆ _char_type

template<typename String , typename Encoding , typename CaseFoldingDSL = void>
using lexy::_as_string< String, Encoding, CaseFoldingDSL >::_char_type = _string_char_type<String>

Definition at line 25 of file string.hpp.

◆ return_type

template<typename String , typename Encoding , typename CaseFoldingDSL = void>
using lexy::_as_string< String, Encoding, CaseFoldingDSL >::return_type = String

Definition at line 24 of file string.hpp.

Member Function Documentation

◆ _case_folding()

template<typename String , typename Encoding , typename CaseFoldingDSL = void>
static constexpr String&& lexy::_as_string< String, Encoding, CaseFoldingDSL >::_case_folding ( String &&  str)
inlinestaticconstexpr

Definition at line 29 of file string.hpp.

◆ case_folding()

template<typename String , typename Encoding , typename CaseFoldingDSL = void>
template<typename NewCaseFoldingDSL >
constexpr auto lexy::_as_string< String, Encoding, CaseFoldingDSL >::case_folding ( NewCaseFoldingDSL  ) const
inlineconstexpr

Definition at line 79 of file string.hpp.

◆ operator()() [1/8]

template<typename String , typename Encoding , typename CaseFoldingDSL = void>
constexpr String lexy::_as_string< String, Encoding, CaseFoldingDSL >::operator() ( code_point  cp) const
inlineconstexpr

Definition at line 131 of file string.hpp.

◆ operator()() [2/8]

template<typename String , typename Encoding , typename CaseFoldingDSL = void>
template<typename Str = String>
constexpr String lexy::_as_string< String, Encoding, CaseFoldingDSL >::operator() ( const typename Str::allocator_type &  allocator,
code_point  cp 
) const
inlineconstexpr

Definition at line 138 of file string.hpp.

◆ operator()() [3/8]

template<typename String , typename Encoding , typename CaseFoldingDSL = void>
template<typename Str = String, typename Iterator >
constexpr auto lexy::_as_string< String, Encoding, CaseFoldingDSL >::operator() ( const typename Str::allocator_type &  allocator,
Iterator  begin,
Iterator  end 
) const -> decltype(String(begin, end, allocator))
inlineconstexpr

Definition at line 99 of file string.hpp.

◆ operator()() [4/8]

template<typename String , typename Encoding , typename CaseFoldingDSL = void>
template<typename Str = String, typename Reader >
constexpr String lexy::_as_string< String, Encoding, CaseFoldingDSL >::operator() ( const typename Str::allocator_type &  allocator,
lexeme< Reader >  lex 
) const
inlineconstexpr

Definition at line 118 of file string.hpp.

◆ operator()() [5/8]

template<typename String , typename Encoding , typename CaseFoldingDSL = void>
template<typename Iterator >
constexpr auto lexy::_as_string< String, Encoding, CaseFoldingDSL >::operator() ( Iterator  begin,
Iterator  end 
) const -> decltype(String(begin, end))
inlineconstexpr

Definition at line 94 of file string.hpp.

◆ operator()() [6/8]

template<typename String , typename Encoding , typename CaseFoldingDSL = void>
template<typename Reader >
constexpr String lexy::_as_string< String, Encoding, CaseFoldingDSL >::operator() ( lexeme< Reader >  lex) const
inlineconstexpr

Definition at line 106 of file string.hpp.

◆ operator()() [7/8]

template<typename String , typename Encoding , typename CaseFoldingDSL = void>
constexpr String lexy::_as_string< String, Encoding, CaseFoldingDSL >::operator() ( nullopt &&  ) const
inlineconstexpr

Definition at line 84 of file string.hpp.

◆ operator()() [8/8]

template<typename String , typename Encoding , typename CaseFoldingDSL = void>
constexpr String&& lexy::_as_string< String, Encoding, CaseFoldingDSL >::operator() ( String &&  str) const
inlineconstexpr

Definition at line 88 of file string.hpp.

◆ sink() [1/2]

template<typename String , typename Encoding , typename CaseFoldingDSL = void>
constexpr auto lexy::_as_string< String, Encoding, CaseFoldingDSL >::sink ( ) const
inlineconstexpr

Definition at line 190 of file string.hpp.

◆ sink() [2/2]

template<typename String , typename Encoding , typename CaseFoldingDSL = void>
template<typename S = String>
constexpr auto lexy::_as_string< String, Encoding, CaseFoldingDSL >::sink ( const typename S::allocator_type &  allocator) const
inlineconstexpr

Definition at line 195 of file string.hpp.


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


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Jun 28 2024 02:20:09