Did you know ... Search Documentation:
Pack prolog_lsp -- prolog/pls_index/profiles.pl
PublicShow source
 profile_index_docs(+Profile, +URI, +SubPos, Term, +CommentPos) is nondet[multifile]
Index the documentation for the term at the indicated SubPos, using the CommentPos from an earlier read_term/3 call.
 profile_index_goal(+Profile, ?URI, ?Caller, ?SubPos, ?Goal) is nondet[multifile]
Index a goal for cross-referncing
 profile_end_of_file(Profile, URI) is nondet[multifile]
Allow the profile to cleanup after indexing a file.
 profile_symbol(+Profile, +URI, +Query, ?Range, ?Name, ?Detail, ?Kind) is nondet[multifile]
Return details about a symbol in the indicated document
 use_language_profile(+Profile) is det
Directive to indicate which language profile to use when indexing source. The specified profile applies to the end of the file, or until the next such directive.
 provide_language_profile(+Profile) is det
A no-op in regular code, but is a single to the Prolog Language server during indexing that the file being indexed implements the indicated language profile.
 register_language_profile(+Profile, +ProfileModuleFile) is det
Register the indicated module file as an implementation of the indicated profile.
 functor_range(+URI, +Pos, -Range) is det
Given the position of a term, return the range for the functor.
 term_range(+URI, +From, +To, -Range) is det
Given a From position and To position in the text of the document specified by URI, return a Ranage, which expresses as a start / end pair of locations. Each location has a line number and character offset.
 symbol_kind(+Kind, -Code) is det
Transalte a known symbol kind into a pre-defined code.

Undocumented predicates

The following predicates are exported, but not or incorrectly documented.

 profile_module(Arg1, Arg2)
 get_document_profile(Arg1, Arg2)
 set_document_profile(Arg1, Arg2)
 profile_index_term(Arg1, Arg2, Arg3, Arg4)
 profile_index_signature(Arg1, Arg2, Arg3, Arg4, Arg5)
 index_goals(Arg1, Arg2, Arg3, Arg4)
 index_goal(Arg1, Arg2, Arg3, Arg4)
 functor_range(Arg1, Arg2, Arg3, Arg4)
 term_position_range(Arg1, Arg2, Arg3)
 argument_positions(Arg1, Arg2)