SymbolProvider
Object Hierarchy:
Description:
[ Version ( since = "0.16.0" ) ]
public interface SymbolProvider : Object
Content:
Properties:
Static methods:
Methods:
- public abstract async void add_file (File file) throws Error
- public abstract void add_file_sync (File file) throws Error
- public abstract async void add_package (string name) throws Error
- public abstract void add_package_sync (string name) throws Error
- public abstract void add_resolver (SymbolResolver resolver)
- public abstract async void add_resolvers (ListModel resolvers) throws Error
- public abstract void add_resolvers_sync (ListModel resolvers) throws Error
- public virtual string calculate_position_method (string uri, ref Position position)
Calculates a method's name at given position, useful for signature
help
- public virtual string calculate_position_word (string uri, Position position, out Range range)
Detects a word at given position and file's URI
- public abstract Symbol? calculate_variable_type (Symbol sym, string? uri, Position? pos)
Given a variables's 'symbol, a file URI and a position in it,
calculates variable's type.
- public abstract async CompletionList create_completion_information_list (string uri, Position pos)
- public abstract CompletionList create_completion_information_list_sync (string uri, Position pos)
- public abstract bool has_resolver (File file)
- public abstract Container namespace_symbols (string name)
Provides a hash table list of symbols in a given namespace
- public abstract async Symbol? resolve_symbol (string name, string? uri)
Resolve a symbol with the given name or partial name, URI and
position. If no uri or possition are provided, will search in all resolvers.
- public virtual Symbol? resolve_symbol_definition (string uri, Position pos)
Calculate the definition of a symbol at specified location
- public abstract async Symbol? resolve_symbol_position (string uri, Position pos)
Resolve a symbol at URI and position
- public abstract Symbol? resolve_symbol_position_sync (string uri, Position pos)
Resolve a symbol at URI and position
- public abstract async Symbol? resolve_symbol_scope (string name, string? uri, Position? pos)
- public abstract Symbol? resolve_symbol_scope_sync (string name, string? uri, Position? pos)
Resolves synchronously a
GVls.Symbol located at given position
- public abstract Symbol? resolve_symbol_scope_sync_rest (string? name, string? uri, Position? pos, out string? rword, out string? rest)
Resolves synchronously a
GVls.Symbol located at given position
- public abstract Symbol? resolve_symbol_sync (string name, string? uri)
Resolve a symbol with the given name or partial name, URI and
position. If no uri or possition are provided, will search in all resolvers.
- public abstract async Container resolve_symbols (string name)
Resolve a set of symbols related to the given name or partial name.
- public abstract async Container resolve_symbols_scope (string name, string? uri, Position? pos)
Resolve a set of symbols related to the given name or partial name,
URI, position and Symbol.scope_range. If no URI or position is
given, search along on all other resolvers
- public abstract Container resolve_symbols_scope_sync (string name, string? uri, Position? pos)
Resolve synchronously a set of symbols related to the given name or
partial name, at URI and position
- public abstract Container resolve_symbols_sync (string name)
Resolve synchronously a set of symbols related to the given name or
partial name, URI and position. If no URI or position is given, search along on all other resolvers
- public abstract SymbolResolver? resolver_by_uri (string uri)
- public abstract async void update_database_symbols (string uri) throws Error
From a given resolver's symbols at URI, update symbol database
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref