pike.git / lib / modules / Tools.pmod / AutoDoc.pmod / module.pmod

version» Context lines:

pike.git/lib/modules/Tools.pmod/AutoDoc.pmod/module.pmod:1:   #pike __REAL_VERSION__      // This module contains utility functions for XML creation and   // some other useful stuff common to all the modules.      #include "./debug.h"      protected constant DOC_COMMENT = "//!";    + //! Flags affecting autodoc extractor behaviour. + //! + //! @seealso + //! @[ProcessXML.extractXML()], @[MirarDocParser], + //! @[Tools.Standalone.extract_autodoc()] + enum Flags { +  FLAG_QUIET = 0, //! Keep quiet about non-fatal errors. +  FLAG_NORMAL = 1, //! Normal verbosity. +  FLAG_VERBOSE = 2, //! Extra verbosity. +  FLAG_DEBUG = 3, //! Full verbosity. +  FLAG_VERB_MASK = 3, //! Verbosity mask. +  FLAG_KEEP_GOING = 4, //! Attempt to keep going after errors. +  FLAG_COMPAT = 8, //! Attempt to be compatible with old Pike. +  FLAG_NO_DYNAMIC = 16, //! Reduce the amount of dynamic information +  //! in the generated files (line numbers, +  //! extractor version, extraction time, etc). + } +    protected int isDigit(int c) { return '0' <= c && c <= '9'; }      protected int isDocComment(string s) {    return has_prefix(s, DOC_COMMENT);   }      //FIXME: should it return 0 for keywords ??   protected int isIdent(string s) {    if (!s || s == "")    return 0;