|
Doxygen
|
#include <stdint.h>#include <map>#include <stack>#include <string>#include <mutex>#include <functional>#include <unordered_map>#include <algorithm>#include <stdio.h>#include <stdlib.h>#include <assert.h>#include <ctype.h>#include "dstring.h"#include "fileinfo.h"#include "cite.h"#include "commentscan.h"#include "condparser.h"#include "config.h"#include "debug.h"#include "docgroup.h"#include "doxygen.h"#include "entry.h"#include "formula.h"#include "language.h"#include "mermaid.h"#include "message.h"#include "parserintf.h"#include "reflist.h"#include "section.h"#include "regex.h"#include "util.h"#include "trace.h"#include "stringutil.h"#include "markdown.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 | 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 , 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 | 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 | 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 &listName, 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 574 of file commentscan.l.
Referenced by DocTokenizer::unputString().
| #define YY_INPUT | ( | buf, | |
| result, | |||
| max_size ) |
Definition at line 579 of file commentscan.l.
| #define YY_NEVER_INTERACTIVE 1 |
Definition at line 424 of file commentscan.l.
| #define YY_NO_INPUT 1 |
Definition at line 422 of file commentscan.l.
| #define YY_NO_UNISTD_H 1 |
Definition at line 423 of file commentscan.l.
| #define YY_TYPEDEF_YY_SCANNER_T |
Definition at line 23 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 464 of file commentscan.l.
| typedef EntryType(*) MakeEntryType() |
Definition at line 187 of file commentscan.l.
| typedef yyguts_t* yyscan_t |
Definition at line 25 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 445 of file commentscan.l.
| enum OutputContext |
| Enumerator | |
|---|---|
| OutputDoc | |
| OutputBrief | |
| OutputXRef | |
| OutputInbody | |
Definition at line 437 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 427 of file commentscan.l.
Definition at line 4835 of file commentscan.l.
References SectionManager::add(), addAnchor(), SectionType::Anchor, DString::empty(), SectionInfo::fileName(), LinkedMap< T, Hash, KeyEqual, Map >::find(), g_sectionMutex, SectionManager::instance(), SectionInfo::lineNr(), SectionInfo::ref(), SectionManager::replace(), and warn.
Referenced by addAnchor(), and handleImage().
|
static |
Definition at line 4638 of file commentscan.l.
References addCite(), g_citeMutex, CitationManager::insert(), CitationManager::instance(), and DString::left().
Referenced by addCite().
Definition at line 4562 of file commentscan.l.
References addFormula(), FormulaManager::addFormula(), g_formulaMutex, FormulaManager::instance(), DString::sprintf(), and DString::stripWhiteSpace().
Referenced by addFormula().
|
static |
Definition at line 4890 of file commentscan.l.
References addIline(), and addOutput().
Referenced by addIline(), and endBrief().
|
static |
Definition at line 4897 of file commentscan.l.
References addIlineBreak(), and addOutput().
Referenced by addIlineBreak().
|
inlinestatic |
Definition at line 4884 of file commentscan.l.
References addOutput().
|
inlinestatic |
Definition at line 4868 of file commentscan.l.
References addOutput().
Referenced by addIline(), addIlineBreak(), addOutput(), addOutput(), addOutput(), 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 4876 of file commentscan.l.
References addOutput().
|
static |
Definition at line 4420 of file commentscan.l.
References SectionManager::add(), addRequirementId(), SectionInfo::fileName(), LinkedMap< T, Hash, KeyEqual, Map >::find(), g_sectionMutex, SectionManager::instance(), SectionInfo::lineNr(), SectionType::Requirement, and warn.
Referenced by addRequirementId().
|
static |
Definition at line 4591 of file commentscan.l.
References SectionManager::add(), addSection(), DString::empty(), SectionInfo::fileName(), LinkedMap< T, Hash, KeyEqual, Map >::find(), g_sectionMutex, SectionManager::instance(), SectionInfo::lineNr(), SectionInfo::ref(), SectionManager::replace(), sectionLevelToType(), and warn.
Referenced by addSection().
|
static |
Definition at line 4527 of file commentscan.l.
References addXRefItem(), and addXRefItemToEntry().
Referenced by addXRefItem(), and setOutput().
|
static |
Definition at line 4445 of file commentscan.l.
References LinkedMap< T, Hash, KeyEqual, Map >::add(), RefList::add(), SectionManager::add(), addXRefItemToEntry(), SectionType::Anchor, Entry::anchors, 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(), addXRefItem(), and addXRefItemToEntry().
|
static |
Definition at line 4950 of file commentscan.l.
References checkFormula(), and warn.
Referenced by checkFormula(), and CommentScanner::parseCommentBlock().
|
static |
Definition at line 4364 of file commentscan.l.
References checkStructuralIndicator().
Referenced by checkStructuralIndicator(), handleCategory(), handleClass(), handleConcept(), handleDef(), handleEnum(), handleFn(), handleIdlException(), handleInterface(), handleModule(), handleNamespace(), handleProtocol(), handleStruct(), and handleUnion().
|
static |
Definition at line 4904 of file commentscan.l.
References addIline(), addOutput(), endBrief(), lineCount, reg::match(), nonBrief_re, OutputDoc, setOutput(), and stripWhiteSpace().
Referenced by endBrief().
|
static |
Definition at line 4539 of file commentscan.l.
References DString::empty(), escapeLabel(), and DString::size().
Referenced by escapeLabel().
Definition at line 3663 of file commentscan.l.
References DString::DString(), fileInfoLookup(), and DString::find().
Referenced by fileInfoLookup(), handleFileInfoResult(), and stateToString().
|
inlinestatic |
Definition at line 582 of file commentscan.l.
References getLexerFILE().
Referenced by getLexerFILE(), getLexerFILE(), getLexerFILE(), and getLexerFILE().
|
static |
Definition at line 3646 of file commentscan.l.
References addOutput(), and handleAddIndex().
Referenced by handleAddIndex().
|
static |
Definition at line 3103 of file commentscan.l.
References Entry::GROUPDOC_ADD, handleAddToGroup(), and makeStructuralIndicator().
Referenced by handleAddToGroup().
|
static |
Definition at line 3550 of file commentscan.l.
References addOutput(), handleAnchor(), and join().
Referenced by handleAnchor().
|
static |
Definition at line 3049 of file commentscan.l.
References handleBrief(), OutputBrief, and setOutput().
Referenced by handleBrief().
|
static |
Definition at line 3368 of file commentscan.l.
References handleBug(), OutputXRef, setOutput(), and XRef_Bug.
Referenced by handleBug().
|
static |
Definition at line 3950 of file commentscan.l.
References handleCallergraph().
Referenced by handleCallergraph().
|
static |
Definition at line 3936 of file commentscan.l.
References handleCallgraph().
Referenced by handleCallgraph().
|
static |
Definition at line 3180 of file commentscan.l.
References checkStructuralIndicator(), and handleCategory().
Referenced by handleCategory().
|
static |
Definition at line 3591 of file commentscan.l.
References addOutput(), DString::DString(), handleCite(), and join().
Referenced by handleCite().
|
static |
Definition at line 3137 of file commentscan.l.
References checkStructuralIndicator(), and handleClass().
Referenced by handleClass().
|
static |
Definition at line 4034 of file commentscan.l.
References handleCollaborationgraph().
Referenced by handleCollaborationgraph().
|
static |
Definition at line 3146 of file commentscan.l.
References checkStructuralIndicator(), and handleConcept().
Referenced by handleConcept().
|
static |
Definition at line 4299 of file commentscan.l.
References addOutput(), handleCopyBrief(), OutputBrief, and setOutput().
Referenced by handleCopyBrief().
|
static |
Definition at line 4317 of file commentscan.l.
References addOutput(), handleCopyDetails(), OutputDoc, and setOutput().
Referenced by handleCopyDetails().
|
static |
Definition at line 4330 of file commentscan.l.
References addOutput(), handleCopyDoc(), OutputBrief, and setOutput().
Referenced by handleCopyDoc().
|
static |
Definition at line 3067 of file commentscan.l.
References checkStructuralIndicator(), and handleDef().
Referenced by handleDef().
|
static |
Definition at line 3094 of file commentscan.l.
References Entry::GROUPDOC_NORMAL, handleDefGroup(), and makeStructuralIndicator().
Referenced by handleDefGroup().
|
static |
Definition at line 3377 of file commentscan.l.
References handleDeprecated(), OutputXRef, setOutput(), and XRef_Deprecated.
Referenced by handleDeprecated().
|
static |
Definition at line 3307 of file commentscan.l.
References addOutput(), handleDetails(), OutputBrief, OutputDoc, and setOutput().
Referenced by handleDetails().
|
static |
Definition at line 3276 of file commentscan.l.
References handleDir(), and makeStructuralIndicator().
Referenced by handleDir().
|
static |
Definition at line 4020 of file commentscan.l.
References handleDirectoryGraph().
Referenced by handleDirectoryGraph().
|
static |
Definition at line 3838 of file commentscan.l.
References handleElse(), and warn.
Referenced by handleElse().
|
static |
Definition at line 3811 of file commentscan.l.
References Guard_ElseIf, handleElseIf(), and warn.
Referenced by handleElseIf().
|
static |
Definition at line 3872 of file commentscan.l.
References addOutput(), handleEndIf(), and warn.
Referenced by handleEndIf().
|
static |
Definition at line 3413 of file commentscan.l.
References addOutput(), handleEndParBlock(), OutputDoc, setOutput(), and warn.
Referenced by handleEndParBlock().
|
static |
Definition at line 3086 of file commentscan.l.
References checkStructuralIndicator(), and handleEnum().
Referenced by handleEnum().
|
static |
Definition at line 3285 of file commentscan.l.
References handleExample(), makeStructuralIndicator(), and warn.
Referenced by handleExample().
|
static |
Definition at line 4291 of file commentscan.l.
References handleExtends().
Referenced by handleExtends().
|
static |
Definition at line 3246 of file commentscan.l.
References handleFile(), and makeStructuralIndicator().
Referenced by handleFile().
|
static |
Definition at line 3654 of file commentscan.l.
References handleFileInfo(), and handleFileInfoResult().
Referenced by handleFileInfo().
|
static |
Definition at line 3679 of file commentscan.l.
References addOutput(), Config_getBool, DString::DString(), DString::empty(), fileInfoLookup(), handleFileInfoResult(), DString::lower(), DString::str(), stripFromPath(), DString::stripWhiteSpace(), and warn.
Referenced by handleFileInfo(), handleFileInfoResult(), and handleFileInfoSection().
|
static |
Definition at line 3658 of file commentscan.l.
References handleFileInfoResult(), and handleFileInfoSection().
Referenced by handleFileInfoSection().
|
static |
Definition at line 3056 of file commentscan.l.
References checkStructuralIndicator(), and handleFn().
Referenced by handleFn().
|
static |
Definition at line 3611 of file commentscan.l.
References addOutput(), DString::DString(), handleFormatBlock(), MermaidManager::instance(), join(), and MermaidManager::setHasInlineDiagrams().
Referenced by handleFormatBlock().
|
static |
Definition at line 4048 of file commentscan.l.
References handleGroupgraph().
Referenced by handleGroupgraph().
Definition at line 5112 of file commentscan.l.
References DString::empty(), Guard_ElseIf, Guard_If, Guard_IfNot, handleGuard(), CondParser::parse(), and DString::stripWhiteSpace().
Referenced by handleGuard().
|
static |
Definition at line 3164 of file commentscan.l.
References handleHeaderFile().
Referenced by handleHeaderFile().
|
static |
Definition at line 3957 of file commentscan.l.
References handleHideCallergraph().
Referenced by handleHideCallergraph().
|
static |
Definition at line 3943 of file commentscan.l.
References handleHideCallgraph().
Referenced by handleHideCallgraph().
|
static |
Definition at line 4041 of file commentscan.l.
References handleHideCollaborationgraph().
Referenced by handleHideCollaborationgraph().
|
static |
Definition at line 4027 of file commentscan.l.
References handleHideDirectoryGraph().
Referenced by handleHideDirectoryGraph().
|
static |
Definition at line 3971 of file commentscan.l.
References handleHideEnumValues().
Referenced by handleHideEnumValues().
|
static |
Definition at line 4055 of file commentscan.l.
References handleHideGroupgraph().
Referenced by handleHideGroupgraph().
|
static |
Definition at line 4013 of file commentscan.l.
References handleHideIncludedBygraph().
Referenced by handleHideIncludedBygraph().
|
static |
Definition at line 4006 of file commentscan.l.
References handleHideIncludegraph().
Referenced by handleHideIncludegraph().
|
static |
Definition at line 4101 of file commentscan.l.
References handleHideInheritanceGraph().
Referenced by handleHideInheritanceGraph().
|
static |
Definition at line 3929 of file commentscan.l.
References handleHideInitializer().
Referenced by handleHideInitializer().
|
static |
Definition at line 3985 of file commentscan.l.
References handleHideInlineSource().
Referenced by handleHideInlineSource().
|
static |
Definition at line 4115 of file commentscan.l.
References handleHideReferencedByRelation().
Referenced by handleHideReferencedByRelation().
|
static |
Definition at line 4129 of file commentscan.l.
References handleHideReferencesRelation().
Referenced by handleHideReferencesRelation().
|
static |
Definition at line 3216 of file commentscan.l.
References checkStructuralIndicator(), and handleIdlException().
Referenced by handleIdlException().
|
static |
Definition at line 3775 of file commentscan.l.
References Guard_If, and handleIf().
Referenced by handleIf().
|
static |
Definition at line 3752 of file commentscan.l.
References addOutput(), and handleIFile().
Referenced by handleIFile().
|
static |
Definition at line 3793 of file commentscan.l.
References Guard_IfNot, and handleIfNot().
Referenced by handleIfNot().
|
static |
Definition at line 3744 of file commentscan.l.
References addOutput(), and handleILine().
Referenced by handleILine().
|
static |
Definition at line 3566 of file commentscan.l.
References addAnchor(), addOutput(), DString::DString(), handleImage(), join(), DString::lower(), DString::mid(), DString::startsWith(), and DString::stripWhiteSpace().
Referenced by handleImage().
|
static |
Definition at line 3999 of file commentscan.l.
References handleIncludedBygraph().
Referenced by handleIncludedBygraph().
|
static |
Definition at line 3992 of file commentscan.l.
References handleIncludegraph().
Referenced by handleIncludegraph().
|
static |
Definition at line 3907 of file commentscan.l.
References handleIngroup().
Referenced by handleIngroup().
|
static |
Definition at line 4284 of file commentscan.l.
References handleInherit().
Referenced by handleInherit().
|
static |
Definition at line 4062 of file commentscan.l.
References DString::DString(), DString::empty(), handleInheritanceGraph(), DString::lower(), DString::stripWhiteSpace(), stripWhiteSpace(), and warn.
Referenced by handleInheritanceGraph().
|
static |
Definition at line 3207 of file commentscan.l.
References checkStructuralIndicator(), and handleInterface().
Referenced by handleInterface().
|
static |
Definition at line 4144 of file commentscan.l.
References addOutput(), Config_getBool, and handleInternal().
Referenced by handleInternal().
|
static |
Definition at line 3767 of file commentscan.l.
References addOutput(), and handleIPrefix().
Referenced by handleIPrefix().
|
static |
Definition at line 3760 of file commentscan.l.
References handleIRaise().
Referenced by handleIRaise().
|
static |
Definition at line 3732 of file commentscan.l.
References addOutput(), DString::DString(), and handleLineInfo().
Referenced by handleLineInfo().
|
static |
Definition at line 3233 of file commentscan.l.
References handleMainpage(), makeStructuralIndicator(), OutputDoc, and setOutput().
Referenced by handleMainpage().
|
static |
Definition at line 3455 of file commentscan.l.
References handleMemberOf(), and warn.
Referenced by handleMemberOf().
|
static |
Definition at line 3638 of file commentscan.l.
References addOutput(), handleMermaidFile(), MermaidManager::instance(), and MermaidManager::setHasInlineDiagrams().
Referenced by handleMermaidFile().
|
static |
Definition at line 3155 of file commentscan.l.
References checkStructuralIndicator(), and handleModule().
Referenced by handleModule().
|
static |
Definition at line 3334 of file commentscan.l.
References handleName(), and makeStructuralIndicator().
Referenced by handleName().
|
static |
Definition at line 3121 of file commentscan.l.
References checkStructuralIndicator(), and handleNamespace().
Referenced by handleNamespace().
|
static |
Definition at line 3327 of file commentscan.l.
References handleNoop().
Referenced by handleNoop().
|
static |
Definition at line 3915 of file commentscan.l.
References handleNoSubGrouping().
Referenced by handleNoSubGrouping().
|
static |
Definition at line 3078 of file commentscan.l.
References handleOverload().
Referenced by handleOverload().
|
static |
Definition at line 3129 of file commentscan.l.
References handlePackage(), and makeStructuralIndicator().
Referenced by handlePackage().
|
static |
Definition at line 3225 of file commentscan.l.
References handlePage(), and makeStructuralIndicator().
Referenced by handlePage().
|
static |
Definition at line 3258 of file commentscan.l.
References addOutput(), and handleParam().
Referenced by handleParam().
|
static |
Definition at line 3395 of file commentscan.l.
References addOutput(), handleParBlock(), and warn.
Referenced by handleParBlock().
|
static |
Definition at line 4181 of file commentscan.l.
References handlePrivate().
Referenced by handlePrivate().
|
static |
Definition at line 4188 of file commentscan.l.
References handlePrivateSection().
Referenced by handlePrivateSection().
|
static |
Definition at line 4195 of file commentscan.l.
References handleProtected().
Referenced by handleProtected().
|
static |
Definition at line 4202 of file commentscan.l.
References handleProtectedSection().
Referenced by handleProtectedSection().
|
static |
Definition at line 3171 of file commentscan.l.
References checkStructuralIndicator(), and handleProtocol().
Referenced by handleProtocol().
|
static |
Definition at line 4209 of file commentscan.l.
References handlePublic().
Referenced by handlePublic().
|
static |
Definition at line 4216 of file commentscan.l.
References handlePublicSection().
Referenced by handlePublicSection().
|
static |
Definition at line 4174 of file commentscan.l.
References handlePure().
Referenced by handlePure().
|
static |
Definition at line 4136 of file commentscan.l.
References handleQualifier().
Referenced by handleQualifier().
|
static |
Definition at line 3319 of file commentscan.l.
References handleRaiseWarning().
Referenced by handleRaiseWarning().
|
static |
Definition at line 4108 of file commentscan.l.
References handleReferencedByRelation().
Referenced by handleReferencedByRelation().
|
static |
Definition at line 4122 of file commentscan.l.
References handleReferencesRelation().
Referenced by handleReferencesRelation().
|
static |
Definition at line 3469 of file commentscan.l.
References addOutput(), and handleRefItem().
Referenced by handleRefItem().
|
static |
Definition at line 3427 of file commentscan.l.
References handleRelated(), and warn.
Referenced by handleRelated().
|
static |
Definition at line 3441 of file commentscan.l.
References handleRelatedAlso(), and warn.
Referenced by handleRelatedAlso().
|
static |
Definition at line 3507 of file commentscan.l.
References handleRequirement(), and makeStructuralIndicator().
Referenced by handleRequirement().
|
static |
Definition at line 3268 of file commentscan.l.
References addOutput(), and handleRetval().
Referenced by handleRetval().
|
static |
Definition at line 3515 of file commentscan.l.
References handleSatisfies().
Referenced by handleSatisfies().
|
static |
Definition at line 3477 of file commentscan.l.
References addOutput(), handleSection(), SectionType::MaxLevel, OutputDoc, SectionType::Paragraph, SectionType::Section, setOutput(), SectionType::Subparagraph, SectionType::Subsection, SectionType::Subsubparagraph, and SectionType::Subsubsection.
Referenced by handleSection().
|
static |
Definition at line 3964 of file commentscan.l.
References handleShowEnumValues().
Referenced by handleShowEnumValues().
|
static |
Definition at line 3922 of file commentscan.l.
References handleShowInitializer().
Referenced by handleShowInitializer().
|
static |
Definition at line 3978 of file commentscan.l.
References handleShowInlineSource().
Referenced by handleShowInlineSource().
|
static |
Definition at line 4167 of file commentscan.l.
References handleStatic().
Referenced by handleStatic().
|
static |
Definition at line 3198 of file commentscan.l.
References checkStructuralIndicator(), and handleStruct().
Referenced by handleStruct().
|
static |
Definition at line 3529 of file commentscan.l.
References addOutput(), handleSubpage(), and warn.
Referenced by handleSubpage().
|
static |
Definition at line 3359 of file commentscan.l.
References handleTest(), OutputXRef, setOutput(), and XRef_Test.
Referenced by handleTest().
|
static |
Definition at line 4223 of file commentscan.l.
References DString::data(), DString::DString(), DString::empty(), DString::find(), handleToc(), DString::left(), DString::lower(), SectionType::MaxLevel, DString::mid(), DString::npos, qPrint(), DString::stripWhiteSpace(), stripWhiteSpace(), and warn.
Referenced by handleToc().
|
static |
Definition at line 3350 of file commentscan.l.
References handleTodo(), OutputXRef, setOutput(), and XRef_Todo.
Referenced by handleTodo().
|
static |
Definition at line 3189 of file commentscan.l.
References checkStructuralIndicator(), and handleUnion().
Referenced by handleUnion().
|
static |
Definition at line 3522 of file commentscan.l.
References handleVerifies().
Referenced by handleVerifies().
|
static |
Definition at line 3112 of file commentscan.l.
References Entry::GROUPDOC_WEAK, handleWeakGroup(), and makeStructuralIndicator().
Referenced by handleWeakGroup().
|
static |
Definition at line 3387 of file commentscan.l.
References handleXRefItem(), and XRef_Item.
Referenced by handleXRefItem().
|
static |
Definition at line 4353 of file commentscan.l.
References initParser().
Referenced by initParser(), initParser(), initParser(), CommentScanner::parseCommentBlock(), parseMain(), parseMain(), and stateToString().
|
static |
Definition at line 4397 of file commentscan.l.
References lineCount.
|
static |
Definition at line 4371 of file commentscan.l.
References makeStructuralIndicator().
Referenced by handleAddToGroup(), handleDefGroup(), handleDir(), handleExample(), handleFile(), handleMainpage(), handleName(), handlePackage(), handlePage(), handleRequirement(), handleWeakGroup(), and makeStructuralIndicator().
|
static |
Definition at line 4585 of file commentscan.l.
References SectionType::Anchor, SectionType::MaxLevel, sectionLevelToType(), and SectionType::SectionType().
Referenced by addSection(), and sectionLevelToType().
|
inlinestatic |
Definition at line 4683 of file commentscan.l.
References addXRefItem(), ASSERT, DString::DString(), reg::match(), nonBrief_re, OutputBrief, OutputDoc, OutputInbody, OutputXRef, setOutput(), 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, and XRef_Todo.
Referenced by endBrief(), handleBrief(), handleBug(), handleCopyBrief(), handleCopyDetails(), handleCopyDoc(), handleDeprecated(), handleDetails(), handleEndParBlock(), handleMainpage(), handleSection(), handleTest(), handleTodo(), CommentScanner::parseCommentBlock(), and setOutput().
|
static |
References fileInfoLookup(), and stateToString().
Referenced by scanner_abort(), stateToString(), stateToString(), stateToString(), and stateToString().
|
static |
Definition at line 4406 of file commentscan.l.
References DString::at(), DString::length(), DString::mid(), and stripQuotes().
Referenced by stateToString(), stripQuotes(), and stripQuotes().
|
static |
Definition at line 4655 of file commentscan.l.
References DString::at(), DString::data(), DString::length(), literal_at(), DString::resize(), and stripTrailingWhiteSpace().
Referenced by setOutput(), and stripTrailingWhiteSpace().
| int yylex | ( | yyscan_t | yyscanner | ) |
Definition at line 721 of file commentscan.l.
|
static |
Definition at line 4934 of file commentscan.l.
References yyread().
Referenced by stateToString(), stateToString(), yyread(), yyread(), yyread(), and yyread().
|
static |
Definition at line 214 of file commentscan.l.
Referenced by CommentScanner::isCommand().
|
static |
Definition at line 542 of file commentscan.l.
Referenced by addCite().
|
static |
Definition at line 541 of file commentscan.l.
Referenced by addFormula().
|
static |
Definition at line 540 of file commentscan.l.
Referenced by addAnchor(), addRequirementId(), addSection(), and addXRefItemToEntry().
|
static |
Referenced by endBrief(), and setOutput().