Agora  1.2.0
Agora project
fmt::v8::detail::format_string_checker< Char, ErrorHandler, Args > Class Template Reference

#include <core.h>

Collaboration diagram for fmt::v8::detail::format_string_checker< Char, ErrorHandler, Args >:

Public Member Functions

 format_string_checker (basic_string_view< Char > format_str, ErrorHandler eh)
 
void on_text (const Char *, const Char *)
 
auto on_arg_id () -> int
 
auto on_arg_id (int id) -> int
 
auto on_arg_id (basic_string_view< Char > id) -> int
 
void on_replacement_field (int, const Char *)
 
auto on_format_specs (int id, const Char *begin, const Char *) -> const Char *
 
void on_error (const char *message)
 

Private Types

enum  { num_args = sizeof...(Args) }
 
using parse_context_type = compile_parse_context< Char, ErrorHandler >
 
using parse_func = const Char *(*)(parse_context_type &)
 

Private Attributes

parse_context_type context_
 
parse_func parse_funcs_ [num_args > 0 ? num_args :1]
 

Member Typedef Documentation

◆ parse_context_type

template<typename Char , typename ErrorHandler , typename... Args>
using fmt::v8::detail::format_string_checker< Char, ErrorHandler, Args >::parse_context_type = compile_parse_context<Char, ErrorHandler>
private

◆ parse_func

template<typename Char , typename ErrorHandler , typename... Args>
using fmt::v8::detail::format_string_checker< Char, ErrorHandler, Args >::parse_func = const Char* (*)(parse_context_type&)
private

Member Enumeration Documentation

◆ anonymous enum

template<typename Char , typename ErrorHandler , typename... Args>
anonymous enum
private
Enumerator
num_args 

Constructor & Destructor Documentation

◆ format_string_checker()

template<typename Char , typename ErrorHandler , typename... Args>
fmt::v8::detail::format_string_checker< Char, ErrorHandler, Args >::format_string_checker ( basic_string_view< Char >  format_str,
ErrorHandler  eh 
)
inlineexplicit

Member Function Documentation

◆ on_arg_id() [1/3]

template<typename Char , typename ErrorHandler , typename... Args>
auto fmt::v8::detail::format_string_checker< Char, ErrorHandler, Args >::on_arg_id ( ) -> int
inline
Here is the call graph for this function:

◆ on_arg_id() [2/3]

template<typename Char , typename ErrorHandler , typename... Args>
auto fmt::v8::detail::format_string_checker< Char, ErrorHandler, Args >::on_arg_id ( basic_string_view< Char >  id) -> int
inline
Here is the call graph for this function:

◆ on_arg_id() [3/3]

template<typename Char , typename ErrorHandler , typename... Args>
auto fmt::v8::detail::format_string_checker< Char, ErrorHandler, Args >::on_arg_id ( int  id) -> int
inline
Here is the call graph for this function:

◆ on_error()

template<typename Char , typename ErrorHandler , typename... Args>
void fmt::v8::detail::format_string_checker< Char, ErrorHandler, Args >::on_error ( const char *  message)
inline
Here is the call graph for this function:

◆ on_format_specs()

template<typename Char , typename ErrorHandler , typename... Args>
auto fmt::v8::detail::format_string_checker< Char, ErrorHandler, Args >::on_format_specs ( int  id,
const Char *  begin,
const Char *   
) -> const Char*
inline
Here is the call graph for this function:

◆ on_replacement_field()

template<typename Char , typename ErrorHandler , typename... Args>
void fmt::v8::detail::format_string_checker< Char, ErrorHandler, Args >::on_replacement_field ( int  ,
const Char *   
)
inline

◆ on_text()

template<typename Char , typename ErrorHandler , typename... Args>
void fmt::v8::detail::format_string_checker< Char, ErrorHandler, Args >::on_text ( const Char *  ,
const Char *   
)
inline

Member Data Documentation

◆ context_

template<typename Char , typename ErrorHandler , typename... Args>
parse_context_type fmt::v8::detail::format_string_checker< Char, ErrorHandler, Args >::context_
private

◆ parse_funcs_

template<typename Char , typename ErrorHandler , typename... Args>
parse_func fmt::v8::detail::format_string_checker< Char, ErrorHandler, Args >::parse_funcs_[num_args > 0 ? num_args :1]
private

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