|
Doxygen
|
#include <stdint.h>#include "commentscan.h"#include <algorithm>#include <cctype>#include <functional>#include <mutex>#include <string>#include <unordered_map>#include "cite.h"#include "condparser.h"#include "config.h"#include "debug.h"#include "docgroup.h"#include "doxygen.h"#include "dstring.h"#include "entry.h"#include "fileinfo.h"#include "formula.h"#include "language.h"#include "markdown.h"#include "mermaid.h"#include "message.h"#include "reflist.h"#include "regex.h"#include "section.h"#include "stringutil.h"#include "trace.h"#include "util.h"#include "doxygen_lex.h"#include "commentscan.l.h"Go to the source code of this file.
Classes | |
| struct | DocCmdMap |
| struct | HtmlContextInfo |
| struct | commentscanYY_state |
| struct | CommentScanner::Private |
Macros | |
| #define | YY_TYPEDEF_YY_SCANNER_T |
| #define | yyguts_t commentscanYYguts_t |
| #define | YY_NO_INPUT 1 |
| #define | YY_NO_UNISTD_H 1 |
| #define | YY_NEVER_INTERACTIVE 1 |
| #define | unput_string(yytext, yyleng) |
| #define | YY_INPUT(buf, result, max_size) |
Typedefs | |
| typedef yyguts_t * | yyscan_t |
| typedef bool(* | DocCmdFunc) (yyscan_t yyscanner, const DString &name, const StringVector &optList) |
| typedef EntryType(* | MakeEntryType) () |
| using | HtmlContextStack = std::vector<HtmlContextInfo> |
Enumerations | |
| enum | CommandSpacing { Invisible , Inline , Block , XRef } |
| enum | SectionHandling { Allowed , Replace , Escape , Break } |
| enum | XRefKind { XRef_Item , XRef_Todo , XRef_Test , XRef_Bug , XRef_Deprecated , XRef_None } |
| enum | OutputContext { OutputDoc , OutputBrief , OutputField , OutputXRef , OutputInbody } |
| enum | GuardType { Guard_If , Guard_IfNot , Guard_ElseIf } |
Functions | |
| static bool | handleBrief (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleFn (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleDef (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleOverload (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleEnum (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleDefGroup (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleAddToGroup (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleWeakGroup (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleRequirement (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleSatisfies (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleVerifies (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleNamespace (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handlePackage (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleConcept (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleClass (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleHeaderFile (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleProtocol (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleCategory (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleUnion (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleStruct (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleRecord (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleInterface (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleIdlException (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handlePage (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleMainpage (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleFile (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleDir (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleExample (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleDetails (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleRaiseWarning (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleNoop (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleName (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleTodo (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleTest (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleBug (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleSubpage (yyscan_t yyscanner, const DString &s, const StringVector &) |
| static bool | handleDeprecated (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleXRefItem (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleRelated (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleRelatedAlso (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleMemberOf (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleRefItem (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleSection (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleAnchor (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleImage (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleCite (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleFormatBlock (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleMermaidFile (yyscan_t yyscanner, const DString &s, const StringVector &) |
| static bool | handleAddIndex (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleIf (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleIfNot (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleElseIf (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleElse (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleEndIf (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleIngroup (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleNoSubGrouping (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleShowInitializer (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleHideInitializer (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleCallgraph (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleHideCallgraph (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleCallergraph (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleHideCallergraph (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleIncludegraph (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleIncludedBygraph (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleShowEnumValues (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleHideEnumValues (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleShowInlineSource (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleHideInlineSource (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleHideIncludegraph (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleHideIncludedBygraph (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleDirectoryGraph (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleHideDirectoryGraph (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleCollaborationgraph (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleHideCollaborationgraph (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleInheritanceGraph (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleHideInheritanceGraph (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleReferencedByRelation (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleHideReferencedByRelation (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleReferencesRelation (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleHideReferencesRelation (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleGroupgraph (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleHideGroupgraph (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleInternal (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleStatic (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handlePure (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handlePrivate (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handlePrivateSection (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleProtected (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleProtectedSection (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handlePublic (yyscan_t yyscanner, const DString &s, const StringVector &) |
| static bool | handlePublicSection (yyscan_t yyscanner, const DString &s, const StringVector &) |
| static bool | handleQualifier (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleToc (yyscan_t yyscanner, const DString &s, const StringVector &) |
| static bool | handleInherit (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleExtends (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleCopyDoc (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleCopyBrief (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleCopyDetails (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleParBlock (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleEndParBlock (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleParam (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleField (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleRetval (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleFileInfo (yyscan_t yyscanner, const DString &cmdName, const StringVector &optList) |
| static bool | handleFileInfoSection (yyscan_t yyscanner, const DString &cmdName, const StringVector &optList) |
| static bool | handleFileInfoResult (yyscan_t yyscanner, const DString &, const StringVector &optList, bool isSection) |
| static bool | handleLineInfo (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleModule (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleIFile (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleILine (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleIRaise (yyscan_t yyscanner, const DString &, const StringVector &) |
| static bool | handleIPrefix (yyscan_t yyscanner, const DString &, const StringVector &) |
| static const char * | stateToString (int state) |
| static DString | fileInfoLookup (const FileInfo &fi, const std::string &name) |
| static DString | stripQuotes (const char *s) |
| static SectionType | sectionLevelToType (int level) |
| static void | stripTrailingWhiteSpace (DString &s) |
| static void | initParser (yyscan_t yyscanner) |
| static bool | checkStructuralIndicator (yyscan_t yyscanner) |
| static bool | makeStructuralIndicator (yyscan_t yyscanner, MakeEntryType maker) |
| static void | lineCount (yyscan_t yyscanner) |
| static void | addRequirementId (yyscan_t yyscanner) |
| static void | addXRefItem (yyscan_t yyscanner, const DString &listName, const DString &itemTitle, const DString &listTitle, bool append) |
| static DString | addFormula (yyscan_t yyscanner) |
| static void | checkFormula (yyscan_t yyscanner) |
| static void | addSection (yyscan_t yyscanner, bool addYYtext=true) |
| static void | setOutput (yyscan_t yyscanner, OutputContext ctx) |
| static void | addAnchor (yyscan_t yyscanner, const DString &anchor, const DString &title="") |
| static void | addOutput (yyscan_t yyscanner, const char *s) |
| static void | addOutput (yyscan_t yyscanner, const DString &s) |
| static void | addOutput (yyscan_t yyscanner, char c) |
| static void | endBrief (yyscan_t yyscanner) |
| static void | handleGuard (yyscan_t yyscanner, const DString &expr) |
| static int | yyread (yyscan_t yyscanner, char *buf, int max_size) |
| static void | addCite (yyscan_t yyscanner) |
| static void | addIline (yyscan_t yyscanner, int lineNr) |
| static void | addIlineBreak (yyscan_t yyscanner, int lineNr) |
| static void | escapeLabel (DString &label) |
| static const char * | getLexerFILE () |
| int | yylex (yyscan_t yyscanner) |
| static void | addXRefItemToEntry (Entry *current, const DString &docs, const DString &baseName, const DString &itemTitle, const DString &listTitle, bool append, bool inBody, int lineNr) |
Variables | |
| static const std::unordered_map< std::string, DocCmdMap > | docCmdMap |
| static std::mutex | g_sectionMutex |
| static std::mutex | g_formulaMutex |
| static std::mutex | g_citeMutex |
| static const reg::Ex | nonBrief_re (R"( *[\\@]ifile \"[^\"]*\" [\\@]iline (\d+) [\\@]ilinebr ([ \n]*))") |
| #define unput_string | ( | yytext, | |
| yyleng ) |
Definition at line 577 of file commentscan.l.
Referenced by DocTokenizer::unputString().
| #define YY_INPUT | ( | buf, | |
| result, | |||
| max_size ) |
Definition at line 582 of file commentscan.l.
| #define YY_NEVER_INTERACTIVE 1 |
Definition at line 426 of file commentscan.l.
| #define YY_NO_INPUT 1 |
Definition at line 424 of file commentscan.l.
| #define YY_NO_UNISTD_H 1 |
Definition at line 425 of file commentscan.l.
| #define YY_TYPEDEF_YY_SCANNER_T |
Definition at line 23 of file commentscan.l.
| #define yyguts_t commentscanYYguts_t |
Definition at line 24 of file commentscan.l.
| typedef bool(* DocCmdFunc) (yyscan_t yyscanner, const DString &name, const StringVector &optList) |
Definition at line 186 of file commentscan.l.
| using HtmlContextStack = std::vector<HtmlContextInfo> |
Definition at line 467 of file commentscan.l.
| typedef EntryType(* MakeEntryType) () |
Definition at line 187 of file commentscan.l.
Definition at line 26 of file commentscan.l.
|
strong |
Definition at line 189 of file commentscan.l.
| enum GuardType |
| Enumerator | |
|---|---|
| Guard_If | |
| Guard_IfNot | |
| Guard_ElseIf | |
Definition at line 448 of file commentscan.l.
| enum OutputContext |
| Enumerator | |
|---|---|
| OutputDoc | |
| OutputBrief | |
| OutputField | |
| OutputXRef | |
| OutputInbody | |
Definition at line 439 of file commentscan.l.
|
strong |
Definition at line 197 of file commentscan.l.
| enum XRefKind |
| Enumerator | |
|---|---|
| XRef_Item | |
| XRef_Todo | |
| XRef_Test | |
| XRef_Bug | |
| XRef_Deprecated | |
| XRef_None | |
Definition at line 429 of file commentscan.l.
Definition at line 4879 of file commentscan.l.
References SectionManager::add(), SectionType::Anchor, DString::empty(), SectionInfo::fileName(), LinkedMap< T, Hash, KeyEqual, Map >::find(), g_sectionMutex, SectionManager::instance(), SectionInfo::lineNr(), SectionInfo::ref(), SectionManager::replace(), warn, and yyguts_t.
Referenced by handleImage().
|
static |
Definition at line 4672 of file commentscan.l.
References g_citeMutex, CitationManager::insert(), CitationManager::instance(), and yyguts_t.
Definition at line 4596 of file commentscan.l.
References FormulaManager::addFormula(), g_formulaMutex, FormulaManager::instance(), DString::sprintf(), DString::stripWhiteSpace(), and yyguts_t.
|
static |
Definition at line 4934 of file commentscan.l.
References addOutput().
Referenced by endBrief().
|
static |
Definition at line 4941 of file commentscan.l.
References addOutput().
|
inlinestatic |
Definition at line 4928 of file commentscan.l.
References yyguts_t.
|
inlinestatic |
Definition at line 4912 of file commentscan.l.
References yyguts_t.
Referenced by addIline(), addIlineBreak(), endBrief(), handleAddIndex(), handleAnchor(), handleCite(), handleCopyBrief(), handleCopyDetails(), handleCopyDoc(), handleDetails(), handleEndIf(), handleEndParBlock(), handleFileInfoResult(), handleFormatBlock(), handleIFile(), handleILine(), handleImage(), handleInternal(), handleIPrefix(), handleLineInfo(), handleMermaidFile(), handleParam(), handleParBlock(), handleRefItem(), handleRetval(), handleSection(), handleSubpage(), and CommentScanner::parseCommentBlock().
Definition at line 4920 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 4452 of file commentscan.l.
References SectionManager::add(), SectionInfo::fileName(), LinkedMap< T, Hash, KeyEqual, Map >::find(), g_sectionMutex, SectionManager::instance(), SectionInfo::lineNr(), SectionType::Requirement, warn, and yyguts_t.
|
static |
Definition at line 4625 of file commentscan.l.
References SectionManager::add(), DString::empty(), SectionInfo::fileName(), LinkedMap< T, Hash, KeyEqual, Map >::find(), g_sectionMutex, SectionManager::instance(), SectionInfo::lineNr(), SectionInfo::ref(), SectionManager::replace(), sectionLevelToType(), substitute(), warn, and yyguts_t.
|
static |
Definition at line 4561 of file commentscan.l.
References addXRefItemToEntry(), and yyguts_t.
Referenced by setOutput().
|
static |
Definition at line 4477 of file commentscan.l.
References LinkedMap< T, Hash, KeyEqual, Map >::add(), RefList::add(), SectionManager::add(), SectionType::Anchor, Entry::anchors, Config_getEnum, DString::data(), Entry::doc, DString::empty(), SectionInfo::fileName(), LinkedMap< T, Hash, KeyEqual, Map >::find(), g_sectionMutex, RefItem::id(), Entry::inbodyDocs, RefListManager::instance(), SectionManager::instance(), SectionInfo::lineNr(), RefItem::list(), RefList::listName(), qPrint(), SectionInfo::ref(), SectionManager::replace(), RefItem::setAnchor(), RefItem::setText(), Entry::sli, DString::sprintf(), RefItem::text(), and warn.
Referenced by CommentScanner::addDeprecatedDocs(), and addXRefItem().
|
static |
Definition at line 4994 of file commentscan.l.
References warn, and yyguts_t.
Referenced by CommentScanner::parseCommentBlock().
|
static |
Definition at line 4396 of file commentscan.l.
References yyguts_t.
Referenced by handleCategory(), handleClass(), handleConcept(), handleDef(), handleEnum(), handleFn(), handleIdlException(), handleInterface(), handleModule(), handleNamespace(), handleProtocol(), handleRecord(), handleStruct(), and handleUnion().
|
static |
Definition at line 4948 of file commentscan.l.
References addIline(), addOutput(), lineCount, reg::match(), nonBrief_re, OutputDoc, setOutput(), stripWhiteSpace(), and yyguts_t.
|
static |
Definition at line 4573 of file commentscan.l.
References DString::empty(), and DString::size().
Definition at line 3695 of file commentscan.l.
References DString::find().
Referenced by handleFileInfoResult().
|
inlinestatic |
Definition at line 585 of file commentscan.l.
|
static |
Definition at line 3678 of file commentscan.l.
References addOutput(), and yyguts_t.
|
static |
Definition at line 3115 of file commentscan.l.
References Entry::GROUPDOC_ADD, makeStructuralIndicator(), and yyguts_t.
|
static |
Definition at line 3577 of file commentscan.l.
References addOutput(), join(), and yyguts_t.
|
static |
Definition at line 3061 of file commentscan.l.
References OutputBrief, and setOutput().
|
static |
Definition at line 3395 of file commentscan.l.
References OutputXRef, setOutput(), XRef_Bug, and yyguts_t.
|
static |
Definition at line 3982 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 3968 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 3192 of file commentscan.l.
References checkStructuralIndicator(), and yyguts_t.
|
static |
Definition at line 3623 of file commentscan.l.
References addOutput(), join(), and yyguts_t.
|
static |
Definition at line 3149 of file commentscan.l.
References checkStructuralIndicator(), and yyguts_t.
|
static |
Definition at line 4066 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 3158 of file commentscan.l.
References checkStructuralIndicator(), and yyguts_t.
|
static |
Definition at line 4331 of file commentscan.l.
References addOutput(), OutputBrief, setOutput(), and yyguts_t.
|
static |
Definition at line 4349 of file commentscan.l.
References addOutput(), OutputDoc, setOutput(), and yyguts_t.
|
static |
Definition at line 4362 of file commentscan.l.
References addOutput(), OutputBrief, setOutput(), and yyguts_t.
|
static |
Definition at line 3079 of file commentscan.l.
References checkStructuralIndicator(), and yyguts_t.
|
static |
Definition at line 3106 of file commentscan.l.
References Entry::GROUPDOC_NORMAL, makeStructuralIndicator(), and yyguts_t.
|
static |
Definition at line 3404 of file commentscan.l.
References OutputXRef, setOutput(), XRef_Deprecated, and yyguts_t.
|
static |
Definition at line 3334 of file commentscan.l.
References addOutput(), OutputBrief, OutputDoc, setOutput(), and yyguts_t.
|
static |
Definition at line 3303 of file commentscan.l.
References makeStructuralIndicator(), and yyguts_t.
|
static |
Definition at line 4052 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 3870 of file commentscan.l.
|
static |
Definition at line 3843 of file commentscan.l.
References Guard_ElseIf, warn, and yyguts_t.
|
static |
Definition at line 3904 of file commentscan.l.
References addOutput(), warn, and yyguts_t.
|
static |
Definition at line 3440 of file commentscan.l.
References addOutput(), OutputDoc, setOutput(), warn, and yyguts_t.
|
static |
Definition at line 3098 of file commentscan.l.
References checkStructuralIndicator(), and yyguts_t.
|
static |
Definition at line 3312 of file commentscan.l.
References makeStructuralIndicator(), warn, and yyguts_t.
|
static |
Definition at line 4323 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 3288 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 3266 of file commentscan.l.
References makeStructuralIndicator(), and yyguts_t.
|
static |
Definition at line 3686 of file commentscan.l.
References handleFileInfoResult().
|
static |
Definition at line 3711 of file commentscan.l.
References addOutput(), Config_getBool, DString::empty(), fileInfoLookup(), DString::lower(), DString::str(), stripFromPath(), DString::stripWhiteSpace(), warn, and yyguts_t.
Referenced by handleFileInfo(), and handleFileInfoSection().
|
static |
Definition at line 3690 of file commentscan.l.
References handleFileInfoResult().
|
static |
Definition at line 3068 of file commentscan.l.
References checkStructuralIndicator(), and yyguts_t.
|
static |
Definition at line 3643 of file commentscan.l.
References addOutput(), MermaidManager::instance(), join(), MermaidManager::setHasInlineDiagrams(), and yyguts_t.
|
static |
Definition at line 4080 of file commentscan.l.
References yyguts_t.
Definition at line 5156 of file commentscan.l.
References DString::empty(), Guard_ElseIf, Guard_If, Guard_IfNot, CondParser::parse(), DString::stripWhiteSpace(), and yyguts_t.
|
static |
Definition at line 3176 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 3989 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 3975 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 4073 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 4059 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 4003 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 4087 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 4045 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 4038 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 4133 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 3961 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 4017 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 4147 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 4161 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 3236 of file commentscan.l.
References checkStructuralIndicator(), and yyguts_t.
|
static |
Definition at line 3807 of file commentscan.l.
|
static |
Definition at line 3784 of file commentscan.l.
References addOutput(), and yyguts_t.
|
static |
Definition at line 3825 of file commentscan.l.
References Guard_IfNot, and yyguts_t.
|
static |
Definition at line 3776 of file commentscan.l.
References addOutput(), and yyguts_t.
|
static |
Definition at line 3593 of file commentscan.l.
References addAnchor(), addOutput(), join(), DString::lower(), DString::mid(), DString::startsWith(), DString::stripWhiteSpace(), and yyguts_t.
|
static |
Definition at line 4031 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 4024 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 3939 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 4316 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 4094 of file commentscan.l.
References DString::empty(), DString::lower(), DString::stripWhiteSpace(), stripWhiteSpace(), warn, and yyguts_t.
|
static |
Definition at line 3227 of file commentscan.l.
References checkStructuralIndicator(), and yyguts_t.
|
static |
Definition at line 4176 of file commentscan.l.
References addOutput(), Config_getBool, and yyguts_t.
|
static |
Definition at line 3799 of file commentscan.l.
References addOutput(), and yyguts_t.
|
static |
Definition at line 3792 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 3764 of file commentscan.l.
References addOutput(), and yyguts_t.
|
static |
Definition at line 3253 of file commentscan.l.
References makeStructuralIndicator(), OutputDoc, setOutput(), and yyguts_t.
|
static |
Definition at line 3482 of file commentscan.l.
|
static |
Definition at line 3670 of file commentscan.l.
References addOutput(), MermaidManager::instance(), MermaidManager::setHasInlineDiagrams(), and yyguts_t.
|
static |
Definition at line 3167 of file commentscan.l.
References checkStructuralIndicator(), and yyguts_t.
|
static |
Definition at line 3361 of file commentscan.l.
References makeStructuralIndicator(), and yyguts_t.
|
static |
Definition at line 3133 of file commentscan.l.
References checkStructuralIndicator(), and yyguts_t.
|
static |
Definition at line 3354 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 3947 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 3090 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 3141 of file commentscan.l.
References makeStructuralIndicator(), and yyguts_t.
|
static |
Definition at line 3245 of file commentscan.l.
References makeStructuralIndicator(), and yyguts_t.
|
static |
Definition at line 3278 of file commentscan.l.
References addOutput(), and yyguts_t.
|
static |
Definition at line 3422 of file commentscan.l.
References addOutput(), warn, and yyguts_t.
|
static |
Definition at line 4213 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 4220 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 4227 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 4234 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 3183 of file commentscan.l.
References checkStructuralIndicator(), and yyguts_t.
|
static |
Definition at line 4241 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 4248 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 4206 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 4168 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 3346 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 3218 of file commentscan.l.
References checkStructuralIndicator(), and yyguts_t.
|
static |
Definition at line 4140 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 4154 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 3496 of file commentscan.l.
References addOutput(), and yyguts_t.
|
static |
Definition at line 3454 of file commentscan.l.
|
static |
Definition at line 3468 of file commentscan.l.
|
static |
Definition at line 3534 of file commentscan.l.
References makeStructuralIndicator(), and yyguts_t.
|
static |
Definition at line 3295 of file commentscan.l.
References addOutput(), and yyguts_t.
|
static |
Definition at line 3542 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 3504 of file commentscan.l.
References addOutput(), SectionType::MaxLevel, OutputDoc, SectionType::Paragraph, SectionType::Section, setOutput(), SectionType::Subparagraph, SectionType::Subsection, SectionType::Subsubparagraph, SectionType::Subsubsection, and yyguts_t.
|
static |
Definition at line 3996 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 3954 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 4010 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 4199 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 3210 of file commentscan.l.
References checkStructuralIndicator(), and yyguts_t.
|
static |
Definition at line 3556 of file commentscan.l.
References addOutput(), warn, and yyguts_t.
|
static |
Definition at line 3386 of file commentscan.l.
References OutputXRef, setOutput(), XRef_Test, and yyguts_t.
|
static |
Definition at line 4255 of file commentscan.l.
References DString::data(), DString::empty(), DString::find(), DString::left(), DString::lower(), SectionType::MaxLevel, DString::mid(), DString::npos, qPrint(), DString::stripWhiteSpace(), stripWhiteSpace(), warn, and yyguts_t.
|
static |
Definition at line 3377 of file commentscan.l.
References OutputXRef, setOutput(), XRef_Todo, and yyguts_t.
|
static |
Definition at line 3201 of file commentscan.l.
References checkStructuralIndicator(), and yyguts_t.
|
static |
Definition at line 3549 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 3124 of file commentscan.l.
References Entry::GROUPDOC_WEAK, makeStructuralIndicator(), and yyguts_t.
|
static |
|
static |
Definition at line 4385 of file commentscan.l.
References yyguts_t.
Referenced by CommentScanner::parseCommentBlock().
|
static |
Definition at line 4429 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 4403 of file commentscan.l.
References ASSERT, and yyguts_t.
Referenced by handleAddToGroup(), handleDefGroup(), handleDir(), handleExample(), handleFile(), handleMainpage(), handleName(), handlePackage(), handlePage(), handleRequirement(), and handleWeakGroup().
|
static |
Definition at line 4619 of file commentscan.l.
References SectionType::Anchor, and SectionType::MaxLevel.
Referenced by addSection().
|
inlinestatic |
Definition at line 4717 of file commentscan.l.
References addXRefItem(), ASSERT, reg::match(), nonBrief_re, OutputBrief, OutputDoc, OutputField, OutputInbody, OutputXRef, DString::setNum(), stripTrailingWhiteSpace(), theTranslator, Translator::trBug(), Translator::trBugList(), Translator::trDeprecated(), Translator::trDeprecatedList(), Translator::trTest(), Translator::trTestList(), Translator::trTodo(), Translator::trTodoList(), XRef_Bug, XRef_Deprecated, XRef_Item, XRef_None, XRef_Test, XRef_Todo, and yyguts_t.
Referenced by endBrief(), handleBrief(), handleBug(), handleCopyBrief(), handleCopyDetails(), handleCopyDoc(), handleDeprecated(), handleDetails(), handleEndParBlock(), handleMainpage(), handleSection(), handleTest(), handleTodo(), and CommentScanner::parseCommentBlock().
|
static |
|
static |
|
static |
Definition at line 4689 of file commentscan.l.
References DString::at(), DString::data(), DString::length(), literal_at(), and DString::resize().
Referenced by setOutput().
| int yylex | ( | yyscan_t | yyscanner | ) |
Definition at line 725 of file commentscan.l.
|
static |
Definition at line 4978 of file commentscan.l.
References yyguts_t.
|
static |
Definition at line 214 of file commentscan.l.
Referenced by CommentScanner::isCommand().
|
static |
Definition at line 545 of file commentscan.l.
Referenced by addCite().
|
static |
Definition at line 544 of file commentscan.l.
Referenced by addFormula().
|
static |
Definition at line 543 of file commentscan.l.
Referenced by addAnchor(), addRequirementId(), addSection(), and addXRefItemToEntry().
|
static |
Referenced by endBrief(), and setOutput().