| Did you know ... | Search Documentation: |
| Predicate comment_hook/4 |
prolog:comment_hook(+Comments,
+Pos, +Term, +VarNames)comments(Comments). If the list of comments returned by
read_term/2
is not empty it calls this comment hook with the following arguments.
variable_names(Bindings) of read_clause/3
and [] otherwise. This allows the hook to
relate comments to the argument names of Term.This hook is exploited by the documentation system. See stream_position_data/3. See also read_term/3.