Did you know ... | Search Documentation: |
![]() | Pack lsp_server -- prolog/lsp_utils.pl |
Module with a bunch of helper predicates for looking through prolog source and stuff.
Clause
, starting from
the file Path
. Locations
will be a list of all the callers and
locations that the Clause
is called from as LSP-formatted dicts.Arity
args.Goal
found in Path
and position Position
(from
called_at/3), Location
is a dictionary suitable for sending as an
LSP response indicating the position in a file of Goal
.Help
is the documentation for the term under the cursor at line
Line
, character Char
in the file Path
.The following predicates are exported, but not or incorrectly documented.