| 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.Nonterminal an unlimited number of times. If the provided
nonterminal ever fails, unlimited fails too. This rule can never actually
succeed (i.e. yield true), although it could be considered to succeed "at
infinity." Nonterminal is likely to be a DCG rule which performs side
effects as it parses.The following predicates are exported, but not or incorrectly documented.