Top | ![]() |
![]() |
![]() |
![]() |
void ide_symbol_resolver_lookup_symbol_async (IdeSymbolResolver *self
,IdeSourceLocation *location
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
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.
self |
||
location |
An IdeSourceLocation. |
|
cancellable |
A GCancellable or |
[allow-none] |
callback |
A callback to execute upon completion. |
|
user_data |
user data for |
IdeSymbol * ide_symbol_resolver_lookup_symbol_finish (IdeSymbolResolver *self
,GAsyncResult *result
,GError **error
);
Completes an asynchronous call to lookup a symbol using
ide_symbol_resolver_lookup_symbol_async()
.
self |
||
result |
A GAsyncResult provided to the callback. |
|
error |
A location for an |
[out] |
void ide_symbol_resolver_get_symbol_tree_async (IdeSymbolResolver *self
,GFile *file
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously fetch an up to date symbol tree for file
.
self |
||
file |
A GFile |
|
cancellable |
a GCancellable or |
[allow-none] |
callback |
a callback to execute upon completion. |
[allow-none] |
user_data |
user data for |
IdeSymbolTree * ide_symbol_resolver_get_symbol_tree_finish (IdeSymbolResolver *self
,GAsyncResult *result
,GError **error
);
Completes an asynchronous request to get the symbol tree for the requested file.
typedef struct { GTypeInterface parent_interface; void (*set_context) (IdeSymbolResolver *self, IdeContext *context); void (*lookup_symbol_async) (IdeSymbolResolver *self, IdeSourceLocation *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, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data); IdeSymbolTree *(*get_symbol_tree_finish) (IdeSymbolResolver *self, GAsyncResult *result, GError **error); void (*load) (IdeSymbolResolver *self); } IdeSymbolResolverInterface;