Interface
IdeSymbolResolver
Prerequisite
In order to implement SymbolResolver, your type must inherit fromIdeObject
.
Instance methods
ide_symbol_resolver_find_nearest_scope_async
This function asynchronously requests to locate the containing scope for a given source location.
ide_symbol_resolver_find_nearest_scope_finish
This function completes an asynchronous operation to locate the containing scope for a given source location.
ide_symbol_resolver_find_references_finish
Completes an asynchronous request to ide_symbol_resolver_find_references_async().
ide_symbol_resolver_get_symbol_tree_finish
Completes an asynchronous request to get the symbol tree for the requested file.
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.
ide_symbol_resolver_lookup_symbol_finish
Completes an asynchronous call to lookup a symbol using ide_symbol_resolver_lookup_symbol_async().
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 |
|
No description available. | |
load |
|
No description available. | |
unload |
|
No description available. | |
lookup_symbol_async |
|
No description available. | |
lookup_symbol_finish |
|
No description available. | |
get_symbol_tree_async |
|
No description available. | |
get_symbol_tree_finish |
|
No description available. | |
find_references_async |
|
No description available. | |
find_references_finish |
|
No description available. | |
find_nearest_scope_async |
|
No description available. | |
find_nearest_scope_finish |
|
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_finish
Completes an asynchronous request to ide_symbol_resolver_find_references_async().
Ide.SymbolResolver.get_symbol_tree_finish
Completes an asynchronous request to get the symbol tree for the requested file.
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().