Public Member Functions | Private Types | Private Attributes | List of all members
lexy::_vh< Reader >::event_handler Class Reference

#include <validate.hpp>

Public Member Functions

constexpr event_handler (production_info info)
 
constexpr production_info get_info () const
 
template<typename Event , typename... Args>
constexpr auto on (_vh &, Event, const Args &...)
 
template<typename R >
constexpr void on (_vh &handler, parse_events::error, const error< R, expected_char_class > &error)
 
template<typename R >
constexpr void on (_vh &handler, parse_events::error, const error< R, expected_keyword > &error)
 
template<typename R >
constexpr void on (_vh &handler, parse_events::error, const error< R, expected_literal > &error)
 
template<typename R , typename Tag >
constexpr void on (_vh &handler, parse_events::error, const error< R, Tag > &error)
 
template<typename R >
constexpr void on (_vh &handler, parse_events::error, const error< R, void > &error)
 
constexpr void on (_vh &handler, parse_events::production_cancel, iterator)
 
constexpr void on (_vh &handler, parse_events::production_finish, iterator)
 
constexpr void on (_vh &handler, parse_events::production_start, iterator pos)
 
constexpr iterator production_begin () const
 

Private Types

using iterator = typename Reader::iterator
 

Private Attributes

iterator _begin
 
production_info _info
 
event_handler_prev = nullptr
 

Detailed Description

template<typename Reader>
class lexy::_vh< Reader >::event_handler

Definition at line 176 of file validate.hpp.

Member Typedef Documentation

◆ iterator

template<typename Reader >
using lexy::_vh< Reader >::event_handler::iterator = typename Reader::iterator
private

Definition at line 178 of file validate.hpp.

Constructor & Destructor Documentation

◆ event_handler()

template<typename Reader >
constexpr lexy::_vh< Reader >::event_handler::event_handler ( production_info  info)
inlineconstexpr

Definition at line 181 of file validate.hpp.

Member Function Documentation

◆ get_info()

template<typename Reader >
constexpr production_info lexy::_vh< Reader >::event_handler::get_info ( ) const
inlineconstexpr

Definition at line 239 of file validate.hpp.

◆ on() [1/9]

template<typename Reader >
template<typename Event , typename... Args>
constexpr auto lexy::_vh< Reader >::event_handler::on ( _vh ,
Event  ,
const Args &  ... 
)
inlineconstexpr

Definition at line 229 of file validate.hpp.

◆ on() [2/9]

template<typename Reader >
template<typename R >
constexpr void lexy::_vh< Reader >::event_handler::on ( _vh handler,
parse_events::error  ,
const error< R, expected_char_class > &  error 
)
inlineconstexpr

Definition at line 222 of file validate.hpp.

◆ on() [3/9]

template<typename Reader >
template<typename R >
constexpr void lexy::_vh< Reader >::event_handler::on ( _vh handler,
parse_events::error  ,
const error< R, expected_keyword > &  error 
)
inlineconstexpr

Definition at line 216 of file validate.hpp.

◆ on() [4/9]

template<typename Reader >
template<typename R >
constexpr void lexy::_vh< Reader >::event_handler::on ( _vh handler,
parse_events::error  ,
const error< R, expected_literal > &  error 
)
inlineconstexpr

Definition at line 210 of file validate.hpp.

◆ on() [5/9]

template<typename Reader >
template<typename R , typename Tag >
constexpr void lexy::_vh< Reader >::event_handler::on ( _vh handler,
parse_events::error  ,
const error< R, Tag > &  error 
)
inlineconstexpr

Definition at line 200 of file validate.hpp.

◆ on() [6/9]

template<typename Reader >
template<typename R >
constexpr void lexy::_vh< Reader >::event_handler::on ( _vh handler,
parse_events::error  ,
const error< R, void > &  error 
)
inlineconstexpr

Definition at line 205 of file validate.hpp.

◆ on() [7/9]

template<typename Reader >
constexpr void lexy::_vh< Reader >::event_handler::on ( _vh handler,
parse_events::production_cancel  ,
iterator   
)
inlineconstexpr

Definition at line 194 of file validate.hpp.

◆ on() [8/9]

template<typename Reader >
constexpr void lexy::_vh< Reader >::event_handler::on ( _vh handler,
parse_events::production_finish  ,
iterator   
)
inlineconstexpr

Definition at line 190 of file validate.hpp.

◆ on() [9/9]

template<typename Reader >
constexpr void lexy::_vh< Reader >::event_handler::on ( _vh handler,
parse_events::production_start  ,
iterator  pos 
)
inlineconstexpr

Definition at line 183 of file validate.hpp.

◆ production_begin()

template<typename Reader >
constexpr iterator lexy::_vh< Reader >::event_handler::production_begin ( ) const
inlineconstexpr

Definition at line 234 of file validate.hpp.

Member Data Documentation

◆ _begin

template<typename Reader >
iterator lexy::_vh< Reader >::event_handler::_begin
private

Definition at line 248 of file validate.hpp.

◆ _info

template<typename Reader >
production_info lexy::_vh< Reader >::event_handler::_info
private

Definition at line 249 of file validate.hpp.

◆ _prev

template<typename Reader >
event_handler* lexy::_vh< Reader >::event_handler::_prev = nullptr
private

Definition at line 250 of file validate.hpp.


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


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Dec 13 2024 03:19:19