Ide.SymbolResolver
Description: Reference for Ide.SymbolResolver

### Interface

# IdeSymbolResolver

#### Description

    interface Ide.SymbolResolver : Ide.Object

No description available.

#### Prerequisite

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

#### Implementations

- IdeLspSymbolResolver

#### Instance methods

###### ide_symbol_resolver_find_nearest_scope_async

This function asynchronously requests to locate the containing scope for a given source location.

Available since: 3.32

###### ide_symbol_resolver_find_nearest_scope_finish

This function completes an asynchronous operation to locate the containing scope for a given source location.

Available since: 3.32

###### ide_symbol_resolver_find_references_async

No description available.

###### ide_symbol_resolver_find_references_finish

Completes an asynchronous request to ide_symbol_resolver_find_references_async().

Available since: 3.32

###### ide_symbol_resolver_get_symbol_tree_async

Asynchronously fetch an up to date symbol tree for `file`.

Available since: 3.32

###### ide_symbol_resolver_get_symbol_tree_finish

Completes an asynchronous request to get the symbol tree for the requested file.

Available since: 3.32

###### ide_symbol_resolver_load

No description available.

###### ide_symbol_resolver_lookup_symbol_async

Asynchronously requests that `self` determine the symbol existing at the source location denoted by `self`. `callback` should call `ide_symbol_resolver_lookup_symbol_finish()` to retrieve the result.

Available since: 3.32

###### ide_symbol_resolver_lookup_symbol_finish

Completes an asynchronous call to lookup a symbol using ide_symbol_resolver_lookup_symbol_async().

Available since: 3.32

###### ide_symbol_resolver_unload

No description available.

#### Interface structure

    struct IdeSymbolResolverInterface {
      GTypeInterface parent_interface;
      void (* load) (
        IdeSymbolResolver* self
      );
      void (* unload) (
        IdeSymbolResolver* self
      );
      void (* lookup_symbol_async) (
        IdeSymbolResolver* self,
        IdeLocation* location,
        GCancellable* cancellable,
        GAsyncReadyCallback callback,
        gpointer user_data
      );
      IdeSymbol* (* lookup_symbol_finish) (
        IdeSymbolResolver* self,
        GAsyncResult* result,
        GError** error
      );
      void (* get_symbol_tree_async) (
        IdeSymbolResolver* self,
        GFile* file,
        GBytes* contents,
        GCancellable* cancellable,
        GAsyncReadyCallback callback,
        gpointer user_data
      );
      IdeSymbolTree* (* get_symbol_tree_finish) (
        IdeSymbolResolver* self,
        GAsyncResult* result,
        GError** error
      );
      void (* find_references_async) (
        IdeSymbolResolver* self,
        IdeLocation* location,
        const gchar* language_id,
        GCancellable* cancellable,
        GAsyncReadyCallback callback,
        gpointer user_data
      );
      GPtrArray* (* find_references_finish) (
        IdeSymbolResolver* self,
        GAsyncResult* result,
        GError** error
      );
      void (* find_nearest_scope_async) (
        IdeSymbolResolver* self,
        IdeLocation* location,
        GCancellable* cancellable,
        GAsyncReadyCallback callback,
        gpointer user_data
      );
      IdeSymbol* (* find_nearest_scope_finish) (
        IdeSymbolResolver* self,
        GAsyncResult* result,
        GError** error
      );

    }

###### Interface members

`parent_interface` |
    GTypeInterface
| No description available.
`load` |
    void (* load) (
        IdeSymbolResolver* self
      )
| No description available.
`unload` |
    void (* unload) (
        IdeSymbolResolver* self
      )
| No description available.
`lookup_symbol_async` |
    void (* lookup_symbol_async) (
        IdeSymbolResolver* self,
        IdeLocation* location,
        GCancellable* cancellable,
        GAsyncReadyCallback callback,
        gpointer user_data
      )
| No description available.
`lookup_symbol_finish` |
    IdeSymbol* (* lookup_symbol_finish) (
        IdeSymbolResolver* self,
        GAsyncResult* result,
        GError** error
      )
| No description available.
`get_symbol_tree_async` |
    void (* get_symbol_tree_async) (
        IdeSymbolResolver* self,
        GFile* file,
        GBytes* contents,
        GCancellable* cancellable,
        GAsyncReadyCallback callback,
        gpointer user_data
      )
| No description available.
`get_symbol_tree_finish` |
    IdeSymbolTree* (* get_symbol_tree_finish) (
        IdeSymbolResolver* self,
        GAsyncResult* result,
        GError** error
      )
| No description available.
`find_references_async` |
    void (* find_references_async) (
        IdeSymbolResolver* self,
        IdeLocation* location,
        const gchar* language_id,
        GCancellable* cancellable,
        GAsyncReadyCallback callback,
        gpointer user_data
      )
| No description available.
`find_references_finish` |
    GPtrArray* (* find_references_finish) (
        IdeSymbolResolver* self,
        GAsyncResult* result,
        GError** error
      )
| No description available.
`find_nearest_scope_async` |
    void (* find_nearest_scope_async) (
        IdeSymbolResolver* self,
        IdeLocation* location,
        GCancellable* cancellable,
        GAsyncReadyCallback callback,
        gpointer user_data
      )
| No description available.
`find_nearest_scope_finish` |
    IdeSymbol* (* find_nearest_scope_finish) (
        IdeSymbolResolver* self,
        GAsyncResult* result,
        GError** error
      )
| No description available.

#### Virtual methods

###### Ide.SymbolResolver.find_nearest_scope_async

This function asynchronously requests to locate the containing scope for a given source location.

###### Ide.SymbolResolver.find_nearest_scope_finish

This function completes an asynchronous operation to locate the containing scope for a given source location.

###### Ide.SymbolResolver.find_references_async

No description available.

###### Ide.SymbolResolver.find_references_finish

Completes an asynchronous request to ide_symbol_resolver_find_references_async().

###### Ide.SymbolResolver.get_symbol_tree_async

Asynchronously fetch an up to date symbol tree for `file`.

###### Ide.SymbolResolver.get_symbol_tree_finish

Completes an asynchronous request to get the symbol tree for the requested file.

###### Ide.SymbolResolver.load

No description available.

###### Ide.SymbolResolver.lookup_symbol_async

Asynchronously requests that `self` determine the symbol existing at the source location denoted by `self`. `callback` should call `ide_symbol_resolver_lookup_symbol_finish()` to retrieve the result.

###### Ide.SymbolResolver.lookup_symbol_finish

Completes an asynchronous call to lookup a symbol using ide_symbol_resolver_lookup_symbol_async().

###### Ide.SymbolResolver.unload

No description available.