#include <parse_tree.hpp>
Classes | |
struct | block |
Public Member Functions | |
template<typename T , typename... Args> | |
T * | allocate (Args &&... args) |
pt_buffer & | operator= (pt_buffer &&other) noexcept |
constexpr | pt_buffer (MemoryResource *resource) noexcept |
pt_buffer (pt_buffer &&other) noexcept | |
void | reserve (std::size_t size) |
void | reset () |
void * | top () |
void | unwind (void *marker) noexcept |
~pt_buffer () noexcept | |
Private Types | |
using | resource_ptr = _detail::memory_resource_ptr< MemoryResource > |
Private Member Functions | |
std::size_t | remaining_capacity () const noexcept |
Private Attributes | |
block * | _cur_block |
unsigned char * | _cur_pos |
block * | _head |
LEXY_EMPTY_MEMBER resource_ptr | _resource |
Static Private Attributes | |
static constexpr std::size_t | block_size = 4096 - sizeof(void*) |
Definition at line 196 of file parse_tree.hpp.
|
private |
Definition at line 198 of file parse_tree.hpp.
|
inlineexplicitconstexprnoexcept |
Definition at line 230 of file parse_tree.hpp.
|
inlinenoexcept |
Definition at line 234 of file parse_tree.hpp.
|
inlinenoexcept |
Definition at line 242 of file parse_tree.hpp.
|
inline |
Definition at line 285 of file parse_tree.hpp.
|
inlinenoexcept |
Definition at line 249 of file parse_tree.hpp.
|
inlineprivatenoexcept |
Definition at line 322 of file parse_tree.hpp.
|
inline |
Definition at line 273 of file parse_tree.hpp.
|
inline |
Definition at line 264 of file parse_tree.hpp.
|
inline |
Definition at line 298 of file parse_tree.hpp.
|
inlinenoexcept |
Definition at line 303 of file parse_tree.hpp.
|
private |
Definition at line 330 of file parse_tree.hpp.
|
private |
Definition at line 331 of file parse_tree.hpp.
|
private |
Definition at line 328 of file parse_tree.hpp.
|
private |
Definition at line 327 of file parse_tree.hpp.
|
staticconstexprprivate |
Definition at line 200 of file parse_tree.hpp.