Classes | Public Member Functions | Private Attributes | List of all members
lexy::parse_tree< Reader, TokenKind, MemoryResource >::builder Class Reference

#include <parse_tree.hpp>

Classes

class  marker
 

Public Member Functions

 builder (parse_tree &&tree, production_info production)
 
 builder (production_info production)
 
void cancel_container (marker &&m)
 
void cancel_production (marker &&m)
 
std::size_t current_child_count () const noexcept
 
parse_tree && finish () &&
 
parse_tree && finish (lexy::lexeme< Reader > remaining_input) &&
 
parse_tree && finish (typename Reader::iterator end) &&
 
void finish_container (marker &&m)
 
void finish_production (marker &&m)
 
void set_container_production (production_info production)
 
marker start_container ()
 
auto start_production (production_info production)
 
void token (token_kind< TokenKind > _kind, typename Reader::iterator begin, typename Reader::iterator end)
 

Private Attributes

marker _cur
 
parse_tree _result
 

Detailed Description

template<typename Reader, typename TokenKind = void, typename MemoryResource = void>
class lexy::parse_tree< Reader, TokenKind, MemoryResource >::builder

Definition at line 426 of file parse_tree.hpp.

Constructor & Destructor Documentation

◆ builder() [1/2]

template<typename Reader , typename TokenKind = void, typename MemoryResource = void>
lexy::parse_tree< Reader, TokenKind, MemoryResource >::builder::builder ( parse_tree &&  tree,
production_info  production 
)
inlineexplicit

Definition at line 546 of file parse_tree.hpp.

◆ builder() [2/2]

template<typename Reader , typename TokenKind = void, typename MemoryResource = void>
lexy::parse_tree< Reader, TokenKind, MemoryResource >::builder::builder ( production_info  production)
inlineexplicit

Definition at line 561 of file parse_tree.hpp.

Member Function Documentation

◆ cancel_container()

template<typename Reader , typename TokenKind = void, typename MemoryResource = void>
void lexy::parse_tree< Reader, TokenKind, MemoryResource >::builder::cancel_container ( marker &&  m)
inline

Definition at line 713 of file parse_tree.hpp.

◆ cancel_production()

template<typename Reader , typename TokenKind = void, typename MemoryResource = void>
void lexy::parse_tree< Reader, TokenKind, MemoryResource >::builder::cancel_production ( marker &&  m)
inline

Definition at line 627 of file parse_tree.hpp.

◆ current_child_count()

template<typename Reader , typename TokenKind = void, typename MemoryResource = void>
std::size_t lexy::parse_tree< Reader, TokenKind, MemoryResource >::builder::current_child_count ( ) const
inlinenoexcept

Definition at line 751 of file parse_tree.hpp.

◆ finish() [1/3]

template<typename Reader , typename TokenKind = void, typename MemoryResource = void>
parse_tree&& lexy::parse_tree< Reader, TokenKind, MemoryResource >::builder::finish ( ) &&
inline

Definition at line 564 of file parse_tree.hpp.

◆ finish() [2/3]

template<typename Reader , typename TokenKind = void, typename MemoryResource = void>
parse_tree&& lexy::parse_tree< Reader, TokenKind, MemoryResource >::builder::finish ( lexy::lexeme< Reader >  remaining_input) &&
inline

Definition at line 572 of file parse_tree.hpp.

◆ finish() [3/3]

template<typename Reader , typename TokenKind = void, typename MemoryResource = void>
parse_tree&& lexy::parse_tree< Reader, TokenKind, MemoryResource >::builder::finish ( typename Reader::iterator  end) &&
inline

Definition at line 568 of file parse_tree.hpp.

◆ finish_container()

template<typename Reader , typename TokenKind = void, typename MemoryResource = void>
void lexy::parse_tree< Reader, TokenKind, MemoryResource >::builder::finish_container ( marker &&  m)
inline

Definition at line 697 of file parse_tree.hpp.

◆ finish_production()

template<typename Reader , typename TokenKind = void, typename MemoryResource = void>
void lexy::parse_tree< Reader, TokenKind, MemoryResource >::builder::finish_production ( marker &&  m)
inline

Definition at line 612 of file parse_tree.hpp.

◆ set_container_production()

template<typename Reader , typename TokenKind = void, typename MemoryResource = void>
void lexy::parse_tree< Reader, TokenKind, MemoryResource >::builder::set_container_production ( production_info  production)
inline

Definition at line 659 of file parse_tree.hpp.

◆ start_container()

template<typename Reader , typename TokenKind = void, typename MemoryResource = void>
marker lexy::parse_tree< Reader, TokenKind, MemoryResource >::builder::start_container ( )
inline

Definition at line 640 of file parse_tree.hpp.

◆ start_production()

template<typename Reader , typename TokenKind = void, typename MemoryResource = void>
auto lexy::parse_tree< Reader, TokenKind, MemoryResource >::builder::start_production ( production_info  production)
inline

Definition at line 590 of file parse_tree.hpp.

◆ token()

template<typename Reader , typename TokenKind = void, typename MemoryResource = void>
void lexy::parse_tree< Reader, TokenKind, MemoryResource >::builder::token ( token_kind< TokenKind >  _kind,
typename Reader::iterator  begin,
typename Reader::iterator  end 
)
inline

Definition at line 724 of file parse_tree.hpp.

Member Data Documentation

◆ _cur

template<typename Reader , typename TokenKind = void, typename MemoryResource = void>
marker lexy::parse_tree< Reader, TokenKind, MemoryResource >::builder::_cur
private

Definition at line 758 of file parse_tree.hpp.

◆ _result

template<typename Reader , typename TokenKind = void, typename MemoryResource = void>
parse_tree lexy::parse_tree< Reader, TokenKind, MemoryResource >::builder::_result
private

Definition at line 757 of file parse_tree.hpp.


The documentation for this class was generated from the following file:


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Dec 13 2024 03:19:19