Public Types | Public Member Functions | Public Attributes | List of all members
lexy::_pc< Handler, State, Production, WhitespaceProduction > Struct Template Reference

#include <base.hpp>

Public Types

using handler_type = Handler
 
using production = Production
 
using state_type = State
 
using value_type = _production_value_type< Handler, State, Production >
 
using whitespace_production = WhitespaceProduction
 

Public Member Functions

constexpr _pc (_detail::parse_context_control_block< Handler, State > *cb)
 
template<typename Event , typename... Args>
constexpr auto on (Event ev, Args &&... args)
 
template<typename ChildProduction >
constexpr auto sub_context (ChildProduction)
 
constexpr auto value_callback ()
 

Public Attributes

_detail::parse_context_control_block< Handler, State > * control_block
 
Handler::event_handler handler
 
_detail::lazy_init< value_typevalue
 

Detailed Description

template<typename Handler, typename State, typename Production, typename WhitespaceProduction = _whitespace_production_of<Production>>
struct lexy::_pc< Handler, State, Production, WhitespaceProduction >

Definition at line 117 of file action/base.hpp.

Member Typedef Documentation

◆ handler_type

template<typename Handler , typename State , typename Production , typename WhitespaceProduction = _whitespace_production_of<Production>>
using lexy::_pc< Handler, State, Production, WhitespaceProduction >::handler_type = Handler

Definition at line 119 of file action/base.hpp.

◆ production

template<typename Handler , typename State , typename Production , typename WhitespaceProduction = _whitespace_production_of<Production>>
using lexy::_pc< Handler, State, Production, WhitespaceProduction >::production = Production

Definition at line 122 of file action/base.hpp.

◆ state_type

template<typename Handler , typename State , typename Production , typename WhitespaceProduction = _whitespace_production_of<Production>>
using lexy::_pc< Handler, State, Production, WhitespaceProduction >::state_type = State

Definition at line 120 of file action/base.hpp.

◆ value_type

template<typename Handler , typename State , typename Production , typename WhitespaceProduction = _whitespace_production_of<Production>>
using lexy::_pc< Handler, State, Production, WhitespaceProduction >::value_type = _production_value_type<Handler, State, Production>

Definition at line 124 of file action/base.hpp.

◆ whitespace_production

template<typename Handler , typename State , typename Production , typename WhitespaceProduction = _whitespace_production_of<Production>>
using lexy::_pc< Handler, State, Production, WhitespaceProduction >::whitespace_production = WhitespaceProduction

Definition at line 123 of file action/base.hpp.

Constructor & Destructor Documentation

◆ _pc()

template<typename Handler , typename State , typename Production , typename WhitespaceProduction = _whitespace_production_of<Production>>
constexpr lexy::_pc< Handler, State, Production, WhitespaceProduction >::_pc ( _detail::parse_context_control_block< Handler, State > *  cb)
inlineexplicitconstexpr

Definition at line 130 of file action/base.hpp.

Member Function Documentation

◆ on()

template<typename Handler , typename State , typename Production , typename WhitespaceProduction = _whitespace_production_of<Production>>
template<typename Event , typename... Args>
constexpr auto lexy::_pc< Handler, State, Production, WhitespaceProduction >::on ( Event  ev,
Args &&...  args 
)
inlineconstexpr

Definition at line 154 of file action/base.hpp.

◆ sub_context()

template<typename Handler , typename State , typename Production , typename WhitespaceProduction = _whitespace_production_of<Production>>
template<typename ChildProduction >
constexpr auto lexy::_pc< Handler, State, Production, WhitespaceProduction >::sub_context ( ChildProduction  )
inlineconstexpr

Definition at line 135 of file action/base.hpp.

◆ value_callback()

template<typename Handler , typename State , typename Production , typename WhitespaceProduction = _whitespace_production_of<Production>>
constexpr auto lexy::_pc< Handler, State, Production, WhitespaceProduction >::value_callback ( )
inlineconstexpr

Definition at line 147 of file action/base.hpp.

Member Data Documentation

◆ control_block

template<typename Handler , typename State , typename Production , typename WhitespaceProduction = _whitespace_production_of<Production>>
_detail::parse_context_control_block<Handler, State>* lexy::_pc< Handler, State, Production, WhitespaceProduction >::control_block

Definition at line 127 of file action/base.hpp.

◆ handler

template<typename Handler , typename State , typename Production , typename WhitespaceProduction = _whitespace_production_of<Production>>
Handler::event_handler lexy::_pc< Handler, State, Production, WhitespaceProduction >::handler

Definition at line 126 of file action/base.hpp.

◆ value

template<typename Handler , typename State , typename Production , typename WhitespaceProduction = _whitespace_production_of<Production>>
_detail::lazy_init<value_type> lexy::_pc< Handler, State, Production, WhitespaceProduction >::value

Definition at line 128 of file action/base.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