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 |
void DEBUG_FUNCTION | dump () const |
Base class of JSON value.
|
inlinevirtual |
void value::dump | ( | ) | const |
void value::dump | ( | FILE * | outf, |
bool | formatted ) const |
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 output_buffer::m_stream, pp_buffer(), pp_flush(), and print().
Referenced by generate_results().
|
pure virtual |
Implemented in json::array, json::float_number, json::integer_number, json::literal, json::object, and json::string.
Referenced by sarif_object::get_or_create_properties().
|
pure virtual |
Implemented in json::array, json::float_number, json::integer_number, json::literal, json::object, and json::string.
Referenced by dump(), json::array::print(), and json::object::print().