Public Types | Public Member Functions | Public Attributes | List of all members
lexy::parse_action< State, Input, ErrorCallback > Struct Template Reference

#include <parse.hpp>

Public Types

using handler = _ph< lexy::input_reader< Input > >
 
using input = Input
 
template<typename T >
using result_type = parse_result< T, ErrorCallback >
 
using state = State
 

Public Member Functions

template<typename Production >
constexpr auto operator() (Production, const Input &input) const
 
constexpr parse_action (const ErrorCallback &callback)
 
template<typename U = State>
constexpr parse_action (U &state, const ErrorCallback &callback)
 

Public Attributes

const ErrorCallback * _callback
 
State * _state = nullptr
 

Detailed Description

template<typename State, typename Input, typename ErrorCallback>
struct lexy::parse_action< State, Input, ErrorCallback >

Definition at line 140 of file parse.hpp.

Member Typedef Documentation

◆ handler

template<typename State , typename Input , typename ErrorCallback >
using lexy::parse_action< State, Input, ErrorCallback >::handler = _ph<lexy::input_reader<Input> >

Definition at line 145 of file parse.hpp.

◆ input

template<typename State , typename Input , typename ErrorCallback >
using lexy::parse_action< State, Input, ErrorCallback >::input = Input

Definition at line 147 of file parse.hpp.

◆ result_type

template<typename State , typename Input , typename ErrorCallback >
template<typename T >
using lexy::parse_action< State, Input, ErrorCallback >::result_type = parse_result<T, ErrorCallback>

Definition at line 150 of file parse.hpp.

◆ state

template<typename State , typename Input , typename ErrorCallback >
using lexy::parse_action< State, Input, ErrorCallback >::state = State

Definition at line 146 of file parse.hpp.

Constructor & Destructor Documentation

◆ parse_action() [1/2]

template<typename State , typename Input , typename ErrorCallback >
constexpr lexy::parse_action< State, Input, ErrorCallback >::parse_action ( const ErrorCallback &  callback)
inlineexplicitconstexpr

Definition at line 152 of file parse.hpp.

◆ parse_action() [2/2]

template<typename State , typename Input , typename ErrorCallback >
template<typename U = State>
constexpr lexy::parse_action< State, Input, ErrorCallback >::parse_action ( U &  state,
const ErrorCallback &  callback 
)
inlineexplicitconstexpr

Definition at line 154 of file parse.hpp.

Member Function Documentation

◆ operator()()

template<typename State , typename Input , typename ErrorCallback >
template<typename Production >
constexpr auto lexy::parse_action< State, Input, ErrorCallback >::operator() ( Production  ,
const Input &  input 
) const
inlineconstexpr

Definition at line 159 of file parse.hpp.

Member Data Documentation

◆ _callback

template<typename State , typename Input , typename ErrorCallback >
const ErrorCallback* lexy::parse_action< State, Input, ErrorCallback >::_callback

Definition at line 142 of file parse.hpp.

◆ _state

template<typename State , typename Input , typename ErrorCallback >
State* lexy::parse_action< State, Input, ErrorCallback >::_state = nullptr

Definition at line 143 of file parse.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