GCC Middle and Back End API Reference
json::value Class Referenceabstract

#include <json.h>

Inheritance diagram for json::value:

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
 

Detailed Description

Base class of JSON value.   

Constructor & Destructor Documentation

◆ ~value()

virtual json::value::~value ( )
inlinevirtual

Member Function Documentation

◆ dump()

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 ggc_alloc(), pp_buffer, pp_flush(), and print().

Referenced by json_output_format::flush_to_file(), and generate_results().

◆ get_kind()

virtual enum kind json::value::get_kind ( ) const
pure virtual

◆ print()

virtual void json::value::print ( pretty_printer * pp,
bool formatted ) const
pure virtual

The documentation for this class was generated from the following files: