• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

/usr/lib/swipl/library/ext/pldoc/pldoc/doc_register.pl
All Application Manual Name SummaryHelp

  • pldoc
    • pldoc
      • doc_process.pl
      • doc_register.pl
        • comment_hook/4
      • doc_modes.pl -- Analyse PlDoc mode declarations
      • doc_wiki.pl
      • doc_util.pl
      • doc_htmlsrc.pl
      • doc_colour.pl
      • doc_html.pl
      • doc_index.pl -- Create indexes
      • doc_search.pl
      • doc_words.pl -- Reason about Prolog jargon
      • man_index.pl
      • doc_man.pl
      • doc_access.pl
      • doc_pack.pl
 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
ClioPatria (version V3.1.1-51-ga0b30a5)