Class

IdeDiagnostic

Description

class Ide.Diagnostic : Ide.Object {
  parent_instance: IdeObject
}
No description available.

Ancestors

Constructors

ide_diagnostic_new
No description available.
ide_diagnostic_new_from_variant

Creates a new GVariant using the data contained in variant.

Available since: 3.32

Instance methods

ide_diagnostic_add_fixit

Adds a source fixit to the diagnostic.

Available since: 3.32

ide_diagnostic_add_range

Adds a source range to the diagnostic.

Available since: 3.32

ide_diagnostic_compare
No description available.
ide_diagnostic_get_file

Gets the file containing the diagnostic, if any.

Available since: 3.32

ide_diagnostic_get_fixit

Gets the fixit denoted by index. This value should be less than the value returned from ide_diagnostic_get_n_fixits().

Available since: 3.32

ide_diagnostic_get_location

Gets the location of the diagnostic.

Available since: 3.32

ide_diagnostic_get_n_fixits
No description available.
ide_diagnostic_get_n_ranges
No description available.
ide_diagnostic_get_range

Retrieves the range found at index. It is a programming error to call this function with a value greater or equal to ide_diagnostic_get_n_ranges().

Available since: 3.32

ide_diagnostic_get_severity
No description available.
ide_diagnostic_get_text
No description available.
ide_diagnostic_get_text_for_display

This creates a new string that is formatted using the diagnostics line number, column, severity, and message text in the format “line:column: severity: message”.

Available since: 3.32

ide_diagnostic_hash
No description available.
ide_diagnostic_take_fixit

Adds a source fixit to the diagnostic, but does not increment the reference count of fixit.

Available since: 3.32

ide_diagnostic_take_range

Adds a source range to the diagnostic, but does not increment the reference count of range.

Available since: 3.32

ide_diagnostic_to_variant

Creates a GVariant to represent the diagnostic. This can be useful when working in subprocesses to serialize the diagnostic.

Available since: 3.32

Methods inherited from IdeObject (28)
ide_object_add

Adds child to self, with location dependent on location.

Available since: 3.32

ide_object_append

Inserts child as the last child of self.

Available since: 3.32

ide_object_destroy
No description available.
ide_object_ensure_child_typed

Like ide_object_get_child_typed() except that it creates an object of type if it is missing.

Available since: 3.32

ide_object_foreach

Calls callback for each child of self.

Available since: 3.32

ide_object_get_child_typed

Finds the first child of self that is of type.

Available since: 3.32

ide_object_get_children_typed

Gets all children matching type.

Available since: 3.32

ide_object_get_context

Gets the IdeContext for the object.

Available since: 3.32

ide_object_get_n_children

Gets the number of children for an object.

Available since: 3.32

ide_object_get_nth_child

Gets the nth child of self.

Available since: 3.32

ide_object_get_parent

Gets the parent IdeObject, if any.

Available since: 3.32

ide_object_get_position

Gets the position of self within the parent node.

Available since: 3.32

ide_object_in_destruction
No description available.
ide_object_insert_after

Inserts child into selfs children, directly after sibling.

Available since: 3.32

ide_object_insert_before

Inserts child into selfs children, directly before sibling.

Available since: 3.32

ide_object_insert_sorted

Locates the proper sibling for child by using func amongst selfs children IdeObject. Those objects must already be sorted.

Available since: 3.32

ide_object_is_root

Checks if self is root, meaning it has no parent.

Available since: 3.32

ide_object_lock

Acquires the lock for self. This can be useful when you need to do multi-threaded work with self and want to ensure exclusivity.

Available since: 3.32

ide_object_prepend

Inserts child as the first child of self.

Available since: 3.32

ide_object_ref_cancellable

Gets a GCancellable for the object.

Available since: 3.32

ide_object_ref_context

Gets the root IdeContext for the object, if any.

Available since: 3.32

ide_object_ref_parent

Gets the parent IdeObject, if any.

Available since: 3.32

ide_object_ref_root

Finds and returns the toplevel object in the tree.

Available since: 3.32

Properties

Ide.Diagnostic:display-text
No description available.
Ide.Diagnostic:location
No description available.
Ide.Diagnostic:severity
No description available.
Ide.Diagnostic:text
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.

Available since: 3.32

Ide.Object:parent

The parent IdeObject, if any.

Available since: 3.32

Class structure

struct IdeDiagnosticClass {
  IdeObjectClass parent_class;
  
}
Class members
parent_class
IdeObjectClass
  No description available.