pldoc

Prolog files

doc_access.plShow source
doc_colour.pl  -- Source colouring supportShow source
doc_html.pl  -- PlDoc HTML backendShow source
cite/3Emit citations.Source
doc_file_objects/5Extracts relevant information for FileSpec from the PlDoc database.Source
doc_for_file/2HTTP handler that writes documentation for File as HTML.Source
doc_for_wiki_file/2Write HTML for the File containing wiki data.Source
doc_hide_private/3Remove the private objects from Objs according to Options.Source
doc_page_dom/3Create the complete HTML DOM from the Title and Body.Source
doc_resources/3Include required resources (CSS, JS) into the output.Source
doc_tag_title/2Title is the name to use for Tag in the generated documentation.Source
doc_write_html/3Write HTML for the documentation page DOM using Title to Out.Source
edit_button/4Create an edit button for File.Source
ensure_doc_objects/1Ensure we have documentation about File.Source
existing_linked_file/2True if File is a path to an existing file relative to the current file.Source
file/3Create a link to another filename if the file exists.Source
file/4Create a link to another filename if the file exists.Source
file_header/4Create the file header.Source
flagref/3Reference to a Prolog flag.Source
include/5Inline FileName.Source
is_op_type/2True if Atom is an operator of Type.Source
is_pi/1True if Term is a predicate indicator.Source
mode_anchor_name/2Get the anchor name for a mode.Source
module_info/3Add options module(Name), public(Exports) to OtherOptions if File is a module file.Source
multifile/2True if Obj is a multifile predicate.Source
nopredref/3Result of name/arity, non-linking predicate indicator.Source
object_edit_button/4Create a button for editing Object.Source
object_footer/4Call the hook doc_object_footer//2.Source
object_href/2HREF is the URL to access Object.Source
object_name/4HTML description of documented Obj.Source
object_page/4Generate an HTML page describing Obj.Source
object_page_footer/4Call the hook doc_object_page_footer//2.Source
object_ref/4Create a hyperlink to Object.Source
object_source_button/4Create a button for showing the source of Object.Source
object_synopsis/4Provide additional information about Obj.Source
object_tree/5Render a tree of objects used for navigation.Source
objects/4Emit the documentation body.Source
pred_anchor_name/3Create an HTML anchor name from Head.Source
pred_dt/5Emit the predicate header.Source
pred_edit_button/4Create a button for editing the given predicate.Source
predref/3Create a reference to a predicate.Source
predref/4Create a reference to a predicate.Source
print_html_head/1Print the DOCTYPE line.Source
private/2True if Obj is not exported from Options.Source
source_button/4Add show-source button.Source
tag/4Called from \tag(Name, Values) terms produced by doc_wiki.pl.Source
tags/3Emit the @tag tags of a description.Source
term/5Process the \term element as produced by doc_wiki.pl.Source
unquote_filespec/2Translate e.g.Source
zoom_button/4Add zoom in/out button to show/hide the private documentation.Source
doc_is_public_object/1Hook that allows objects to be displayed with the default public-only view.
doc_htmlsrc.pl  -- HTML source pretty-printerShow source
source_to_html/3Colourise Prolog source as HTML.Source
doc_index.pl  -- Create indexesShow source
doc_man.pl  -- Process SWI-Prolog HTML manualsShow source
doc_modes.pl  -- Analyse PlDoc mode declarationsShow source
compile_clause/2Add a clause to the compiled program.Source
compile_mode/2Compile a PlDoc mode declararion into a term mode(Head, Determinism).Source
is_mode/1True if Head is a valid mode-term.Source
mode/2True if there is a mode-declaration for Head with Det.Source
mode_indicator/1Our defined argument-mode indicators.Source
modes_to_predicate_indicators/2Create a list of predicate indicators represented by Modes.Source
process_modes/6Process the formal header lines (upto the first blank line), returning the remaining lines and the names of the arguments used in the various header lines.Source
doc_pack.pl  -- PlDoc for Prolog extension packsShow source
doc_pack/1Generate stand-alone documentation for the package Pack.Source
doc_process.pl  -- Process source documentationShow source
comment_modes/2Source
doc_clean/1Clean documentation for Module.Source
doc_comment/4True if Comment is the comment describing object.Source
doc_file_has_comments/1True if we have loaded comments from Source.Source
doc_file_name/3Doc is the name of the file for documenting Source.Source
is_structured_comment/2True if Comment is a structured comment that should use Prefixes to extract the plain text using indented_lines/3.Source
parse_comment/3True when Comment is a structured comment and Parsed is its parsed representation.Source
process_comments/3Processes comments returned by read_term/3 using the comments option.Source
predicate_summary/2Provide predicate summaries to the XPCE class prolog_predicate, used by the IDE tools.Source
doc_register.plShow source
comment_hook/3Hook called by the compiler and cross-referencer.Source
doc_search.pl  -- Search form and replyShow source
doc_util.pl  -- PlDoc utilitiesShow source
atom_pi/2Translate an external predicate indicator representated as an atom into a predicate indicator term.Source
atom_to_object/2If Atom is `Name/Arity', decompose to Name and Arity.Source
ensure_slash_end/2Ensure Dir ends with a /.Source
expand_alias/2Translate an aliased path to a native path.Source
insert_alias/2Translate a native path to an aliased path.Source
normalise_white_space/3Text is input after deleting leading and trailing white space and mapping all internal white space to a single space.Source
doc_wiki.pl  -- PlDoc wiki parserShow source
doc_words.pl  -- Reason about Prolog jargonShow source
man_index.pl  -- Index the HTML manualsShow source
check_duplicate_ids/0Maintenance utility to check that we do not have duplicate section identifiers in the documentation.Source
clean_man_index/0Clean already loaded manual index.Source
current_man_object/1Source
doc_object_identifier/2True when Identifier is the name of DocObject.Source
index_man_directory/2Index the HTML directory Dir.Source
index_man_file/2Collect the documented objects from the SWI-Prolog manual file File.Source
man_object_property/2True when Property is a property of the given manual object.Source
manual_object/5True if Object is documented.Source
save_man_index/0Create swi('doc/manindex.db'), containing an index into the HTML manuals for use with help/1 and similar predicates.Source