#include <parse_tree.hpp>
Public Member Functions | |
auto | as_production () noexcept |
auto | as_token () noexcept |
pt_node< Reader > * | next_node () const noexcept |
unsigned | next_role () const noexcept |
void | set_parent (pt_node_production< Reader > *parent) noexcept |
void | set_sibling (pt_node< Reader > *sibling) noexcept |
unsigned | type () const noexcept |
Static Public Attributes | |
static constexpr auto | role_parent = 0b1u |
static constexpr auto | role_sibling = 0b0u |
static constexpr auto | type_production = 0b1u |
static constexpr auto | type_token = 0b0u |
Protected Member Functions | |
pt_node (unsigned type) | |
Static Private Member Functions | |
static std::uintptr_t | _make_packed_ptr (pt_node< Reader > *ptr, unsigned type, unsigned role) |
Private Attributes | |
std::uintptr_t | _value |
Definition at line 18 of file parse_tree.hpp.
|
inlineexplicitprotected |
Definition at line 71 of file parse_tree.hpp.
|
inlinestaticprivate |
Definition at line 78 of file parse_tree.hpp.
|
inlinenoexcept |
Definition at line 44 of file parse_tree.hpp.
|
inlinenoexcept |
Definition at line 40 of file parse_tree.hpp.
|
inlinenoexcept |
Definition at line 64 of file parse_tree.hpp.
|
inlinenoexcept |
Definition at line 59 of file parse_tree.hpp.
|
inlinenoexcept |
Definition at line 54 of file parse_tree.hpp.
|
inlinenoexcept |
Definition at line 50 of file parse_tree.hpp.
|
inlinenoexcept |
Definition at line 35 of file parse_tree.hpp.
|
private |
Definition at line 92 of file parse_tree.hpp.
|
staticconstexpr |
Definition at line 32 of file parse_tree.hpp.
|
staticconstexpr |
Definition at line 31 of file parse_tree.hpp.
|
staticconstexpr |
Definition at line 29 of file parse_tree.hpp.
|
staticconstexpr |
Definition at line 28 of file parse_tree.hpp.