### Interface

# Ide CodeIndexer

#### Description

    interface Ide.CodeIndexer : Ide.Object

No description available.

#### Prerequisite

In order to implement CodeIndexer, your type must inherit from `IdeObject`.

#### Instance methods

###### ide_code_indexer_generate_key_async

This function will get key of reference located at `IdeSoureLocation`.

Available since: 3.32

###### ide_code_indexer_generate_key_finish

Returns key for declaration of reference at a location.

Available since: 3.32

###### ide_code_indexer_index_file_async

This function will take index source file and create an array of symbols in `file`. `callback` is called upon completion and must call `ide_code_indexer_index_file_finish()` to complete the operation.

Available since: 3.32

###### ide_code_indexer_index_file_finish

Completes an asynchronous request to ide_code_indexer_index_file_async().

Available since: 3.32

#### Interface structure

    struct IdeCodeIndexerInterface {
      GTypeInterface parent_iface;
      void (* generate_key_async) (
        IdeCodeIndexer* self,
        IdeLocation* location,
        const gchar* const* build_flags,
        GCancellable* cancellable,
        GAsyncReadyCallback callback,
        gpointer user_data
      );
      gchar* (* generate_key_finish) (
        IdeCodeIndexer* self,
        GAsyncResult* result,
        GError** error
      );
      void (* index_file_async) (
        IdeCodeIndexer* self,
        GFile* file,
        const gchar* const* build_flags,
        GCancellable* cancellable,
        GAsyncReadyCallback callback,
        gpointer user_data
      );
      IdeCodeIndexEntries* (* index_file_finish) (
        IdeCodeIndexer* self,
        GAsyncResult* result,
        GError** error
      );

    }

###### Interface members

`parent_iface` |
    GTypeInterface
| No description available.
`generate_key_async` |
    void (* generate_key_async) (
        IdeCodeIndexer* self,
        IdeLocation* location,
        const gchar* const* build_flags,
        GCancellable* cancellable,
        GAsyncReadyCallback callback,
        gpointer user_data
      )
| No description available.
`generate_key_finish` |
    gchar* (* generate_key_finish) (
        IdeCodeIndexer* self,
        GAsyncResult* result,
        GError** error
      )
| No description available.
`index_file_async` |
    void (* index_file_async) (
        IdeCodeIndexer* self,
        GFile* file,
        const gchar* const* build_flags,
        GCancellable* cancellable,
        GAsyncReadyCallback callback,
        gpointer user_data
      )
| No description available.
`index_file_finish` |
    IdeCodeIndexEntries* (* index_file_finish) (
        IdeCodeIndexer* self,
        GAsyncResult* result,
        GError** error
      )
| No description available.

#### Virtual methods

###### Ide.CodeIndexer.generate_key_async

This function will get key of reference located at `IdeSoureLocation`.

###### Ide.CodeIndexer.generate_key_finish

Returns key for declaration of reference at a location.

###### Ide.CodeIndexer.index_file_async

This function will take index source file and create an array of symbols in `file`. `callback` is called upon completion and must call `ide_code_indexer_index_file_finish()` to complete the operation.

###### Ide.CodeIndexer.index_file_finish

Completes an asynchronous request to ide_code_indexer_index_file_async().