|
GCC Middle and Back End API Reference
|


Public Member Functions | |
| json_client_data_hooks (const json::value &js_val, const client_data_hooks *inner) | |
| const diagnostics::logical_locations::manager * | get_logical_location_manager () const override |
| diagnostics::logical_locations::key | get_current_logical_location () const override |
| const char * | maybe_get_sarif_source_language (const char *) const override |
| const client_version_info * | get_any_version_info () const override |
| void | add_sarif_invocation_properties (sarif_object &invocation_obj) const override |
| void | dump (FILE *out, int indent) const |
| void DEBUG_FUNCTION | dump () const |
Private Attributes | |
| json_logical_location_manager | m_logical_loc_mgr |
| const json::value & | m_js_val |
| const client_data_hooks * | m_inner |
Implementation of diagnostics::client_data_hooks for reporting a diagnostic at a particular json::value in a JSON input file. It wraps another hooks instance, but uses a json_logical_location_manager, has a specific json::value for the current logical location, and treats the SARIF source lang as "json".
|
inline |
|
inlineoverridevirtualinherited |
Implements diagnostics::client_data_hooks.
References m_inner.
|
inlineinherited |
References DEBUG_FUNCTION, and dump().
Referenced by dump().
|
inherited |
|
inlineoverridevirtualinherited |
Implements diagnostics::client_data_hooks.
References m_inner.
|
inlineoverridevirtual |
Reimplemented from diagnostics::client_data_hooks_decorator.
References json_logical_location_manager::key_from_js(), and m_js_val.
|
inlineoverridevirtual |
Reimplemented from diagnostics::client_data_hooks_decorator.
References m_logical_loc_mgr.
|
inlineoverridevirtual |
Reimplemented from diagnostics::client_data_hooks_decorator.
|
privateinherited |
|
private |
Referenced by get_current_logical_location(), and json_client_data_hooks().
|
private |
Referenced by get_logical_location_manager().