|
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 1842 of file doctokenizer.l.
References Debug::isFlagSet(), Debug::Lex_doctokenizer, and p.
Referenced by DocTokenizer::AutoSaveState::AutoSaveState().
| DocTokenizer::~DocTokenizer | ( | ) |
Definition at line 1851 of file doctokenizer.l.
References p.
| void DocTokenizer::cleanup | ( | ) |
Definition at line 2257 of file doctokenizer.l.
| void DocTokenizer::endAutoList | ( | ) |
Definition at line 2292 of file doctokenizer.l.
Referenced by DocAutoList::parse().
| void DocTokenizer::findSections | ( | const DString & | input, |
| const Definition * | d, | ||
| const DString & | fileName ) |
Definition at line 1869 of file doctokenizer.l.
References DString::data(), DString::empty(), Debug::Lex_doctokenizer, p, qPrint(), and yyguts_t.
Referenced by docFindSections().
| DString DocTokenizer::getFileName | ( | ) | const |
Definition at line 2306 of file doctokenizer.l.
Referenced by DocParser::pushContext().
| int DocTokenizer::getLineNr | ( | ) | const |
Definition at line 2320 of file doctokenizer.l.
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 1887 of file doctokenizer.l.
Referenced by DocParser::internalValidatingParseDoc(), validatingParseDoc(), and validatingParseText().
| Token DocTokenizer::lex | ( | ) |
Definition at line 1857 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 1821 of file doctokenizer.l.
Referenced by DocParser::popContext().
|
private |
Definition at line 2334 of file doctokenizer.l.
References ASSERT, p, and yyguts_t.
Referenced by DocTokenizer::AutoSaveState::~AutoSaveState().
| void DocTokenizer::pushBackHtmlTag | ( | const DString & | tag | ) |
Definition at line 2271 of file doctokenizer.l.
References DString::length(), p, and yyguts_t.
Referenced by DocHtmlDescList::parse(), DocHtmlList::parse(), DocHtmlRow::parse(), DocHtmlTable::parse(), DocHtmlList::parseXml(), and DocHtmlRow::parseXml().
|
private |
Definition at line 1806 of file doctokenizer.l.
References p, YY_BUF_SIZE, and yyguts_t.
Referenced by DocParser::pushContext().
|
private |
Definition at line 2327 of file doctokenizer.l.
Referenced by DocTokenizer::AutoSaveState::AutoSaveState().
| TokenInfo * DocTokenizer::resetToken | ( | ) |
Definition at line 1908 of file doctokenizer.l.
Referenced by validatingParseDoc(), validatingParseText(), and validatingParseTitle().
| void DocTokenizer::setFileName | ( | const DString & | fileName | ) |
Definition at line 2299 of file doctokenizer.l.
Referenced by createRef(), DocParser::popContext(), and validatingParseDoc().
| void DocTokenizer::setInsidePre | ( | bool | b | ) |
Definition at line 2264 of file doctokenizer.l.
Referenced by DocPara::handleHtmlEndTag(), and DocPara::handleHtmlStartTag().
| void DocTokenizer::setLineNr | ( | int | lineno | ) |
Definition at line 2313 of file doctokenizer.l.
Referenced by createRef(), DocParser::popContext(), validatingParseDoc(), and validatingParseText().
| void DocTokenizer::setStateAnchor | ( | ) |
Definition at line 2182 of file doctokenizer.l.
Referenced by DocParser::handleAnchor().
| void DocTokenizer::setStateBlock | ( | ) |
Definition at line 2220 of file doctokenizer.l.
Referenced by DocPara::handleInclude().
| void DocTokenizer::setStateCite | ( | ) |
Definition at line 2139 of file doctokenizer.l.
Referenced by DocParser::handleCite().
| void DocTokenizer::setStateCode | ( | ) |
Definition at line 1938 of file doctokenizer.l.
Referenced by DocPara::handleCommand().
| void DocTokenizer::setStateDbOnly | ( | ) |
Definition at line 1998 of file doctokenizer.l.
Referenced by DocParser::defaultHandleToken(), and DocPara::handleCommand().
| void DocTokenizer::setStateDot | ( | ) |
Definition at line 2046 of file doctokenizer.l.
Referenced by DocPara::handleCommand().
| void DocTokenizer::setStateDoxyConfig | ( | ) |
Definition at line 2146 of file doctokenizer.l.
Referenced by DocPara::handleDoxyConfig().
| void DocTokenizer::setStateEmoji | ( | ) |
Definition at line 2228 of file doctokenizer.l.
Referenced by DocPara::handleEmoji().
| void DocTokenizer::setStateFile | ( | ) |
Definition at line 2110 of file doctokenizer.l.
Referenced by DocPara::handleFile(), DocParser::handleImage(), and DocPara::handleInclude().
| void DocTokenizer::setStateHtmlOnly | ( | ) |
Definition at line 1965 of file doctokenizer.l.
Referenced by DocParser::defaultHandleToken(), and DocPara::handleCommand().
| void DocTokenizer::setStateICode | ( | ) |
Definition at line 1947 of file doctokenizer.l.
Referenced by DocPara::handleCommand().
| void DocTokenizer::setStateIFile | ( | ) |
Definition at line 2117 of file doctokenizer.l.
Referenced by DocParser::handleIFile().
| void DocTokenizer::setStateILine | ( | ) |
Definition at line 2236 of file doctokenizer.l.
Referenced by DocParser::handleILine(), and skipSpacesForTable().
| void DocTokenizer::setStateILiteral | ( | ) |
Definition at line 2014 of file doctokenizer.l.
Referenced by DocPara::handleCommand().
| void DocTokenizer::setStateILiteralOpt | ( | ) |
Definition at line 2022 of file doctokenizer.l.
Referenced by DocPara::handleCommand().
| void DocTokenizer::setStateInternalRef | ( | ) |
Definition at line 2161 of file doctokenizer.l.
Referenced by DocParser::handleInternalRef().
| void DocTokenizer::setStateIVerbatim | ( | ) |
Definition at line 2038 of file doctokenizer.l.
Referenced by DocPara::handleCommand().
| void DocTokenizer::setStateLatexOnly | ( | ) |
Definition at line 2006 of file doctokenizer.l.
Referenced by DocParser::defaultHandleToken(), and DocPara::handleCommand().
| void DocTokenizer::setStateLink | ( | ) |
Definition at line 2132 of file doctokenizer.l.
Referenced by DocPara::handleLink(), DocHtmlCaption::parse(), and DocHtmlDescTitle::parse().
| void DocTokenizer::setStateManOnly | ( | ) |
Definition at line 1974 of file doctokenizer.l.
Referenced by DocParser::defaultHandleToken(), and DocPara::handleCommand().
| void DocTokenizer::setStateMermaid | ( | ) |
Definition at line 2088 of file doctokenizer.l.
Referenced by DocPara::handleCommand().
| void DocTokenizer::setStateMermaidOpt | ( | ) |
Definition at line 2079 of file doctokenizer.l.
Referenced by DocPara::handleCommand().
| void DocTokenizer::setStateMsc | ( | ) |
Definition at line 2054 of file doctokenizer.l.
Referenced by DocPara::handleCommand().
| void DocTokenizer::setStateOptions | ( | ) |
Definition at line 2212 of file doctokenizer.l.
Referenced by DocParser::handleCite(), DocParser::handleImage(), and DocPara::handleInclude().
| void DocTokenizer::setStatePara | ( | ) |
Definition at line 1916 of file doctokenizer.l.
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 2096 of file doctokenizer.l.
Referenced by DocParamList::parse().
| void DocTokenizer::setStatePattern | ( | ) |
Definition at line 2124 of file doctokenizer.l.
Referenced by DocPara::handleIncludeOperator().
| void DocTokenizer::setStatePlantUML | ( | ) |
Definition at line 2071 of file doctokenizer.l.
Referenced by DocPara::handleCommand().
| void DocTokenizer::setStatePlantUMLOpt | ( | ) |
Definition at line 2062 of file doctokenizer.l.
Referenced by DocPara::handleCommand().
| void DocTokenizer::setStatePrefix | ( | ) |
Definition at line 2189 of file doctokenizer.l.
Referenced by DocParser::handlePrefix().
| void DocTokenizer::setStateQuotedString | ( | ) |
Definition at line 2243 of file doctokenizer.l.
Referenced by DocPara::handleShowDate().
| void DocTokenizer::setStateRef | ( | ) |
Definition at line 2153 of file doctokenizer.l.
Referenced by DocParser::handleRef(), DocHtmlCaption::parse(), and DocHtmlDescTitle::parse().
| void DocTokenizer::setStateRtfOnly | ( | ) |
Definition at line 1982 of file doctokenizer.l.
Referenced by DocParser::defaultHandleToken(), and DocPara::handleCommand().
| void DocTokenizer::setStateSetScope | ( | ) |
Definition at line 2205 of file doctokenizer.l.
Referenced by DocParser::defaultHandleToken(), and DocPara::handleCommand().
| void DocTokenizer::setStateShowDate | ( | ) |
Definition at line 2250 of file doctokenizer.l.
Referenced by DocPara::handleShowDate().
| void DocTokenizer::setStateSkipTitle | ( | ) |
Definition at line 2175 of file doctokenizer.l.
Referenced by DocPara::handleSection().
| void DocTokenizer::setStateSnippet | ( | ) |
Definition at line 2196 of file doctokenizer.l.
Referenced by DocPara::handleInclude().
| void DocTokenizer::setStateText | ( | ) |
Definition at line 2168 of file doctokenizer.l.
Referenced by DocText::parse().
| void DocTokenizer::setStateTitle | ( | ) |
Definition at line 1924 of file doctokenizer.l.
Referenced by DocParser::defaultHandleTitleAndSize(), DocHtmlSummary::parse(), DocIndexEntry::parse(), DocSecRefItem::parse(), DocTitle::parse(), and DocVhdlFlow::parse().
| void DocTokenizer::setStateTitleAttrValue | ( | ) |
Definition at line 1931 of file doctokenizer.l.
Referenced by DocParser::defaultHandleTitleAndSize().
| void DocTokenizer::setStateVerbatim | ( | ) |
Definition at line 2030 of file doctokenizer.l.
Referenced by DocPara::handleCommand().
| void DocTokenizer::setStateXmlCode | ( | ) |
Definition at line 1956 of file doctokenizer.l.
Referenced by DocPara::handleHtmlStartTag().
| void DocTokenizer::setStateXmlOnly | ( | ) |
Definition at line 1990 of file doctokenizer.l.
Referenced by DocParser::defaultHandleToken(), and DocPara::handleCommand().
| void DocTokenizer::setStateXRefItem | ( | ) |
Definition at line 2103 of file doctokenizer.l.
Referenced by DocPara::handleXRefItem().
| void DocTokenizer::startAutoList | ( | ) |
Definition at line 2285 of file doctokenizer.l.
Referenced by DocAutoList::parse().
| TokenInfo * DocTokenizer::token | ( | ) |
Definition at line 1901 of file doctokenizer.l.
Referenced by DocParser::popContext(), and DocParser::pushContext().
| void DocTokenizer::unputString | ( | const DString & | tag | ) |
Definition at line 1862 of file doctokenizer.l.
References DString::data(), DString::length(), p, unput_string, and yyguts_t.
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().