GCC Middle and Back End API Reference
|
#include <json.h>
Public Member Functions | |
virtual | ~value () |
virtual enum kind | get_kind () const =0 |
virtual void | print (pretty_printer *pp, bool formatted) const =0 |
void | dump (FILE *, bool formatted) const |
Base class of JSON value.
|
inlinevirtual |
class json::value.
Dump this json::value tree to OUTF. The key/value pairs of json::objects are printed in the order in which the keys were originally inserted.
References ggc_alloc(), pp_buffer, pp_flush(), and print().
Referenced by json_output_format::flush_to_file(), and generate_results().
Implemented in json::object, json::array, json::float_number, json::integer_number, json::string, and json::literal.
|
pure virtual |
Implemented in json::object, json::array, json::float_number, json::integer_number, json::string, and json::literal.
Referenced by dump(), json::object::print(), and json::array::print().