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

#include <parse_as_tree.hpp>

Public Member Functions

 event_handler (production_info info)
 
template<typename Event , typename... Args>
auto on (_pth &handler, Event ev, Args &&... args)
 
template<typename Marker >
void on (_pth &handler, lexy::parse_events::operation_chain_finish, Marker &&marker, iterator)
 
template<typename Operation >
void on (_pth &handler, lexy::parse_events::operation_chain_op, Operation op, iterator)
 
auto on (_pth &handler, lexy::parse_events::operation_chain_start, iterator)
 
template<typename Error >
void on (_pth &handler, parse_events::error ev, Error &&error)
 
void on (_pth &handler, parse_events::grammar_cancel, Reader &)
 
void on (_pth &handler, parse_events::grammar_finish, Reader &reader)
 
void on (_pth &handler, parse_events::grammar_start, iterator)
 
void on (_pth &handler, parse_events::production_cancel ev, iterator pos)
 
void on (_pth &handler, parse_events::production_finish ev, iterator pos)
 
void on (_pth &handler, parse_events::production_start ev, iterator pos)
 
template<typename TokenKind >
void on (_pth &handler, parse_events::token, TokenKind kind, iterator begin, iterator end)
 

Private Types

using iterator = typename Reader::iterator
 

Private Attributes

Tree::builder::marker _marker
 
_vh< Reader >::event_handler _validate
 

Detailed Description

template<typename Tree, typename Reader>
class lexy::_pth< Tree, Reader >::event_handler

Definition at line 24 of file parse_as_tree.hpp.

Member Typedef Documentation

◆ iterator

template<typename Tree , typename Reader >
using lexy::_pth< Tree, Reader >::event_handler::iterator = typename Reader::iterator
private

Definition at line 26 of file parse_as_tree.hpp.

Constructor & Destructor Documentation

◆ event_handler()

template<typename Tree , typename Reader >
lexy::_pth< Tree, Reader >::event_handler::event_handler ( production_info  info)
inline

Definition at line 29 of file parse_as_tree.hpp.

Member Function Documentation

◆ on() [1/12]

template<typename Tree , typename Reader >
template<typename Event , typename... Args>
auto lexy::_pth< Tree, Reader >::event_handler::on ( _pth handler,
Event  ev,
Args &&...  args 
)
inline

Definition at line 122 of file parse_as_tree.hpp.

◆ on() [2/12]

template<typename Tree , typename Reader >
template<typename Marker >
void lexy::_pth< Tree, Reader >::event_handler::on ( _pth handler,
lexy::parse_events::operation_chain_finish  ,
Marker &&  marker,
iterator   
)
inline

Definition at line 103 of file parse_as_tree.hpp.

◆ on() [3/12]

template<typename Tree , typename Reader >
template<typename Operation >
void lexy::_pth< Tree, Reader >::event_handler::on ( _pth handler,
lexy::parse_events::operation_chain_op  ,
Operation  op,
iterator   
)
inline

Definition at line 96 of file parse_as_tree.hpp.

◆ on() [4/12]

template<typename Tree , typename Reader >
auto lexy::_pth< Tree, Reader >::event_handler::on ( _pth handler,
lexy::parse_events::operation_chain_start  ,
iterator   
)
inline

Definition at line 89 of file parse_as_tree.hpp.

◆ on() [5/12]

template<typename Tree , typename Reader >
template<typename Error >
void lexy::_pth< Tree, Reader >::event_handler::on ( _pth handler,
parse_events::error  ev,
Error &&  error 
)
inline

Definition at line 116 of file parse_as_tree.hpp.

◆ on() [6/12]

template<typename Tree , typename Reader >
void lexy::_pth< Tree, Reader >::event_handler::on ( _pth handler,
parse_events::grammar_cancel  ,
Reader &   
)
inline

Definition at line 47 of file parse_as_tree.hpp.

◆ on() [7/12]

template<typename Tree , typename Reader >
void lexy::_pth< Tree, Reader >::event_handler::on ( _pth handler,
parse_events::grammar_finish  ,
Reader &  reader 
)
inline

Definition at line 37 of file parse_as_tree.hpp.

◆ on() [8/12]

template<typename Tree , typename Reader >
void lexy::_pth< Tree, Reader >::event_handler::on ( _pth handler,
parse_events::grammar_start  ,
iterator   
)
inline

Definition at line 31 of file parse_as_tree.hpp.

◆ on() [9/12]

template<typename Tree , typename Reader >
void lexy::_pth< Tree, Reader >::event_handler::on ( _pth handler,
parse_events::production_cancel  ev,
iterator  pos 
)
inline

Definition at line 75 of file parse_as_tree.hpp.

◆ on() [10/12]

template<typename Tree , typename Reader >
void lexy::_pth< Tree, Reader >::event_handler::on ( _pth handler,
parse_events::production_finish  ev,
iterator  pos 
)
inline

Definition at line 62 of file parse_as_tree.hpp.

◆ on() [11/12]

template<typename Tree , typename Reader >
void lexy::_pth< Tree, Reader >::event_handler::on ( _pth handler,
parse_events::production_start  ev,
iterator  pos 
)
inline

Definition at line 54 of file parse_as_tree.hpp.

◆ on() [12/12]

template<typename Tree , typename Reader >
template<typename TokenKind >
void lexy::_pth< Tree, Reader >::event_handler::on ( _pth handler,
parse_events::token  ,
TokenKind  kind,
iterator  begin,
iterator  end 
)
inline

Definition at line 110 of file parse_as_tree.hpp.

Member Data Documentation

◆ _marker

template<typename Tree , typename Reader >
Tree::builder::marker lexy::_pth< Tree, Reader >::event_handler::_marker
private

Definition at line 128 of file parse_as_tree.hpp.

◆ _validate

template<typename Tree , typename Reader >
_vh<Reader>::event_handler lexy::_pth< Tree, Reader >::event_handler::_validate
private

Definition at line 129 of file parse_as_tree.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