Availability:
:- use_module(library(prolog_xref)).
(can be autoloaded)- xref_public_list(+File, -Path, -Export, +Src) is semidet
- xref_public_list(+File, -Path, -Module, -Export, -Meta, +Src) is semidet
- xref_public_list(+File, -Path, -Module, -Export, -Public, -Meta, +Src) is semidet
- Find meta-information about File. This predicate reads all terms
upto the first term that is not a directive. It uses the module
and meta_predicate directives to assemble the information
described below.
These predicates fail if File is not a module-file.