Public Member Functions | Private Types | Private Attributes | List of all members
lexy::_th< OutputIt, Input, TokenKind >::event_handler Class Reference

#include <trace.hpp>

Public Member Functions

constexpr event_handler (production_info info)
 
void on (_th &, parse_events::grammar_cancel, lexy::input_reader< Input > &)
 
void on (_th &, parse_events::grammar_finish, lexy::input_reader< Input > &)
 
void on (_th &, parse_events::grammar_start, iterator)
 
void on (_th &handler, parse_events::backtracked, iterator begin, iterator end)
 
void on (_th &handler, parse_events::debug, iterator pos, const char *str)
 
template<typename Error >
void on (_th &handler, parse_events::error, const Error &error)
 
void on (_th &handler, parse_events::operation_chain_finish, int, iterator pos)
 
template<typename Operation >
void on (_th &handler, parse_events::operation_chain_op, Operation, iterator pos)
 
int on (_th &handler, parse_events::operation_chain_start, iterator pos)
 
void on (_th &handler, parse_events::production_cancel, iterator pos)
 
void on (_th &handler, parse_events::production_finish, iterator pos)
 
void on (_th &handler, parse_events::production_start, iterator pos)
 
void on (_th &handler, parse_events::recovery_cancel, iterator pos)
 
void on (_th &handler, parse_events::recovery_finish, iterator pos)
 
void on (_th &handler, parse_events::recovery_start, iterator pos)
 
template<typename TK >
void on (_th &handler, parse_events::token, TK kind, iterator begin, iterator end)
 

Private Types

using iterator = typename lexy::input_reader< Input >::iterator
 

Private Attributes

production_info _info
 
_detail::lazy_init< input_location_anchor< Input > > _previous_anchor
 

Detailed Description

template<typename OutputIt, typename Input, typename TokenKind = void>
class lexy::_th< OutputIt, Input, TokenKind >::event_handler

Definition at line 315 of file trace.hpp.

Member Typedef Documentation

◆ iterator

template<typename OutputIt , typename Input , typename TokenKind = void>
using lexy::_th< OutputIt, Input, TokenKind >::event_handler::iterator = typename lexy::input_reader<Input>::iterator
private

Definition at line 317 of file trace.hpp.

Constructor & Destructor Documentation

◆ event_handler()

template<typename OutputIt , typename Input , typename TokenKind = void>
constexpr lexy::_th< OutputIt, Input, TokenKind >::event_handler::event_handler ( production_info  info)
inlineconstexpr

Definition at line 320 of file trace.hpp.

Member Function Documentation

◆ on() [1/16]

template<typename OutputIt , typename Input , typename TokenKind = void>
void lexy::_th< OutputIt, Input, TokenKind >::event_handler::on ( _th ,
parse_events::grammar_cancel  ,
lexy::input_reader< Input > &   
)
inline

Definition at line 324 of file trace.hpp.

◆ on() [2/16]

template<typename OutputIt , typename Input , typename TokenKind = void>
void lexy::_th< OutputIt, Input, TokenKind >::event_handler::on ( _th ,
parse_events::grammar_finish  ,
lexy::input_reader< Input > &   
)
inline

Definition at line 323 of file trace.hpp.

◆ on() [3/16]

template<typename OutputIt , typename Input , typename TokenKind = void>
void lexy::_th< OutputIt, Input, TokenKind >::event_handler::on ( _th ,
parse_events::grammar_start  ,
iterator   
)
inline

Definition at line 322 of file trace.hpp.

◆ on() [4/16]

template<typename OutputIt , typename Input , typename TokenKind = void>
void lexy::_th< OutputIt, Input, TokenKind >::event_handler::on ( _th handler,
parse_events::backtracked  ,
iterator  begin,
iterator  end 
)
inline

Definition at line 374 of file trace.hpp.

◆ on() [5/16]

template<typename OutputIt , typename Input , typename TokenKind = void>
void lexy::_th< OutputIt, Input, TokenKind >::event_handler::on ( _th handler,
parse_events::debug  ,
iterator  pos,
const char *  str 
)
inline

