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

#include <parse_tree.hpp>

Public Member Functions

bool is_production () const noexcept
 
bool is_root () const noexcept
 
bool is_token () const noexcept
 
bool is_token_production () const noexcept
 
const char * name () const noexcept
 

Private Member Functions

 _pt_node_kind (_detail::pt_node< Reader > *ptr)
 

Private Attributes

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

Friends

bool operator!= (_pt_node_kind lhs, _pt_node_kind rhs)
 
bool operator!= (_pt_node_kind nk, production_info info)
 
bool operator!= (_pt_node_kind nk, token_kind< TokenKind > tk)
 
bool operator!= (production_info info, _pt_node_kind nk)
 
bool operator!= (token_kind< TokenKind > tk, _pt_node_kind nk)
 
bool operator== (_pt_node_kind lhs, _pt_node_kind rhs)
 
bool operator== (_pt_node_kind nk, production_info info)
 
bool operator== (_pt_node_kind nk, token_kind< TokenKind > tk)
 
bool operator== (production_info info, _pt_node_kind nk)
 
bool operator== (token_kind< TokenKind > tk, _pt_node_kind nk)
 

Detailed Description

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

Definition at line 339 of file parse_tree.hpp.

Constructor & Destructor Documentation

◆ _pt_node_kind()

template<typename Reader , typename TokenKind >
lexy::_pt_node_kind< Reader, TokenKind >::_pt_node_kind ( _detail::pt_node< Reader > *  ptr)
inlineexplicitprivate

Definition at line 849 of file parse_tree.hpp.

Member Function Documentation

◆ is_production()

template<typename Reader , typename TokenKind >
bool lexy::_pt_node_kind< Reader, TokenKind >::is_production ( ) const
inlinenoexcept

Definition at line 769 of file parse_tree.hpp.

◆ is_root()

template<typename Reader , typename TokenKind >
bool lexy::_pt_node_kind< Reader, TokenKind >::is_root ( ) const
inlinenoexcept

Definition at line 774 of file parse_tree.hpp.

◆ is_token()

template<typename Reader , typename TokenKind >
bool lexy::_pt_node_kind< Reader, TokenKind >::is_token ( ) const
inlinenoexcept

Definition at line 765 of file parse_tree.hpp.

◆ is_token_production()

template<typename Reader , typename TokenKind >
bool lexy::_pt_node_kind< Reader, TokenKind >::is_token_production ( ) const
inlinenoexcept

Definition at line 781 of file parse_tree.hpp.

◆ name()

template<typename Reader , typename TokenKind >
const char* lexy::_pt_node_kind< Reader, TokenKind >::name ( ) const
inlinenoexcept

Definition at line 786 of file parse_tree.hpp.

Friends And Related Function Documentation

◆ operator!= [1/5]

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

Definition at line 806 of file parse_tree.hpp.

◆ operator!= [2/5]

template<typename Reader , typename TokenKind >
bool operator!= ( _pt_node_kind< Reader, TokenKind >  nk,
production_info  info 
)
friend

Definition at line 839 of file parse_tree.hpp.

◆ operator!= [3/5]

template<typename Reader , typename TokenKind >
bool operator!= ( _pt_node_kind< Reader, TokenKind >  nk,
token_kind< TokenKind >  tk 
)
friend

Definition at line 822 of file parse_tree.hpp.

◆ operator!= [4/5]

template<typename Reader , typename TokenKind >
bool operator!= ( production_info  info,
_pt_node_kind< Reader, TokenKind >  nk 
)
friend

Definition at line 843 of file parse_tree.hpp.

◆ operator!= [5/5]

template<typename Reader , typename TokenKind >
bool operator!= ( token_kind< TokenKind >  tk,
_pt_node_kind< Reader, TokenKind >  nk 
)
friend

Definition at line 826 of file parse_tree.hpp.

◆ operator== [1/5]

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

Definition at line 799 of file parse_tree.hpp.

◆ operator== [2/5]

template<typename Reader , typename TokenKind >
bool operator== ( _pt_node_kind< Reader, TokenKind >  nk,
production_info  info 
)
friend

Definition at line 831 of file parse_tree.hpp.

◆ operator== [3/5]

template<typename Reader , typename TokenKind >
bool operator== ( _pt_node_kind< Reader, TokenKind >  nk,
token_kind< TokenKind >  tk 
)
friend

Definition at line 811 of file parse_tree.hpp.

◆ operator== [4/5]

template<typename Reader , typename TokenKind >
bool operator== ( production_info  info,
_pt_node_kind< Reader, TokenKind >  nk 
)
friend

Definition at line 835 of file parse_tree.hpp.

◆ operator== [5/5]

template<typename Reader , typename TokenKind >
bool operator== ( token_kind< TokenKind >  tk,
_pt_node_kind< Reader, TokenKind >  nk 
)
friend

Definition at line 818 of file parse_tree.hpp.

Member Data Documentation

◆ _pt_node< Reader, TokenKind >

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

Definition at line 853 of file parse_tree.hpp.

◆ _ptr

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

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