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 152 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 160 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 162 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 165 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 161 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 154 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 167 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 171 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 177 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 157 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 158 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 156 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 Dec 13 2024 03:19:19