#include <literal.hpp>
Public Types | |
using | char_type = typename Encoding::char_type |
using | encoding = Encoding |
template<typename Reader > | |
using | reader = CaseFolding< Reader > |
Public Member Functions | |
template<typename CharT > | |
LEXY_CONSTEVAL std::size_t | insert (std::size_t from, CharT _c) |
template<typename CharT , CharT... C> | |
LEXY_CONSTEVAL std::size_t | insert (std::size_t pos, type_string< CharT, C... >) |
LEXY_CONSTEVAL | lit_trie () |
LEXY_CONSTEVAL auto | node_transitions (std::size_t node) const |
Public Attributes | |
std::size_t | node_char_class [max_node_count] |
std::size_t | node_count |
std::size_t | node_value [max_node_count] |
char_type | transition_char [max_transition_count] |
std::size_t | transition_from [max_transition_count] |
std::size_t | transition_to [max_transition_count] |
Static Public Attributes | |
static constexpr auto | max_node_count = MaxCharCount + 1 |
static constexpr auto | max_transition_count = max_node_count == 1 ? 1 : max_node_count - 1 |
static constexpr auto | node_no_match = std::size_t(-1) |
Definition at line 68 of file literal.hpp.
using lexy::_detail::lit_trie< Encoding, CaseFolding, MaxCharCount, CharClasses >::char_type = typename Encoding::char_type |
Definition at line 71 of file literal.hpp.
using lexy::_detail::lit_trie< Encoding, CaseFolding, MaxCharCount, CharClasses >::encoding = Encoding |
Definition at line 70 of file literal.hpp.
using lexy::_detail::lit_trie< Encoding, CaseFolding, MaxCharCount, CharClasses >::reader = CaseFolding<Reader> |
Definition at line 74 of file literal.hpp.
|
inline |
Definition at line 91 of file literal.hpp.
|
inline |
Definition at line 100 of file literal.hpp.
|
inline |
Definition at line 128 of file literal.hpp.
|
inline |
Definition at line 133 of file literal.hpp.
|
staticconstexpr |
Definition at line 76 of file literal.hpp.
|
staticconstexpr |
Definition at line 78 of file literal.hpp.
std::size_t lexy::_detail::lit_trie< Encoding, CaseFolding, MaxCharCount, CharClasses >::node_char_class[max_node_count] |
Definition at line 85 of file literal.hpp.
std::size_t lexy::_detail::lit_trie< Encoding, CaseFolding, MaxCharCount, CharClasses >::node_count |
Definition at line 81 of file literal.hpp.
|
staticconstexpr |
Definition at line 79 of file literal.hpp.
std::size_t lexy::_detail::lit_trie< Encoding, CaseFolding, MaxCharCount, CharClasses >::node_value[max_node_count] |
Definition at line 82 of file literal.hpp.
char_type lexy::_detail::lit_trie< Encoding, CaseFolding, MaxCharCount, CharClasses >::transition_char[max_transition_count] |
Definition at line 87 of file literal.hpp.
std::size_t lexy::_detail::lit_trie< Encoding, CaseFolding, MaxCharCount, CharClasses >::transition_from[max_transition_count] |
Definition at line 88 of file literal.hpp.
std::size_t lexy::_detail::lit_trie< Encoding, CaseFolding, MaxCharCount, CharClasses >::transition_to[max_transition_count] |
Definition at line 89 of file literal.hpp.