GCC Middle and Back End API Reference
|
#include <json.h>
Public Member Functions | |
integer_number (long value) | |
enum kind | get_kind () const final override |
void | print (pretty_printer *pp, bool formatted) const final override |
long | get () const |
void | dump (FILE *, bool formatted) const |
Private Attributes | |
long | m_value |
Subclass of value for integer-valued numbers.
|
inline |
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 json::value::print().
Referenced by json_output_format::flush_to_file(), and generate_results().
Implements json::value.
References json::JSON_INTEGER.
|
finaloverridevirtual |
class json::integer_number, a subclass of json::value, wrapping a long.
Implementation of json::value::print for json::integer_number.
Implements json::value.
References ggc_alloc(), m_value, and pp_string().