GCC Middle and Back End API Reference
|
#include <json.h>
Public Member Functions | |
literal (enum kind kind) | |
literal (bool value) | |
enum kind | get_kind () const final override |
void | print (pretty_printer *pp, bool formatted) const final override |
void | dump (FILE *, bool formatted) const |
void DEBUG_FUNCTION | dump () const |
Private Attributes | |
enum kind | m_kind |
Subclass of value for the three JSON literals "true", "false", and "null".
|
inline |
References json::JSON_FALSE, json::JSON_TRUE, and m_kind.
|
inherited |
|
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 print().
Referenced by generate_results().
|
inlinefinaloverridevirtual |
Implements json::value.
|
finaloverridevirtual |
class json::literal, a subclass of json::value.
Implementation of json::value::print for json::literal.
Implements json::value.
References gcc_unreachable, json::JSON_FALSE, json::JSON_NULL, json::JSON_TRUE, m_kind, and pp_string().
|
private |
Referenced by get_kind(), literal(), literal(), and print().