18#include <initializer_list>
102 expect(TAstNode::type());
Utilities for directly dealing with a JSON AST.
Represents an entry in a JSON AST.
An adapter for enumeration types.
Represents the index of a parsed AST.
Configuration for various parsing options.
Represents an exact path in some JSON structure.
A reader instance reads from some form of JSON source (probably a string) and converts it into a JSON...
reader(const value *value)
Create a reader which reads from an in-memory value.
bool next_token() noexcept
Go to the next token.
reader(string_view source)
reader(parse_index index)
Create a reader which reads from the given index.
const path & current_path() const
Get the path to the current node this reader is pointing at.
Represents a single JSON value, which can be any one of a potential kind, each behaving slightly diff...
Copyright (c) 2014-2020 by Travis Gockel.
#define JSONV_PUBLIC
This function or class is part of the public API for JSON Voorhees.
ast_node_type
Marker type for an encountered token type.
Pulls in an implementation of string_view.
std::string_view string_view
A non-owning reference to a string.