IdeDiagnosticProvider: Builder SDK Reference

## IdeDiagnosticProvider IdeDiagnosticProvider |

## Functions

void | ide_diagnostic_provider_diagnose_async ()
IdeDiagnostics * | ide_diagnostic_provider_diagnose_finish ()
void | ide_diagnostic_provider_emit_invalidated ()
void | ide_diagnostic_provider_load ()

## Signals

void | invalidated | Run Last

## Types and Values

#define | IDE_TYPE_DIAGNOSTIC_PROVIDER
struct | IdeDiagnosticProviderInterface
| IdeDiagnosticProvider

## Object Hierarchy

        GInterface
        ╰── IdeDiagnosticProvider

## Prerequisites

IdeDiagnosticProvider requires IdeObject.

## Known Implementations

IdeDiagnosticProvider is implemented by IdeLangservDiagnosticProvider.

## Description

## Functions

### ide_diagnostic_provider_diagnose_async ()

    void
    ide_diagnostic_provider_diagnose_async
                                   (IdeDiagnosticProvider *self,
                                    IdeFile *file,
                                    IdeBuffer *buffer,
                                    GCancellable *cancellable,
                                    GAsyncReadyCallback callback,
                                    gpointer user_data);

### ide_diagnostic_provider_diagnose_finish ()

    IdeDiagnostics *
    ide_diagnostic_provider_diagnose_finish
                                   (IdeDiagnosticProvider *self,
                                    GAsyncResult *result,
                                    GError **error);

Completes an asynchronous call to `ide_diagnostic_provider_diagnose_async()`.

#### Returns

IdeDiagnostics or `NULL` and `error` is set.

[transfer full][nullable]

### ide_diagnostic_provider_emit_invalidated ()

    void
    ide_diagnostic_provider_emit_invalidated
                                   (IdeDiagnosticProvider *self);

### ide_diagnostic_provider_load ()

    void
    ide_diagnostic_provider_load (IdeDiagnosticProvider *self);

## Types and Values

### IDE_TYPE_DIAGNOSTIC_PROVIDER

    #define IDE_TYPE_DIAGNOSTIC_PROVIDER (ide_diagnostic_provider_get_type())

### struct IdeDiagnosticProviderInterface

    struct IdeDiagnosticProviderInterface {
      GTypeInterface parent_interface;

      void            (*load)            (IdeDiagnosticProvider  *self);
      void            (*diagnose_async)  (IdeDiagnosticProvider  *self,
                                          IdeFile                *file,
                                          IdeBuffer              *buffer,
                                          GCancellable           *cancellable,
                                          GAsyncReadyCallback     callback,
                                          gpointer                user_data);
      IdeDiagnostics *(*diagnose_finish) (IdeDiagnosticProvider  *self,
                                          GAsyncResult           *result,
                                          GError                **error);
    };

### IdeDiagnosticProvider

    typedef struct _IdeDiagnosticProvider IdeDiagnosticProvider;

## Signal Details

### The `“invalidated”` signal

    void
    user_function (IdeDiagnosticProvider *idediagnosticprovider,
                   gpointer               user_data)

Flags: Run Last