Class
IdeDiagnosticTool
Instance methods
Methods inherited from IdeDiagnosticProvider (5)
ide_diagnostic_provider_diagnose_async
Requests the provider diagnose file
using contents
as the contents of
the file.
ide_diagnostic_provider_diagnose_finish
Completes an asynchronous request to diagnose a file.
ide_diagnostic_provider_emit_invalidated
ide_diagnostic_provider_load
Loads the provider, discovering any necessary resources.
ide_diagnostic_provider_unload
Unloads the provider and any allocated resources.
Properties
Ide.DiagnosticTool:program-name
The “program-name” property contains the name of the executable to locate within the build container, host system, or within Builder’s own runtime container.
Properties inherited from IdeObject (2)
Ide.Object:cancellable
The “cancellable” property is a GCancellable
that can be used by operations
that will be cancelled when the IdeObject::destroy
signal is emitted on self
.
Ide.Object:parent
The parent IdeObject
, if any.
Signals
Signals inherited from IdeObject (1)
IdeObject::destroy
The “destroy” signal is emitted when the object should destroy itself and cleanup any state that is no longer necessary. This happens when the object has been removed from the because it was requested to be destroyed, or because a parent object is being destroyed.
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Signals inherited from IdeDiagnosticProvider (1)
Class structure
struct IdeDiagnosticToolClass {
IdeObjectClass parent_class;
gboolean (* can_diagnose) (
IdeDiagnosticTool* self,
GFile* file,
GBytes* contents,
const char* language_id
);
GBytes* (* get_stdin_bytes) (
IdeDiagnosticTool* self,
GFile* file,
GBytes* contents,
const char* language_id
);
void (* populate_diagnostics) (
IdeDiagnosticTool* self,
IdeDiagnostics* diagnostics,
GFile* file,
const char* stdout_buf,
const char* stderr_buf
);
gboolean (* prepare_run_context) (
IdeDiagnosticTool* self,
IdeRunContext* run_context,
GFile* file,
GBytes* contents,
const char* language_id,
GError** error
);
}
Class members
parent_class: IdeObjectClass
- No description available.
can_diagnose: gboolean (* can_diagnose) ( IdeDiagnosticTool* self, GFile* file, GBytes* contents, const char* language_id )
- No description available.
get_stdin_bytes: GBytes* (* get_stdin_bytes) ( IdeDiagnosticTool* self, GFile* file, GBytes* contents, const char* language_id )
- No description available.
populate_diagnostics: void (* populate_diagnostics) ( IdeDiagnosticTool* self, IdeDiagnostics* diagnostics, GFile* file, const char* stdout_buf, const char* stderr_buf )
- No description available.
prepare_run_context: gboolean (* prepare_run_context) ( IdeDiagnosticTool* self, IdeRunContext* run_context, GFile* file, GBytes* contents, const char* language_id, GError** error )
- No description available.