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

#include <match.hpp>

Public Types

using handler = _mh
 
using input = Input
 
template<typename >
using result_type = bool
 
using state = State
 

Public Member Functions

constexpr match_action ()=default
 
template<typename U = State>
constexpr match_action (U &state)
 
template<typename Production >
constexpr auto operator() (Production, const Input &input) const
 

Public Attributes

State * _state = nullptr
 

Detailed Description

template<typename State, typename Input>
struct lexy::match_action< State, Input >

Definition at line 48 of file match.hpp.

Member Typedef Documentation

◆ handler

template<typename State , typename Input >
using lexy::match_action< State, Input >::handler = _mh

Definition at line 52 of file match.hpp.

◆ input

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

Definition at line 54 of file match.hpp.

◆ result_type

template<typename State , typename Input >
template<typename >
using lexy::match_action< State, Input >::result_type = bool

Definition at line 57 of file match.hpp.

◆ state

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

Definition at line 53 of file match.hpp.

Constructor & Destructor Documentation

◆ match_action() [1/2]

template<typename State , typename Input >
constexpr lexy::match_action< State, Input >::match_action ( )
constexprdefault

◆ match_action() [2/2]

template<typename State , typename Input >
template<typename U = State>
constexpr lexy::match_action< State, Input >::match_action ( U &  state)
inlineexplicitconstexpr

Definition at line 61 of file match.hpp.

Member Function Documentation

◆ operator()()

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

Definition at line 65 of file match.hpp.

Member Data Documentation

◆ _state

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

Definition at line 50 of file match.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