|
GCC Middle and Back End API Reference
|
#include <json-parsing.h>


Public Member Functions | |
| void | record_range_for_value (json::value *jv, const range &r) final override |
| const json::location_map::range & | get_range_for_value (const json::value &jv) const |
| virtual void | on_finished_parsing () |
Private Attributes | |
| std::map< const json::value *, range > | m_map_jv_to_range |
Implementation of json::location_map that records ranges to a std::map.
|
inline |
References gcc_assert, and m_map_jv_to_range.
Referenced by emit_json_diagnostic().
|
inlinevirtualinherited |
|
inlinefinaloverridevirtual |
Implements json::location_map.
References m_map_jv_to_range, and r.
|
private |
Referenced by get_range_for_value(), and record_range_for_value().