|
Doxygen
|
#include <src/doctokenizer.h>
Classes | |
| class | AutoSaveState |
| struct | Private |
Private Member Functions | |
| void | pushState () |
| void | popState () |
| void | pushContext () |
| bool | popContext () |
Private Attributes | |
| std::unique_ptr< Private > | p |
Friends | |
| class | AutoSaveState |
| class | DocParser |
Definition at line 180 of file doctokenizer.h.
| DocTokenizer::DocTokenizer | ( | ) |
Definition at line 1825 of file doctokenizer.l.
References Debug::isFlagSet(), Debug::Lex_doctokenizer, and p.
Referenced by DocTokenizer::AutoSaveState::AutoSaveState().
| DocTokenizer::~DocTokenizer | ( | ) |
Definition at line 1834 of file doctokenizer.l.
References p.
| void DocTokenizer::cleanup | ( | ) |
| void DocTokenizer::endAutoList | ( | ) |
Definition at line 2274 of file doctokenizer.l.
References p.
Referenced by DocAutoList::parse().
| void DocTokenizer::findSections | ( | const DString & | input, |
| const Definition * | d, | ||
| const DString & | fileName ) |
Definition at line 1852 of file doctokenizer.l.
References DString::data(), DString::empty(), Debug::Lex_doctokenizer, p, and qPrint().
Referenced by docFindSections().
| DString DocTokenizer::getFileName | ( | ) | const |
Definition at line 2288 of file doctokenizer.l.
References p.
Referenced by DocParser::pushContext().
| int DocTokenizer::getLineNr | ( | ) | const |
Definition at line 2302 of file doctokenizer.l.
References p.
Referenced by DocParser::defaultHandleToken(), DocAnchor::DocAnchor(), DocCite::DocCite(), DocEmoji::DocEmoji(), DocFormula::DocFormula(), DocHtmlCaption::DocHtmlCaption(), DocLink::DocLink(), DocRef::DocRef(), DocParser::errorHandleDefaultToken(), DocParser::findAndCopyImage(), DocParser::handleAHref(), DocParser::handleAnchor(), DocParser::handleCite(), DocPara::handleFile(), DocParser::handleIFile(), DocParser::handleILine(), DocParser::handleImage(), DocParser::handleImg(), DocParser::handleInternalRef(), DocParser::handleLinkedWord(), DocParser::handlePrefix(), DocParser::handleRef(), DocParser::handleStyleArgument(), DocParser::handleStyleEnter(), DocParser::handleStyleLeave(), DocParser::handleUnclosedStyleCommands(), DocParamList::parse(), DocParser::processCopyDoc(), DocParser::pushContext(), DocParser::readTextFileByName(), and skipSpacesForTable().
| void DocTokenizer::init | ( | const char * | input, |
| const DString & | fileName, | ||
| bool | markdownSupport, | ||
| bool | insideHtmlLink ) |
Definition at line 1870 of file doctokenizer.l.
References p.
Referenced by DocParser::internalValidatingParseDoc(), validatingParseDoc(), and validatingParseText().
| Token DocTokenizer::lex | ( | ) |
Definition at line 1840 of file doctokenizer.l.
References p.
Referenced by DocParser::defaultHandleTitleAndSize(), DocParser::defaultHandleToken(), DocParser::handleAnchor(), DocParser::handleCite(), DocPara::handleCommand(), DocPara::handleDoxyConfig(), DocPara::handleEmoji(), DocPara::handleFile(), DocParser::handleIFile(), DocParser::handleILine(), DocParser::handleImage(), DocPara::handleInclude(), DocPara::handleIncludeOperator(), DocParser::handleInternalRef(), DocPara::handleLink(), DocParser::handlePrefix(), DocParser::handleRef(), DocPara::handleSection(), DocPara::handleShowDate(), DocPara::handleStartCode(), DocParser::handleStyleArgument(), DocPara::handleXRefItem(), DocHRef::parse(), DocHtmlCaption::parse(), DocHtmlDescList::parse(), DocHtmlDescTitle::parse(), DocHtmlHeader::parse(), DocHtmlList::parse(), DocHtmlSummary::parse(), DocIndexEntry::parse(), DocInternalRef::parse(), DocLink::parse(), DocPara::parse(), DocParamList::parse(), DocRef::parse(), DocSecRefItem::parse(), DocSecRefList::parse(), DocText::parse(), DocTitle::parse(), DocVhdlFlow::parse(), DocHtmlList::parseXml(), DocHtmlRow::parseXml(), DocHtmlTable::parseXml(), and skipSpacesForTable().
|
private |
Definition at line 1804 of file doctokenizer.l.
References p.
Referenced by DocParser::popContext().
|
private |
Definition at line 2316 of file doctokenizer.l.
Referenced by DocTokenizer::AutoSaveState::~AutoSaveState().
| void DocTokenizer::pushBackHtmlTag | ( | const DString & | tag | ) |
Definition at line 2253 of file doctokenizer.l.
References DString::length(), and p.
Referenced by DocHtmlDescList::parse(), DocHtmlList::parse(), DocHtmlRow::parse(), DocHtmlTable::parse(), DocHtmlList::parseXml(), and DocHtmlRow::parseXml().
|
private |
Definition at line 1789 of file doctokenizer.l.
References p, and YY_BUF_SIZE.
Referenced by DocParser::pushContext().
|
private |
Definition at line 2309 of file doctokenizer.l.
References p.
Referenced by DocTokenizer::AutoSaveState::AutoSaveState().
| TokenInfo * DocTokenizer::resetToken | ( | ) |
Definition at line 1891 of file doctokenizer.l.
References p.
Referenced by validatingParseDoc(), validatingParseText(), and validatingParseTitle().
| void DocTokenizer::setFileName | ( | const DString & | fileName | ) |
Definition at line 2281 of file doctokenizer.l.
References p.
Referenced by createRef(), DocParser::popContext(), and validatingParseDoc().
| void DocTokenizer::setInsidePre | ( | bool | b | ) |
Definition at line 2246 of file doctokenizer.l.
References p.
Referenced by DocPara::handleHtmlEndTag(), and DocPara::handleHtmlStartTag().
| void DocTokenizer::setLineNr | ( | int | lineno | ) |
Definition at line 2295 of file doctokenizer.l.
References p.
Referenced by createRef(), DocParser::popContext(), validatingParseDoc(), and validatingParseText().
| void DocTokenizer::setStateAnchor | ( | ) |
Definition at line 2165 of file doctokenizer.l.
References p.
Referenced by DocParser::handleAnchor().
| void DocTokenizer::setStateBlock | ( | ) |
Definition at line 2202 of file doctokenizer.l.
References p.
Referenced by DocPara::handleInclude().
| void DocTokenizer::setStateCite | ( | ) |
Definition at line 2122 of file doctokenizer.l.
References p.
Referenced by DocParser::handleCite().
| void DocTokenizer::setStateCode | ( | ) |
Definition at line 1921 of file doctokenizer.l.
References p.
Referenced by DocPara::handleCommand().
| void DocTokenizer::setStateDbOnly | ( | ) |
Definition at line 1981 of file doctokenizer.l.
References p.
Referenced by DocParser::defaultHandleToken(), and DocPara::handleCommand().
| void DocTokenizer::setStateDot | ( | ) |
Definition at line 2029 of file doctokenizer.l.
References p.
Referenced by DocPara::handleCommand().
| void DocTokenizer::setStateDoxyConfig | ( | ) |
Definition at line 2129 of file doctokenizer.l.
References p.
Referenced by DocPara::handleDoxyConfig().
| void DocTokenizer::setStateEmoji | ( | ) |
Definition at line 2210 of file doctokenizer.l.
References p.
Referenced by DocPara::handleEmoji().
| void DocTokenizer::setStateFile | ( | ) |
Definition at line 2093 of file doctokenizer.l.
References p.
Referenced by DocPara::handleFile(), DocParser::handleImage(), and DocPara::handleInclude().
| void DocTokenizer::setStateHtmlOnly | ( | ) |
Definition at line 1948 of file doctokenizer.l.
References p.
Referenced by DocParser::defaultHandleToken(), and DocPara::handleCommand().
| void DocTokenizer::setStateICode | ( | ) |
Definition at line 1930 of file doctokenizer.l.
References p.
Referenced by DocPara::handleCommand().
| void DocTokenizer::setStateIFile | ( | ) |
Definition at line 2100 of file doctokenizer.l.
References p.
Referenced by DocParser::handleIFile().
| void DocTokenizer::setStateILine | ( | ) |
Definition at line 2218 of file doctokenizer.l.
References p.
Referenced by DocParser::handleILine(), and skipSpacesForTable().
| void DocTokenizer::setStateILiteral | ( | ) |
Definition at line 1997 of file doctokenizer.l.
References p.
Referenced by DocPara::handleCommand().
| void DocTokenizer::setStateILiteralOpt | ( | ) |
Definition at line 2005 of file doctokenizer.l.
References p.
Referenced by DocPara::handleCommand().
| void DocTokenizer::setStateInternalRef | ( | ) |
Definition at line 2144 of file doctokenizer.l.
References p.
Referenced by DocParser::handleInternalRef().
| void DocTokenizer::setStateIVerbatim | ( | ) |
Definition at line 2021 of file doctokenizer.l.
References p.
Referenced by DocPara::handleCommand().
| void DocTokenizer::setStateLatexOnly | ( | ) |
Definition at line 1989 of file doctokenizer.l.
References p.
Referenced by DocParser::defaultHandleToken(), and DocPara::handleCommand().
| void DocTokenizer::setStateLink | ( | ) |
Definition at line 2115 of file doctokenizer.l.
References p.
Referenced by DocPara::handleLink(), DocHtmlCaption::parse(), and DocHtmlDescTitle::parse().
| void DocTokenizer::setStateManOnly | ( | ) |
Definition at line 1957 of file doctokenizer.l.
References p.
Referenced by DocParser::defaultHandleToken(), and DocPara::handleCommand().
| void DocTokenizer::setStateMermaid | ( | ) |
Definition at line 2071 of file doctokenizer.l.
References p.
Referenced by DocPara::handleCommand().
| void DocTokenizer::setStateMermaidOpt | ( | ) |
Definition at line 2062 of file doctokenizer.l.
References p.
Referenced by DocPara::handleCommand().
| void DocTokenizer::setStateMsc | ( | ) |
Definition at line 2037 of file doctokenizer.l.
References p.
Referenced by DocPara::handleCommand().
| void DocTokenizer::setStateOptions | ( | ) |
Definition at line 2194 of file doctokenizer.l.
References p.
Referenced by DocParser::handleCite(), DocParser::handleImage(), and DocPara::handleInclude().
| void DocTokenizer::setStatePara | ( | ) |
Definition at line 1899 of file doctokenizer.l.
References p.
Referenced by DocParser::defaultHandleTitleAndSize(), DocParser::defaultHandleToken(), DocParser::handleAHref(), DocParser::handleCite(), DocPara::handleCommand(), DocPara::handleDoxyConfig(), DocPara::handleEmoji(), DocPara::handleFile(), DocPara::handleHtmlStartTag(), DocParser::handleIFile(), DocParser::handleILine(), DocParser::handleImage(), DocPara::handleInclude(), DocPara::handleIncludeOperator(), DocPara::handleLink(), DocParser::handlePrefix(), DocPara::handleSection(), DocPara::handleShowDate(), DocPara::handleStartCode(), DocPara::handleXRefItem(), DocHtmlCaption::parse(), DocHtmlDescTitle::parse(), DocHtmlSummary::parse(), DocIndexEntry::parse(), DocParamList::parse(), DocRef::parse(), DocRoot::parse(), DocSecRefItem::parse(), DocTitle::parse(), DocVhdlFlow::parse(), and DocTitle::parseFromString().
| void DocTokenizer::setStateParam | ( | ) |
Definition at line 2079 of file doctokenizer.l.
References p.
Referenced by DocParamList::parse().
| void DocTokenizer::setStatePattern | ( | ) |
Definition at line 2107 of file doctokenizer.l.
References p.
Referenced by DocPara::handleIncludeOperator().
| void DocTokenizer::setStatePlantUML | ( | ) |
Definition at line 2054 of file doctokenizer.l.
References p.
Referenced by DocPara::handleCommand().
| void DocTokenizer::setStatePlantUMLOpt | ( | ) |
Definition at line 2045 of file doctokenizer.l.
References p.
Referenced by DocPara::handleCommand().
| void DocTokenizer::setStatePrefix | ( | ) |
Definition at line 2172 of file doctokenizer.l.
References p.
Referenced by DocParser::handlePrefix().
| void DocTokenizer::setStateQuotedString | ( | ) |
Definition at line 2225 of file doctokenizer.l.
References p.
Referenced by DocPara::handleShowDate().
| void DocTokenizer::setStateRef | ( | ) |
Definition at line 2136 of file doctokenizer.l.
References p.
Referenced by DocParser::handleRef(), DocHtmlCaption::parse(), and DocHtmlDescTitle::parse().
| void DocTokenizer::setStateRtfOnly | ( | ) |
Definition at line 1965 of file doctokenizer.l.
References p.
Referenced by DocParser::defaultHandleToken(), and DocPara::handleCommand().
| void DocTokenizer::setStateSetScope | ( | ) |
Definition at line 2187 of file doctokenizer.l.
References p.
Referenced by DocParser::defaultHandleToken(), and DocPara::handleCommand().
| void DocTokenizer::setStateShowDate | ( | ) |
Definition at line 2232 of file doctokenizer.l.
References p.
Referenced by DocPara::handleShowDate().
| void DocTokenizer::setStateSkipTitle | ( | ) |
Definition at line 2158 of file doctokenizer.l.
References p.
Referenced by DocPara::handleSection().
| void DocTokenizer::setStateSnippet | ( | ) |
Definition at line 2179 of file doctokenizer.l.
References p.
Referenced by DocPara::handleInclude().
| void DocTokenizer::setStateText | ( | ) |
Definition at line 2151 of file doctokenizer.l.
References p.
Referenced by DocText::parse().
| void DocTokenizer::setStateTitle | ( | ) |
Definition at line 1907 of file doctokenizer.l.
References p.
Referenced by DocParser::defaultHandleTitleAndSize(), DocHtmlSummary::parse(), DocIndexEntry::parse(), DocSecRefItem::parse(), DocTitle::parse(), and DocVhdlFlow::parse().
| void DocTokenizer::setStateTitleAttrValue | ( | ) |
Definition at line 1914 of file doctokenizer.l.
References p.
Referenced by DocParser::defaultHandleTitleAndSize().
| void DocTokenizer::setStateVerbatim | ( | ) |
Definition at line 2013 of file doctokenizer.l.
References p.
Referenced by DocPara::handleCommand().
| void DocTokenizer::setStateXmlCode | ( | ) |
Definition at line 1939 of file doctokenizer.l.
References p.
Referenced by DocPara::handleHtmlStartTag().
| void DocTokenizer::setStateXmlOnly | ( | ) |
Definition at line 1973 of file doctokenizer.l.
References p.
Referenced by DocParser::defaultHandleToken(), and DocPara::handleCommand().
| void DocTokenizer::setStateXRefItem | ( | ) |
Definition at line 2086 of file doctokenizer.l.
References p.
Referenced by DocPara::handleXRefItem().
| void DocTokenizer::startAutoList | ( | ) |
Definition at line 2267 of file doctokenizer.l.
References p.
Referenced by DocAutoList::parse().
| TokenInfo * DocTokenizer::token | ( | ) |
Definition at line 1884 of file doctokenizer.l.
References p.
Referenced by DocParser::popContext(), and DocParser::pushContext().
| void DocTokenizer::unputString | ( | const DString & | tag | ) |
Definition at line 1845 of file doctokenizer.l.
References DString::data(), DString::length(), p, and unput_string.
Referenced by checkIfHtmlEndTagEndsAutoList(), and DocParser::defaultHandleTitleAndSize().
|
friend |
Definition at line 262 of file doctokenizer.h.
|
friend |
|
private |
Definition at line 269 of file doctokenizer.h.
Referenced by cleanup(), DocTokenizer(), endAutoList(), findSections(), getFileName(), getLineNr(), init(), lex(), popContext(), popState(), pushBackHtmlTag(), pushContext(), pushState(), resetToken(), setFileName(), setInsidePre(), setLineNr(), setStateAnchor(), setStateBlock(), setStateCite(), setStateCode(), setStateDbOnly(), setStateDot(), setStateDoxyConfig(), setStateEmoji(), setStateFile(), setStateHtmlOnly(), setStateICode(), setStateIFile(), setStateILine(), setStateILiteral(), setStateILiteralOpt(), setStateInternalRef(), setStateIVerbatim(), setStateLatexOnly(), setStateLink(), setStateManOnly(), setStateMermaid(), setStateMermaidOpt(), setStateMsc(), setStateOptions(), setStatePara(), setStateParam(), setStatePattern(), setStatePlantUML(), setStatePlantUMLOpt(), setStatePrefix(), setStateQuotedString(), setStateRef(), setStateRtfOnly(), setStateSetScope(), setStateShowDate(), setStateSkipTitle(), setStateSnippet(), setStateText(), setStateTitle(), setStateTitleAttrValue(), setStateVerbatim(), setStateXmlCode(), setStateXmlOnly(), setStateXRefItem(), startAutoList(), token(), unputString(), and ~DocTokenizer().