Did you know ... Search Documentation:
pce_prolog_xref.pl -- XPCE plugin for library(prolog_xref)
PublicShow source

This library facilitates using PceEmacs editors as sources for the Prolog cross referencer.

Source prolog:xref_source_identifier(+Object, -Ref)[multifile]
The cross-referencer runs faster if the reference is an indexable term. Therefore we strip the XPCE @ from the object.
Source prolog:xref_source_directory(+Source, -Dir)[multifile]
Find the directory of a PceEmacs buffer to resolve relative paths.
Source prolog:xref_open_source(+Source, -Stream)[multifile]
Open the PceEmacs as a Prolog stream.