GCC Middle and Back End API Reference
|
#include <json.h>
Data Structures | |
union | u |
Public Types | |
enum class | kind { root_value , object_member , array_index } |
Public Member Functions | |
token () | |
token (json::object &parent, const char *member) | |
token (json::array &parent, size_t index) | |
token (const token &other)=delete | |
token (token &&other)=delete | |
~token () | |
token & | operator= (const token &other)=delete |
token & | operator= (token &&other) |
Data Fields | |
json::value * | m_parent |
union json::pointer::token::u | m_data |
enum kind | m_kind |
Implementation of JSON pointer (RFC 6901).
A token within a JSON pointer, expressing the parent of a particular JSON value, and how it is descended from that parent. A JSON pointer can be built as a list of these tokens.
|
strong |
pointer::token::token | ( | ) |
class pointer::token.
References m_data, m_kind, m_parent, and root_value.
Referenced by operator=(), token(), and token().
pointer::token::token | ( | json::object & | parent, |
const char * | member ) |
References m_data, m_kind, m_parent, member, and object_member.
pointer::token::token | ( | json::array & | parent, |
size_t | index ) |
References array_index, m_data, m_kind, and m_parent.
pointer::token::~token | ( | ) |
References free(), gcc_assert, m_data, m_kind, and object_member.
pointer::token & pointer::token::operator= | ( | pointer::token && | other | ) |
References m_data, m_kind, m_parent, and root_value.
union json::pointer::token::u json::pointer::token::m_data |
Referenced by operator=(), token(), token(), token(), and ~token().
enum kind json::pointer::token::m_kind |
Referenced by operator=(), token(), token(), token(), and ~token().
json::value* json::pointer::token::m_parent |
Referenced by operator=(), token(), token(), and token().