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

#include <parse_as_tree.hpp>

Public Types

using handler = _pth< tree_type, lexy::input_reader< Input > >
 
using input = Input
 
template<typename >
using result_type = validate_result< ErrorCallback >
 
using state = State
 
using tree_type = lexy::parse_tree_for< Input, TokenKind, MemoryResource >
 

Public Member Functions

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

Public Attributes

const ErrorCallback * _callback
 
State * _state = nullptr
 
tree_type_tree
 

Detailed Description

template<typename State, typename Input, typename ErrorCallback, typename TokenKind = void, typename MemoryResource = void>
struct lexy::parse_as_tree_action< State, Input, ErrorCallback, TokenKind, MemoryResource >

Definition at line 138 of file parse_as_tree.hpp.

Member Typedef Documentation

◆ handler

template<typename State , typename Input , typename ErrorCallback , typename TokenKind = void, typename MemoryResource = void>
using lexy::parse_as_tree_action< State, Input, ErrorCallback, TokenKind, MemoryResource >::handler = _pth<tree_type, lexy::input_reader<Input> >

Definition at line 146 of file parse_as_tree.hpp.

◆ input

template<typename State , typename Input , typename ErrorCallback , typename TokenKind = void, typename MemoryResource = void>
using lexy::parse_as_tree_action< State, Input, ErrorCallback, TokenKind, MemoryResource >::input = Input

Definition at line 148 of file parse_as_tree.hpp.

◆ result_type

template<typename State , typename Input , typename ErrorCallback , typename TokenKind = void, typename MemoryResource = void>
template<typename >
using lexy::parse_as_tree_action< State, Input, ErrorCallback, TokenKind, MemoryResource >::result_type = validate_result<ErrorCallback>

Definition at line 151 of file parse_as_tree.hpp.

◆ state

template<typename State , typename Input , typename ErrorCallback , typename TokenKind = void, typename MemoryResource = void>
using lexy::parse_as_tree_action< State, Input, ErrorCallback, TokenKind, MemoryResource >::state = State

Definition at line 147 of file parse_as_tree.hpp.

◆ tree_type

template<typename State , typename Input , typename ErrorCallback , typename TokenKind = void, typename MemoryResource = void>
using lexy::parse_as_tree_action< State, Input, ErrorCallback, TokenKind, MemoryResource >::tree_type = lexy::parse_tree_for<Input, TokenKind, MemoryResource>

Definition at line 140 of file parse_as_tree.hpp.

Constructor & Destructor Documentation

◆ parse_as_tree_action() [1/2]

template<typename State , typename Input , typename ErrorCallback , typename TokenKind = void, typename MemoryResource = void>
constexpr lexy::parse_as_tree_action< State, Input, ErrorCallback, TokenKind, MemoryResource >::parse_as_tree_action ( tree_type tree,
const ErrorCallback &  callback 
)
inlineexplicitconstexpr

Definition at line 153 of file parse_as_tree.hpp.

◆ parse_as_tree_action() [2/2]

template<typename State , typename Input , typename ErrorCallback , typename TokenKind = void, typename MemoryResource = void>
template<typename U = State>
constexpr lexy::parse_as_tree_action< State, Input, ErrorCallback, TokenKind, MemoryResource >::parse_as_tree_action ( U &  state,
tree_type tree,
const ErrorCallback &  callback 
)
inlineexplicitconstexpr

Definition at line 157 of file parse_as_tree.hpp.

Member Function Documentation

◆ operator()()

template<typename State , typename Input , typename ErrorCallback , typename TokenKind = void, typename MemoryResource = void>
template<typename Production >
constexpr auto lexy::parse_as_tree_action< State, Input, ErrorCallback, TokenKind, MemoryResource >::operator() ( Production  ,
const Input &  input 
) const
inlineconstexpr

Definition at line 163 of file parse_as_tree.hpp.

Member Data Documentation

◆ _callback

template<typename State , typename Input , typename ErrorCallback , typename TokenKind = void, typename MemoryResource = void>
const ErrorCallback* lexy::parse_as_tree_action< State, Input, ErrorCallback, TokenKind, MemoryResource >::_callback

Definition at line 143 of file parse_as_tree.hpp.

◆ _state

template<typename State , typename Input , typename ErrorCallback , typename TokenKind = void, typename MemoryResource = void>
State* lexy::parse_as_tree_action< State, Input, ErrorCallback, TokenKind, MemoryResource >::_state = nullptr

Definition at line 144 of file parse_as_tree.hpp.

◆ _tree

template<typename State , typename Input , typename ErrorCallback , typename TokenKind = void, typename MemoryResource = void>
tree_type* lexy::parse_as_tree_action< State, Input, ErrorCallback, TokenKind, MemoryResource >::_tree

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