
doc_process.pl -- Process source documentationThe pldoc module processes structured comments in Prolog source files into well formatted HTML documents.
prolog:predicate_summary(+PI, -Summary) is semidet[multifile]prolog_predicate, used by the IDE tools.object(Object, Summary, Comment) and optionally
signature(Object, Signature).
is_structured_comment(+Comment:string, -Prefixes:list(codes)) is semidet
separator_line// is semidet[private]
doc_file_name(+Source:atom, -Doc:atom, +Options:list) is det
doc_file_has_comments(+Source:atom) is semidet
doc_comment(?Objects, -Pos, -Summary:string, -Comment:string) is nondetmodule(ModuleTitle)
Comment appearing in a module.xpce(Class, Kind, Name) for members of xpce classes.If Object is unbound and multiple objects share the same description, Object is unified with a list of terms described above.
doc_signature(?Object, ?Signature:string) is nondet
process_comments(+Comments:list, +TermPos, +File) is det
process_comments(+Comments:list, +TermPos, ?Term, +VarNames, +File) is detcomments
option. It creates clauses of the form
where Id is one of
parse_comment(+Comment, +FilePos, -Parsed) is semidet
parse_comment(+Comment, +FilePos, ?Term, +VarNames, -Parsed) is semidetdet,
etc.).Term is the term that follows Comment and VarNames is a list Name=Var for its variables. Both are passed to prolog:doc_compile_comment/6.
comment_modes(+Comment, -Modes:list) is semidet
process_structured_comment(+FilePos, +Comment:string, +Prefixed:list, ?Term, +VarNames, +Style) is det[private]
comment_warning(+Style, +Error) is failure[private]%!,
we remain silent about comments that start with %%.
compile_comment(+Comment, +FilePos, +Prefixes, ?Term, +VarNames, -Compiled) is semidet[private]
doc_clean(+Module) is det