Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
lexy_ext::parse_tree_desc< TokenKind > Class Template Reference

#include <parse_tree_doctest.hpp>

Public Member Functions

template<typename CharT >
parse_tree_descdigits (const CharT *spelling)
 
parse_tree_desceof ()
 
parse_tree_descfinish ()
 
template<typename CharT >
parse_tree_descliteral (const CharT *spelling)
 
 parse_tree_desc ()
 
 parse_tree_desc (const char *root_name)
 
template<typename RootProduction , typename = lexy::production_rule<RootProduction>>
 parse_tree_desc (RootProduction)
 
parse_tree_descproduction (const char *name)
 
template<typename Production , typename = lexy::production_rule<Production>>
parse_tree_descproduction (Production)
 
template<typename CharT >
parse_tree_desctoken (const CharT *spelling)
 
template<typename CharT >
parse_tree_desctoken (lexy::token_kind< TokenKind > kind, const CharT *spelling)
 
template<typename Iterator >
parse_tree_desctoken (lexy::token_kind< TokenKind > kind, Iterator begin, Iterator end)
 
template<typename CharT >
parse_tree_descwhitespace (const CharT *spelling)
 

Private Member Functions

void prefix ()
 

Private Attributes

int _level
 
doctest::String _tree
 

Friends

template<typename Reader , typename MemoryResource >
bool operator== (const lexy::parse_tree< Reader, TokenKind, MemoryResource > &tree, const parse_tree_desc &desc)
 
template<typename Reader , typename MemoryResource >
bool operator== (const parse_tree_desc &desc, const lexy::parse_tree< Reader, TokenKind, MemoryResource > &tree)
 
doctest::String toString (const parse_tree_desc &expected)
 

Detailed Description

template<typename TokenKind = void>
class lexy_ext::parse_tree_desc< TokenKind >

Definition at line 15 of file parse_tree_doctest.hpp.

Constructor & Destructor Documentation

◆ parse_tree_desc() [1/3]

template<typename TokenKind = void>
lexy_ext::parse_tree_desc< TokenKind >::parse_tree_desc ( )
inline

Definition at line 18 of file parse_tree_doctest.hpp.

◆ parse_tree_desc() [2/3]

template<typename TokenKind = void>
lexy_ext::parse_tree_desc< TokenKind >::parse_tree_desc ( const char *  root_name)
inline

Definition at line 23 of file parse_tree_doctest.hpp.

◆ parse_tree_desc() [3/3]

template<typename TokenKind = void>
template<typename RootProduction , typename = lexy::production_rule<RootProduction>>
lexy_ext::parse_tree_desc< TokenKind >::parse_tree_desc ( RootProduction  )
inline

Definition at line 28 of file parse_tree_doctest.hpp.

Member Function Documentation

◆ digits()

template<typename TokenKind = void>
template<typename CharT >
parse_tree_desc& lexy_ext::parse_tree_desc< TokenKind >::digits ( const CharT *  spelling)
inline

Definition at line 82 of file parse_tree_doctest.hpp.

◆ eof()

template<typename TokenKind = void>
parse_tree_desc& lexy_ext::parse_tree_desc< TokenKind >::eof ( )
inline

Definition at line 92 of file parse_tree_doctest.hpp.

◆ finish()

template<typename TokenKind = void>
parse_tree_desc& lexy_ext::parse_tree_desc< TokenKind >::finish ( )
inline

Definition at line 113 of file parse_tree_doctest.hpp.

◆ literal()

template<typename TokenKind = void>
template<typename CharT >
parse_tree_desc& lexy_ext::parse_tree_desc< TokenKind >::literal ( const CharT *  spelling)
inline

Definition at line 77 of file parse_tree_doctest.hpp.

◆ prefix()

template<typename TokenKind = void>
void lexy_ext::parse_tree_desc< TokenKind >::prefix ( )
inlineprivate

Definition at line 142 of file parse_tree_doctest.hpp.

◆ production() [1/2]

template<typename TokenKind = void>
parse_tree_desc& lexy_ext::parse_tree_desc< TokenKind >::production ( const char *  name)
inline

Definition at line 97 of file parse_tree_doctest.hpp.

◆ production() [2/2]

template<typename TokenKind = void>
template<typename Production , typename = lexy::production_rule<Production>>
parse_tree_desc& lexy_ext::parse_tree_desc< TokenKind >::production ( Production  )
inline

Definition at line 108 of file parse_tree_doctest.hpp.

◆ token() [1/3]

template<typename TokenKind = void>
template<typename CharT >
parse_tree_desc& lexy_ext::parse_tree_desc< TokenKind >::token ( const CharT *  spelling)
inline

Definition at line 72 of file parse_tree_doctest.hpp.

◆ token() [2/3]

template<typename TokenKind = void>
template<typename CharT >
parse_tree_desc& lexy_ext::parse_tree_desc< TokenKind >::token ( lexy::token_kind< TokenKind >  kind,
const CharT *  spelling 
)
inline

Definition at line 63 of file parse_tree_doctest.hpp.

◆ token() [3/3]

template<typename TokenKind = void>
template<typename Iterator >
parse_tree_desc& lexy_ext::parse_tree_desc< TokenKind >::token ( lexy::token_kind< TokenKind >  kind,
Iterator  begin,
Iterator  end 
)
inline

Definition at line 32 of file parse_tree_doctest.hpp.

◆ whitespace()

template<typename TokenKind = void>
template<typename CharT >
parse_tree_desc& lexy_ext::parse_tree_desc< TokenKind >::whitespace ( const CharT *  spelling)
inline

Definition at line 87 of file parse_tree_doctest.hpp.

Friends And Related Function Documentation

◆ operator== [1/2]

template<typename TokenKind = void>
template<typename Reader , typename MemoryResource >
bool operator== ( const lexy::parse_tree< Reader, TokenKind, MemoryResource > &  tree,
const parse_tree_desc< TokenKind > &  desc 
)
friend

Definition at line 133 of file parse_tree_doctest.hpp.

◆ operator== [2/2]

template<typename TokenKind = void>
template<typename Reader , typename MemoryResource >
bool operator== ( const parse_tree_desc< TokenKind > &  desc,
const lexy::parse_tree< Reader, TokenKind, MemoryResource > &  tree 
)
friend

Definition at line 125 of file parse_tree_doctest.hpp.

◆ toString

template<typename TokenKind = void>
doctest::String toString ( const parse_tree_desc< TokenKind > &  expected)
friend

Definition at line 119 of file parse_tree_doctest.hpp.

Member Data Documentation

◆ _level

template<typename TokenKind = void>
int lexy_ext::parse_tree_desc< TokenKind >::_level
private

Definition at line 157 of file parse_tree_doctest.hpp.

◆ _tree

template<typename TokenKind = void>
doctest::String lexy_ext::parse_tree_desc< TokenKind >::_tree
private

Definition at line 156 of file parse_tree_doctest.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