- prolog:comment_hook(+Comments, +TermPos, +Term, +VarNames) is det[multifile, pldoc(doc_register)]
- Hook called by the compiler and cross-referencer. In addition to
the comment, it passes the term itself to see what term is
commented as well as the start-position of the term to
distinguish between comments before the term and inside it.
- Arguments:
-
Comments - List of comments read before the end of Term TermPos - Start location of Term Term - Actual term read VarNames - List Name=Var for the variables of Term