GCC Middle and Back End API Reference
|
#include <json.h>
Public Member Functions | |
float_number (double value) | |
enum kind | get_kind () const final override |
void | print (pretty_printer *pp, bool formatted) const final override |
double | get () const |
void | dump (FILE *, bool formatted) const |
void DEBUG_FUNCTION | dump () const |
Private Attributes | |
double | m_value |
Subclass of value for floating-point numbers.
|
inline |
|
inherited |
A convenience function for debugging. Dump to stderr with formatting, and a trailing newline.
References json::value::dump().
Referenced by json::value::dump().
|
inherited |
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 json::value::print().
Referenced by generate_results().
|
inline |
References m_value.
|
inlinefinaloverridevirtual |
Implements json::value.
References json::JSON_FLOAT.
|
finaloverridevirtual |
class json::float_number, a subclass of json::value, wrapping a double.
Implementation of json::value::print for json::float_number.
Implements json::value.
References m_value, and pp_string().