
doc_htmlsrc.pl -- HTML source pretty-printerThis module colourises Prolog source using HTML+CSS using the same cross-reference based technology as used by PceEmacs.
source_to_html(+In:filename, +Out, :Options) is dettrue (default), use PlDoc formatting for structured
comments.Other options are passed to the following predicates:
print_html_head(+Out:stream, +Options) is det[private]DOCTYPE line and HTML header. Options:
falsetrue (default), format structured comments.call(Closure, Where, Out), where Where
is one of header or footer. These calls are made
just after opening body and before closing body.
html_fragment(+Fragment, +In, +Out, +StateIn, -StateOut, +Options) is det[private]
anchor(+Class, -Label) is semidet[private]id we must assign to the fragment of
class Class. This that the first definition of a head with
the id name/arity.<&>. If State
does not include a pre environment, create one and skip all
leading blank lines.
copy_full_stop(+In, +Out) is det[private]
delete_leading_white_lines(+CodesIn, -CodesOut, +LineIn, -Line) is det[private]
append(-First, -FirstTail, ?Rest, +List) is nondet[private]
write_codes(+Codes, +Line, +Out) is det[private]
content_escape(+Code, +Out, +Line0, -Line) is det[private]<&>
copy_rest(+In, +Out, +StateIn, -StateOut) is det[private]
read_n_codes(+In, +N, -Codes)[private]
element(+Class, -HTMLElement, -CSSClass) is nondet[private]