Doxygen
Loading...
Searching...
No Matches
DocParserContext Struct Reference

Parser's context to store all global variables. More...

#include <src/docparser_p.h>

Collaboration diagram for DocParserContext:

Public Attributes

const Definitionscope = nullptr
DString context
bool inSeeBlock = false
bool inCodeStyle = false
bool xmlComment = false
bool insideHtmlLink = false
DocNodeStack nodeStack
DocStyleChangeStack styleStack
DocStyleChangeStack initialStyleStack
DefinitionStack copyStack
DString fileName
DString relPath
bool hasParamCommand = false
bool hasReturnCommand = false
StringMultiSet retvalsFound
StringMultiSet paramsFound
int paramPosition = 0
int numParameters = 0
const MemberDefmemberDef = nullptr
bool isExample = false
DString exampleName
DString searchUrl
DString prefix
SrcLangExt lang = SrcLangExt::Cpp
DString includeFileName
DString includeFileText
size_t includeFileOffset = 0
size_t includeFileLength = 0
int includeFileLine
bool includeFileShowLineNo = false
bool stripCodeComments = true
TokenInfotoken = nullptr
int lineNo = 0
bool markdownSupport = false
bool autolinkSupport = false

Detailed Description

Parser's context to store all global variables.

Definition at line 59 of file docparser_p.h.

Member Data Documentation

◆ autolinkSupport

bool DocParserContext::autolinkSupport = false

◆ context

◆ copyStack

DefinitionStack DocParserContext::copyStack

Definition at line 70 of file docparser_p.h.

Referenced by DocPara::handleInheritDoc(), and DocParser::processCopyDoc().

◆ exampleName

◆ fileName

◆ hasParamCommand

◆ hasReturnCommand

◆ includeFileLength

size_t DocParserContext::includeFileLength = 0

◆ includeFileLine

int DocParserContext::includeFileLine

Definition at line 91 of file docparser_p.h.

Referenced by DocInclude::parse(), and DocIncOperator::parse().

◆ includeFileName

DString DocParserContext::includeFileName

Definition at line 87 of file docparser_p.h.

Referenced by DocInclude::parse(), and DocIncOperator::parse().

◆ includeFileOffset

size_t DocParserContext::includeFileOffset = 0

◆ includeFileShowLineNo

bool DocParserContext::includeFileShowLineNo = false

Definition at line 92 of file docparser_p.h.

Referenced by DocInclude::parse(), and DocIncOperator::parse().

◆ includeFileText

DString DocParserContext::includeFileText

◆ inCodeStyle

◆ initialStyleStack

◆ inSeeBlock

◆ insideHtmlLink

◆ isExample

◆ lang

SrcLangExt DocParserContext::lang = SrcLangExt::Cpp

◆ lineNo

int DocParserContext::lineNo = 0

Definition at line 96 of file docparser_p.h.

◆ markdownSupport

bool DocParserContext::markdownSupport = false

◆ memberDef

◆ nodeStack

◆ numParameters

int DocParserContext::numParameters = 0

◆ paramPosition

int DocParserContext::paramPosition = 0

◆ paramsFound

◆ prefix

DString DocParserContext::prefix

Definition at line 84 of file docparser_p.h.

Referenced by DocLink::DocLink(), DocRef::DocRef(), and DocParser::handlePrefix().

◆ relPath

◆ retvalsFound

◆ scope

const Definition* DocParserContext::scope = nullptr

◆ searchUrl

◆ stripCodeComments

bool DocParserContext::stripCodeComments = true

Definition at line 93 of file docparser_p.h.

Referenced by DocInclude::parse(), and DocIncOperator::parse().

◆ styleStack

◆ token

TokenInfo* DocParserContext::token = nullptr

Definition at line 95 of file docparser_p.h.

Referenced by DocParser::checkArgumentName(), checkIfHtmlEndTagEndsAutoList(), DocParser::checkRetvalName(), DocParser::defaultHandleTitleAndSize(), DocParser::defaultHandleToken(), DocParser::errorHandleDefaultToken(), DocParser::handleAnchor(), DocParser::handleCite(), DocPara::handleCommand(), DocPara::handleDoxyConfig(), DocPara::handleEmoji(), DocPara::handleFile(), DocPara::handleHtmlStartTag(), DocParser::handleIFile(), DocParser::handleImage(), DocPara::handleInclude(), DocPara::handleIncludeOperator(), DocParser::handleInternalRef(), DocPara::handleLink(), DocParser::handleLinkedWord(), DocParser::handleParameterType(), DocParser::handlePrefix(), DocParser::handleRef(), DocPara::handleSection(), DocPara::handleShowDate(), DocPara::handleStartCode(), DocParser::handleStyleArgument(), DocPara::handleXRefItem(), DocPara::injectToken(), DocAutoList::parse(), DocHRef::parse(), DocHtmlDescData::parse(), DocHtmlDescList::parse(), DocHtmlDescTitle::parse(), DocHtmlHeader::parse(), DocHtmlList::parse(), DocHtmlRow::parse(), DocHtmlTable::parse(), DocIndexEntry::parse(), DocInternal::parse(), DocLink::parse(), DocPara::parse(), DocParamList::parse(), DocRoot::parse(), DocSecRefList::parse(), DocSection::parse(), DocText::parse(), DocSimpleSect::parseRcs(), DocHtmlList::parseXml(), DocHtmlRow::parseXml(), DocHtmlTable::parseXml(), DocParamList::parseXml(), DocParser::popContext(), DocParser::pushContext(), skipSpacesForTable(), validatingParseDoc(), validatingParseText(), and validatingParseTitle().

◆ xmlComment

bool DocParserContext::xmlComment = false

The documentation for this struct was generated from the following file: