#include <parse_tree_doctest.hpp>
Public Member Functions | |
template<typename CharT > | |
parse_tree_desc & | digits (const CharT *spelling) |
parse_tree_desc & | eof () |
parse_tree_desc & | finish () |
template<typename CharT > | |
parse_tree_desc & | literal (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_desc & | production (const char *name) |
template<typename Production , typename = lexy::production_rule<Production>> | |
parse_tree_desc & | production (Production) |
template<typename CharT > | |
parse_tree_desc & | token (const CharT *spelling) |
template<typename CharT > | |
parse_tree_desc & | token (lexy::token_kind< TokenKind > kind, const CharT *spelling) |
template<typename Iterator > | |
parse_tree_desc & | token (lexy::token_kind< TokenKind > kind, Iterator begin, Iterator end) |
template<typename CharT > | |
parse_tree_desc & | whitespace (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) |
Definition at line 15 of file parse_tree_doctest.hpp.
|
inline |
Definition at line 18 of file parse_tree_doctest.hpp.
|
inline |
Definition at line 23 of file parse_tree_doctest.hpp.
|
inline |
Definition at line 28 of file parse_tree_doctest.hpp.
|
inline |
Definition at line 82 of file parse_tree_doctest.hpp.
|
inline |
Definition at line 92 of file parse_tree_doctest.hpp.
|
inline |
Definition at line 113 of file parse_tree_doctest.hpp.
|
inline |
Definition at line 77 of file parse_tree_doctest.hpp.
|
inlineprivate |
Definition at line 142 of file parse_tree_doctest.hpp.
|
inline |
Definition at line 97 of file parse_tree_doctest.hpp.
|
inline |
Definition at line 108 of file parse_tree_doctest.hpp.
|
inline |
Definition at line 72 of file parse_tree_doctest.hpp.
|
inline |
Definition at line 63 of file parse_tree_doctest.hpp.
|
inline |
Definition at line 32 of file parse_tree_doctest.hpp.
|
inline |
Definition at line 87 of file parse_tree_doctest.hpp.
|
friend |
Definition at line 133 of file parse_tree_doctest.hpp.
|
friend |
Definition at line 125 of file parse_tree_doctest.hpp.
|
friend |
Definition at line 119 of file parse_tree_doctest.hpp.
|
private |
Definition at line 157 of file parse_tree_doctest.hpp.
|
private |
Definition at line 156 of file parse_tree_doctest.hpp.