|
JSON Voorhees
Killer JSON for C++
|
The beginning of an kind::object ({).
More...
#include <jsonv/ast.hpp>
Inheritance diagram for jsonv::ast_node::object_begin:
Collaboration diagram for jsonv::ast_node::object_begin:Public Member Functions | |
| constexpr | object_begin (const char *token_begin, std::size_t element_count) |
| constexpr std::size_t | element_count () const |
| Get the number of elements in the object this token starts. This is useful for reserving memory. | |
Public Member Functions inherited from jsonv::ast_node::basic_fixed_size_token< object_begin, ast_node_type::object_begin, 1U > | |
| constexpr | basic_fixed_size_token (const char *token_begin) |
| constexpr std::size_t | token_size () const |
Public Member Functions inherited from jsonv::ast_node::base< TSelf, KIndexToken > | |
| string_view | token_raw () const |
| operator ast_node () const | |
Allow implicit conversion to the more generic ast_node. | |
Additional Inherited Members | |
Static Public Member Functions inherited from jsonv::ast_node::base< TSelf, KIndexToken > | |
| static constexpr ast_node_type | type () |
Get the ast_node_type type. | |
Protected Member Functions inherited from jsonv::ast_node::base< TSelf, KIndexToken > | |
| constexpr | base (const char *token_begin) |
|
inlineconstexpr |