#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 24 of file parse_tree.hpp.
|
inlineexplicitprotected |
Definition at line 77 of file parse_tree.hpp.
|
inlinestaticprivate |
Definition at line 84 of file parse_tree.hpp.
|
inlinenoexcept |
Definition at line 50 of file parse_tree.hpp.
|
inlinenoexcept |
Definition at line 46 of file parse_tree.hpp.
|
inlinenoexcept |
Definition at line 70 of file parse_tree.hpp.
|
inlinenoexcept |
Definition at line 65 of file parse_tree.hpp.
|
inlinenoexcept |
Definition at line 60 of file parse_tree.hpp.
|
inlinenoexcept |
Definition at line 56 of file parse_tree.hpp.
|
inlinenoexcept |
Definition at line 41 of file parse_tree.hpp.
|
private |
Definition at line 98 of file parse_tree.hpp.
|
staticconstexpr |
Definition at line 38 of file parse_tree.hpp.
|
staticconstexpr |
Definition at line 37 of file parse_tree.hpp.
|
staticconstexpr |
Definition at line 35 of file parse_tree.hpp.
|
staticconstexpr |
Definition at line 34 of file parse_tree.hpp.