Virtual Method

IdeSymbolResolverfind_nearest_scope_async

Declaration

void
find_nearest_scope_async (
  IdeSymbolResolver* self,
  IdeLocation* location,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description

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

See ide_symbol_resolver_find_nearest_scope_finish() for how to complete the operation.

Parameters

location

Type: IdeLocation

An IdeLocation.

The data is owned by the caller of the function.
cancellable

Type: GCancellable

A GCancellable or NULL.

The argument can be NULL.
The data is owned by the caller of the function.
callback

Type: GAsyncReadyCallback

An async callback.

user_data

Type: gpointer

User data for callback.

The argument can be NULL.
The data is owned by the caller of the function.