Definition at line 403 of file trace.hpp.

◆ on() [6/16]

template<typename OutputIt , typename Input , typename TokenKind = void>
template<typename Error >
void lexy::_th< OutputIt, Input, TokenKind >::event_handler::on ( _th handler,
parse_events::error  ,
const Error &  error 
)
inline

Definition at line 381 of file trace.hpp.

◆ on() [7/16]

template<typename OutputIt , typename Input , typename TokenKind = void>
void lexy::_th< OutputIt, Input, TokenKind >::event_handler::on ( _th handler,
parse_events::operation_chain_finish  ,
int  ,
iterator  pos 
)
inline

Definition at line 361 of file trace.hpp.

◆ on() [8/16]

template<typename OutputIt , typename Input , typename TokenKind = void>
template<typename Operation >
void lexy::_th< OutputIt, Input, TokenKind >::event_handler::on ( _th handler,
parse_events::operation_chain_op  ,
Operation  ,
iterator  pos 
)
inline

Definition at line 356 of file trace.hpp.

◆ on() [9/16]

template<typename OutputIt , typename Input , typename TokenKind = void>
int lexy::_th< OutputIt, Input, TokenKind >::event_handler::on ( _th handler,
parse_events::operation_chain_start  ,
iterator  pos 
)
inline

Definition at line 349 of file trace.hpp.

◆ on() [10/16]

template<typename OutputIt , typename Input , typename TokenKind = void>
void lexy::_th< OutputIt, Input, TokenKind >::event_handler::on ( _th handler,
parse_events::production_cancel  ,
iterator  pos 
)
inline

Definition at line 340 of file trace.hpp.

◆ on() [11/16]

template<typename OutputIt , typename Input , typename TokenKind = void>
void lexy::_th< OutputIt, Input, TokenKind >::event_handler::on ( _th handler,
parse_events::production_finish  ,
iterator  pos 
)
inline

Definition at line 335 of file trace.hpp.

◆ on() [12/16]

template<typename OutputIt , typename Input , typename TokenKind = void>
void lexy::_th< OutputIt, Input, TokenKind >::event_handler::on ( _th handler,
parse_events::production_start  ,
iterator  pos 
)
inline

Definition at line 326 of file trace.hpp.

◆ on() [13/16]

template<typename OutputIt , typename Input , typename TokenKind = void>
void lexy::_th< OutputIt, Input, TokenKind >::event_handler::on ( _th handler,
parse_events::recovery_cancel  ,
iterator  pos 
)
inline

Definition at line 397 of file trace.hpp.

◆ on() [14/16]

template<typename OutputIt , typename Input , typename TokenKind = void>
void lexy::_th< OutputIt, Input, TokenKind >::event_handler::on ( _th handler,
parse_events::recovery_finish  ,
iterator  pos 
)
inline

Definition at line 392 of file trace.hpp.

◆ on() [15/16]

template<typename OutputIt , typename Input , typename TokenKind = void>
void lexy::_th< OutputIt, Input, TokenKind >::event_handler::on ( _th handler,
parse_events::recovery_start  ,
iterator  pos 
)
inline

Definition at line 387 of file trace.hpp.

◆ on() [16/16]

template<typename OutputIt , typename Input , typename TokenKind = void>
template<typename TK >
void lexy::_th< OutputIt, Input, TokenKind >::event_handler::on ( _th handler,
parse_events::token  ,
TK  kind,
iterator  begin,
iterator  end 
)
inline

Definition at line 368 of file trace.hpp.

Member Data Documentation

◆ _info

template<typename OutputIt , typename Input , typename TokenKind = void>
production_info lexy::_th< OutputIt, Input, TokenKind >::event_handler::_info
private

Definition at line 410 of file trace.hpp.

◆ _previous_anchor

template<typename OutputIt , typename Input , typename TokenKind = void>
_detail::lazy_init<input_location_anchor<Input> > lexy::_th< OutputIt, Input, TokenKind >::event_handler::_previous_anchor
private

Definition at line 413 of file trace.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