- prolog:doc_compile_comment(+Comment:string, +Lines, +FilePos, ?Term, +VarNames, -Compiled:list) is semidet[multifile, pldoc(doc_process)]
- Hook to compile structured comments that do not document a
predicate or section, such as the members of an xpce class. The
hook is tried before the default processing. Lines are the
indented lines of Comment and Term is the term that follows the
comment. Term is unbound if Comment is not the last comment before
the term. VarNames is a list Name=Var for the variables of Term.
If the hook succeeds, Compiled is a list of terms as
described with parse_comment/3, normally holding
object(Object, Summary, Comment) and optionally
signature(Object, Signature).