Classes | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
lexy::_pt_node< Reader, TokenKind > Class Template Reference

#include <parse_tree.hpp>

Classes

class  children_range
 
class  sibling_range
 

Public Member Functions

void * address () const noexcept
 
auto children () const noexcept
 
auto covering_lexeme () const noexcept
 
bool is_last_child () const noexcept
 
auto kind () const noexcept
 
auto lexeme () const noexcept
 
auto parent () const noexcept
 
auto position () const noexcept -> typename Reader::iterator
 
auto siblings () const noexcept
 
auto token () const noexcept
 

Private Member Functions

 _pt_node (_detail::pt_node< Reader > *ptr) noexcept
 

Private Attributes

_detail::pt_node< Reader > * _ptr
 
friend parse_tree< Reader, TokenKind >
 
friend parse_tree_input_traits< _pt_node< Reader, TokenKind > >
 

Friends

bool operator!= (_pt_node lhs, _pt_node rhs) noexcept
 
bool operator== (_pt_node lhs, _pt_node rhs) noexcept
 

Detailed Description

template<typename Reader, typename TokenKind>
class lexy::_pt_node< Reader, TokenKind >

Definition at line 341 of file parse_tree.hpp.

Constructor & Destructor Documentation

◆ _pt_node()

template<typename Reader , typename TokenKind >
lexy::_pt_node< Reader, TokenKind >::_pt_node ( _detail::pt_node< Reader > *  ptr)
inlineexplicitprivatenoexcept

Definition at line 1091 of file parse_tree.hpp.

Member Function Documentation

◆ address()

template<typename Reader , typename TokenKind >
void* lexy::_pt_node< Reader, TokenKind >::address ( ) const
inlinenoexcept

Definition at line 860 of file parse_tree.hpp.

◆ children()

template<typename Reader , typename TokenKind >
auto lexy::_pt_node< Reader, TokenKind >::children ( ) const
inlinenoexcept

Definition at line 952 of file parse_tree.hpp.

◆ covering_lexeme()

template<typename Reader , typename TokenKind >
auto lexy::_pt_node< Reader, TokenKind >::covering_lexeme ( ) const
inlinenoexcept

Definition at line 1050 of file parse_tree.hpp.

◆ is_last_child()

template<typename Reader , typename TokenKind >
bool lexy::_pt_node< Reader, TokenKind >::is_last_child ( ) const
inlinenoexcept

Definition at line 1023 of file parse_tree.hpp.

◆ kind()

template<typename Reader , typename TokenKind >
auto lexy::_pt_node< Reader, TokenKind >::kind ( ) const
inlinenoexcept

Definition at line 865 of file parse_tree.hpp.

◆ lexeme()

template<typename Reader , typename TokenKind >
auto lexy::_pt_node< Reader, TokenKind >::lexeme ( ) const
inlinenoexcept

Definition at line 1042 of file parse_tree.hpp.

◆ parent()

template<typename Reader , typename TokenKind >
auto lexy::_pt_node< Reader, TokenKind >::parent ( ) const
inlinenoexcept

Definition at line 870 of file parse_tree.hpp.

◆ position()

template<typename Reader , typename TokenKind >
auto lexy::_pt_node< Reader, TokenKind >::position ( ) const -> typename Reader::iterator
inlinenoexcept

Definition at line 1029 of file parse_tree.hpp.

◆ siblings()

template<typename Reader , typename TokenKind >
auto lexy::_pt_node< Reader, TokenKind >::siblings ( ) const
inlinenoexcept

Definition at line 1018 of file parse_tree.hpp.

◆ token()

template<typename Reader , typename TokenKind >
auto lexy::_pt_node< Reader, TokenKind >::token ( ) const
inlinenoexcept

Definition at line 1072 of file parse_tree.hpp.

Friends And Related Function Documentation

◆ operator!=

template<typename Reader , typename TokenKind >
bool operator!= ( _pt_node< Reader, TokenKind >  lhs,
_pt_node< Reader, TokenKind >  rhs 
)
friend

Definition at line 1085 of file parse_tree.hpp.

◆ operator==

template<typename Reader , typename TokenKind >
bool operator== ( _pt_node< Reader, TokenKind >  lhs,
_pt_node< Reader, TokenKind >  rhs 
)
friend

Definition at line 1081 of file parse_tree.hpp.

Member Data Documentation

◆ _ptr

template<typename Reader , typename TokenKind >
_detail::pt_node<Reader>* lexy::_pt_node< Reader, TokenKind >::_ptr
private

Definition at line 1093 of file parse_tree.hpp.

◆ parse_tree< Reader, TokenKind >

template<typename Reader , typename TokenKind >
friend lexy::_pt_node< Reader, TokenKind >::parse_tree< Reader, TokenKind >
private

Definition at line 1095 of file parse_tree.hpp.

◆ parse_tree_input_traits< _pt_node< Reader, TokenKind > >

template<typename Reader , typename TokenKind >
friend lexy::_pt_node< Reader, TokenKind >::parse_tree_input_traits< _pt_node< Reader, TokenKind > >
private

Definition at line 1096 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