Class

IdeDiagnosticTool

Description

abstract class Ide.DiagnosticTool : Ide.Object
  implements Ide.DiagnosticProvider {
  /* No available fields */
}
No description available.

Hierarchy

hierarchy this IdeDiagnosticTool implements_0 IdeDiagnosticProvider this--implements_0 ancestor_0 IdeObject ancestor_0--this ancestor_1 GObject ancestor_1--ancestor_0

Ancestors

Instance methods

ide_diagnostic_tool_get_local_program_path
No description available.

ide_diagnostic_tool_get_program_name
No description available.

ide_diagnostic_tool_get_subprocess_flags
No description available.

ide_diagnostic_tool_set_local_program_path
No description available.

ide_diagnostic_tool_set_program_name
No description available.

ide_diagnostic_tool_set_subprocess_flags
No description available.

Methods inherited from IdeObject (29)

Please see IdeObject for a full list of methods.

Methods inherited from GObject (43)

Please see GObject for a full list of 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
No description available.

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:bundled-program-path
No description available.

Ide.DiagnosticTool:local-program-path
No description available.

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.

Ide.DiagnosticTool:subprocess-flags
No description available.

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)
IdeDiagnosticProvider::invalidated
No description available.

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
  );
  
}
No description available.
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.

Virtual methods

Ide.DiagnosticToolClass.can_diagnose
No description available.

Ide.DiagnosticToolClass.get_stdin_bytes
No description available.