Doxygen
|
Concrete visitor implementation for PerlMod output. More...
Private Member Functions | |
template<class T> | |
void | visitChildren (const T &t) |
void | addLink (const QCString &ref, const QCString &file, const QCString &anchor) |
void | enterText () |
void | leaveText () |
void | openItem (const QCString &) |
void | closeItem () |
void | singleItem (const QCString &) |
void | openSubBlock (const QCString &=QCString()) |
void | closeSubBlock () |
Private Attributes | |
PerlModOutput & | m_output |
bool | m_textmode |
bool | m_textblockstart |
QCString | m_other |
Concrete visitor implementation for PerlMod output.
Definition at line 270 of file perlmodgen.cpp.
PerlModDocVisitor::PerlModDocVisitor | ( | PerlModOutput & | output | ) |
Definition at line 381 of file perlmodgen.cpp.
References FALSE, m_output, m_textblockstart, and m_textmode.
|
private |
Definition at line 394 of file perlmodgen.cpp.
References QCString::isEmpty(), and m_output.
Referenced by operator()(), operator()(), and operator()().
|
private |
Definition at line 408 of file perlmodgen.cpp.
References leaveText(), and m_output.
Referenced by operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), and singleItem().
|
private |
Definition at line 446 of file perlmodgen.cpp.
References leaveText(), and m_output.
Referenced by operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), and operator()().
|
private |
Definition at line 414 of file perlmodgen.cpp.
References m_output, m_textmode, and openItem().
Referenced by operator()(), operator()(), operator()(), and operator()().
void PerlModDocVisitor::finish | ( | ) |
Definition at line 387 of file perlmodgen.cpp.
References leaveText(), m_other, and m_output.
Referenced by addPerlModDocBlock().
|
private |
Definition at line 423 of file perlmodgen.cpp.
References m_output, and m_textmode.
Referenced by closeItem(), closeSubBlock(), finish(), openItem(), openSubBlock(), operator()(), operator()(), operator()(), and operator()().
|
private |
Definition at line 402 of file perlmodgen.cpp.
References leaveText(), and m_output.
Referenced by enterText(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), and singleItem().
Definition at line 439 of file perlmodgen.cpp.
References leaveText(), m_output, and m_textblockstart.
Referenced by operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), and operator()().
void PerlModDocVisitor::operator() | ( | const DocAnchor & | anc | ) |
Definition at line 660 of file perlmodgen.cpp.
References DocAnchor::anchor(), closeItem(), DocAnchor::file(), m_output, and openItem().
void PerlModDocVisitor::operator() | ( | const DocAutoList & | l | ) |
Definition at line 755 of file perlmodgen.cpp.
References closeItem(), closeSubBlock(), DocAutoList::isCheckedList(), DocAutoList::isEnumList(), m_output, openItem(), openSubBlock(), and visitChildren().
void PerlModDocVisitor::operator() | ( | const DocAutoListItem & | li | ) |
Definition at line 765 of file perlmodgen.cpp.
References DocAutoList::Checked_X, DocAutoList::Checked_x, closeSubBlock(), DocAutoListItem::itemNumber(), m_output, openSubBlock(), DocAutoList::Unchecked, and visitChildren().
void PerlModDocVisitor::operator() | ( | const DocCite & | cite | ) |
Definition at line 743 of file perlmodgen.cpp.
References closeItem(), m_output, openItem(), and DocCite::text().
void PerlModDocVisitor::operator() | ( | const DocDiaFile & | df | ) |
Definition at line 1124 of file perlmodgen.cpp.
References DocDiagramFileBase::file(), m_output, and visitChildren().
void PerlModDocVisitor::operator() | ( | const DocDotFile & | df | ) |
Definition at line 1103 of file perlmodgen.cpp.
References DocDiagramFileBase::file(), m_output, and visitChildren().
void PerlModDocVisitor::operator() | ( | const DocEmoji & | sy | ) |
Definition at line 564 of file perlmodgen.cpp.
References enterText(), DocEmoji::index(), EmojiEntityMapper::instance(), m_output, DocEmoji::name(), and EmojiEntityMapper::name().
void PerlModDocVisitor::operator() | ( | const DocFormula & | f | ) |
Definition at line 718 of file perlmodgen.cpp.
References closeItem(), DocFormula::id(), m_output, openItem(), QCString::setNum(), and DocFormula::text().
void PerlModDocVisitor::operator() | ( | const DocHorRuler & | ) |
void PerlModDocVisitor::operator() | ( | const DocHRef & | href | ) |
Definition at line 1019 of file perlmodgen.cpp.
References m_output, DocHRef::url(), and visitChildren().
void PerlModDocVisitor::operator() | ( | const DocHtmlBlockQuote & | q | ) |
Definition at line 1308 of file perlmodgen.cpp.
References closeItem(), closeSubBlock(), openItem(), openSubBlock(), and visitChildren().
void PerlModDocVisitor::operator() | ( | const DocHtmlCaption & | c | ) |
Definition at line 997 of file perlmodgen.cpp.
References m_output, and visitChildren().
void PerlModDocVisitor::operator() | ( | const DocHtmlCell & | c | ) |
Definition at line 986 of file perlmodgen.cpp.
References DocHtmlCell::isHeading(), m_output, and visitChildren().
void PerlModDocVisitor::operator() | ( | const DocHtmlDescData & | dd | ) |
Definition at line 948 of file perlmodgen.cpp.
References m_output, and visitChildren().
void PerlModDocVisitor::operator() | ( | const DocHtmlDescList & | dl | ) |
Definition at line 926 of file perlmodgen.cpp.
References m_output, and visitChildren().
void PerlModDocVisitor::operator() | ( | const DocHtmlDescTitle & | dt | ) |
Definition at line 937 of file perlmodgen.cpp.
References m_output, and visitChildren().
void PerlModDocVisitor::operator() | ( | const DocHtmlDetails & | details | ) |
Definition at line 1039 of file perlmodgen.cpp.
References closeItem(), closeSubBlock(), openItem(), openSubBlock(), and visitChildren().
void PerlModDocVisitor::operator() | ( | const DocHtmlHeader & | header | ) |
Definition at line 1053 of file perlmodgen.cpp.
References DocHtmlHeader::level(), m_output, and visitChildren().
void PerlModDocVisitor::operator() | ( | const DocHtmlList & | l | ) |
Definition at line 891 of file perlmodgen.cpp.
References DocHtmlList::attribs(), closeItem(), closeSubBlock(), m_output, openItem(), openSubBlock(), DocHtmlList::Ordered, qPrint(), DocHtmlList::type(), and visitChildren().
void PerlModDocVisitor::operator() | ( | const DocHtmlListItem & | l | ) |
Definition at line 912 of file perlmodgen.cpp.
References DocHtmlListItem::attribs(), closeSubBlock(), m_output, openSubBlock(), qPrint(), and visitChildren().
void PerlModDocVisitor::operator() | ( | const DocHtmlRow & | r | ) |
Definition at line 975 of file perlmodgen.cpp.
References m_output, and visitChildren().
void PerlModDocVisitor::operator() | ( | const DocHtmlSummary & | summary | ) |
Definition at line 1030 of file perlmodgen.cpp.
References closeItem(), closeSubBlock(), openItem(), openSubBlock(), and visitChildren().
void PerlModDocVisitor::operator() | ( | const DocHtmlTable & | t | ) |
Definition at line 959 of file perlmodgen.cpp.
References DocHtmlTable::caption(), m_output, DocHtmlTable::numRows(), and visitChildren().
void PerlModDocVisitor::operator() | ( | const DocImage & | img | ) |
Definition at line 1064 of file perlmodgen.cpp.
References QCString::findRev(), DocImage::height(), DocImage::Html, QCString::isEmpty(), DocImage::Latex, QCString::length(), m_output, DocImage::name(), QCString::right(), DocImage::Rtf, DocImage::type(), visitChildren(), and DocImage::width().
void PerlModDocVisitor::operator() | ( | const DocInclude & | inc | ) |
Definition at line 668 of file perlmodgen.cpp.
References closeItem(), DocInclude::DocbookInclude, DocInclude::DontInclude, DocInclude::DontIncWithLines, DocInclude::HtmlInclude, DocInclude::Include, DocInclude::IncWithLines, DocInclude::LatexInclude, m_output, DocInclude::ManInclude, openItem(), DocInclude::RtfInclude, DocInclude::Snippet, DocInclude::SnippetWithLines, DocInclude::text(), DocInclude::type(), DocInclude::VerbInclude, and DocInclude::XmlInclude.
void PerlModDocVisitor::operator() | ( | const DocIncOperator & | ) |
Definition at line 694 of file perlmodgen.cpp.
References FALSE, m_output, and DocIncOperator::Skip.
void PerlModDocVisitor::operator() | ( | const DocIndexEntry & | ) |
void PerlModDocVisitor::operator() | ( | const DocInternal & | i | ) |
Definition at line 1008 of file perlmodgen.cpp.
References m_output, and visitChildren().
void PerlModDocVisitor::operator() | ( | const DocInternalRef & | ref | ) |
Definition at line 1293 of file perlmodgen.cpp.
References addLink(), DocInternalRef::anchor(), closeItem(), closeSubBlock(), DocInternalRef::file(), openItem(), openSubBlock(), and visitChildren().
void PerlModDocVisitor::operator() | ( | const DocLineBreak & | ) |
Definition at line 585 of file perlmodgen.cpp.
References singleItem().
void PerlModDocVisitor::operator() | ( | const DocLink & | lnk | ) |
Definition at line 1147 of file perlmodgen.cpp.
References addLink(), DocLink::anchor(), closeItem(), DocLink::file(), openItem(), DocLink::ref(), and visitChildren().
void PerlModDocVisitor::operator() | ( | const DocLinkedWord & | w | ) |
Definition at line 480 of file perlmodgen.cpp.
References addLink(), DocLinkedWord::anchor(), closeItem(), DocLinkedWord::file(), m_output, openItem(), DocLinkedWord::ref(), and DocLinkedWord::word().
void PerlModDocVisitor::operator() | ( | const DocMscFile & | df | ) |
Definition at line 1113 of file perlmodgen.cpp.
References DocDiagramFileBase::file(), m_output, and visitChildren().
void PerlModDocVisitor::operator() | ( | const DocPara & | p | ) |
Definition at line 784 of file perlmodgen.cpp.
References m_textblockstart, singleItem(), and visitChildren().
void PerlModDocVisitor::operator() | ( | const DocParamList & | pl | ) |
Definition at line 1215 of file perlmodgen.cpp.
References DocParamList::direction(), DocParamSect::hasInOutSpecifier(), DocParamSect::In, DocParamSect::InOut, leaveText(), m_output, DocParamSect::Out, DocParamList::paragraphs(), DocParamList::parameters(), DocNode::parent(), DocParamSect::Unspecified, DocLinkedWord::word(), and word.
void PerlModDocVisitor::operator() | ( | const DocParamSect & | s | ) |
Definition at line 1188 of file perlmodgen.cpp.
References closeSubBlock(), err, DocParamSect::Exception, leaveText(), m_output, openSubBlock(), DocParamSect::Param, DocParamSect::RetVal, DocParamSect::TemplateParam, DocParamSect::type(), DocParamSect::Unknown, and visitChildren().
void PerlModDocVisitor::operator() | ( | const DocParBlock & | pb | ) |
Definition at line 1321 of file perlmodgen.cpp.
References visitChildren().
void PerlModDocVisitor::operator() | ( | const DocPlantUmlFile & | df | ) |
Definition at line 1135 of file perlmodgen.cpp.
References DocDiagramFileBase::file(), m_output, and visitChildren().
void PerlModDocVisitor::operator() | ( | const DocRef & | ref | ) |
Definition at line 1155 of file perlmodgen.cpp.
References closeItem(), closeSubBlock(), DocRef::hasLinkText(), m_output, openItem(), openSubBlock(), DocRef::targetTitle(), and visitChildren().
void PerlModDocVisitor::operator() | ( | const DocRoot & | r | ) |
Definition at line 801 of file perlmodgen.cpp.
References visitChildren().
void PerlModDocVisitor::operator() | ( | const DocSecRefItem & | ref | ) |
Definition at line 1166 of file perlmodgen.cpp.
References DocSecRefItem::anchor(), DocSecRefItem::file(), m_output, and visitChildren().
void PerlModDocVisitor::operator() | ( | const DocSecRefList & | l | ) |
Definition at line 1177 of file perlmodgen.cpp.
References m_output, and visitChildren().
void PerlModDocVisitor::operator() | ( | const DocSection & | s | ) |
Definition at line 876 of file perlmodgen.cpp.
References closeItem(), closeSubBlock(), DocSection::level(), openItem(), openSubBlock(), QCString::sprintf(), DocSection::title(), and visitChildren().
void PerlModDocVisitor::operator() | ( | const DocSeparator & | ) |
Definition at line 1211 of file perlmodgen.cpp.
void PerlModDocVisitor::operator() | ( | const DocSimpleList & | l | ) |
Definition at line 856 of file perlmodgen.cpp.
References closeItem(), closeSubBlock(), m_output, openItem(), openSubBlock(), and visitChildren().
void PerlModDocVisitor::operator() | ( | const DocSimpleListItem & | li | ) |
Definition at line 866 of file perlmodgen.cpp.
References closeSubBlock(), openSubBlock(), and DocSimpleListItem::paragraph().
void PerlModDocVisitor::operator() | ( | const DocSimpleSect & | s | ) |
Definition at line 806 of file perlmodgen.cpp.
References DocSimpleSect::Attention, DocSimpleSect::Author, DocSimpleSect::Authors, closeSubBlock(), DocSimpleSect::Copyright, DocSimpleSect::Date, err, DocSimpleSect::Important, DocSimpleSect::Invar, leaveText(), m_output, DocSimpleSect::Note, openSubBlock(), DocSimpleSect::Post, DocSimpleSect::Pre, DocSimpleSect::Rcs, DocSimpleSect::Remark, DocSimpleSect::Return, DocSimpleSect::See, DocSimpleSect::Since, DocSimpleSect::title(), DocSimpleSect::type(), DocSimpleSect::Unknown, DocSimpleSect::User, DocSimpleSect::Version, visitChildren(), and DocSimpleSect::Warning.
void PerlModDocVisitor::operator() | ( | const DocSimpleSectSep & | ) |
Definition at line 739 of file perlmodgen.cpp.
void PerlModDocVisitor::operator() | ( | const DocStyleChange & | s | ) |
Definition at line 595 of file perlmodgen.cpp.
References DocStyleChange::Bold, DocStyleChange::Center, DocStyleChange::Cite, closeItem(), DocStyleChange::Code, DocStyleChange::Del, DocStyleChange::Div, DocStyleChange::enable(), DocStyleChange::Ins, DocStyleChange::Italic, DocStyleChange::Kbd, m_output, openItem(), DocStyleChange::Preformatted, DocStyleChange::S, DocStyleChange::Small, DocStyleChange::Span, DocStyleChange::Strike, DocStyleChange::style(), DocStyleChange::Subscript, DocStyleChange::Superscript, and DocStyleChange::Underline.
void PerlModDocVisitor::operator() | ( | const DocSymbol & | sy | ) |
Definition at line 494 of file perlmodgen.cpp.
References closeItem(), enterText(), err, HtmlEntityMapper::instance(), leaveText(), m_output, openItem(), HtmlEntityMapper::perl(), HtmlEntityMapper::Perl_acute, HtmlEntityMapper::Perl_cedilla, HtmlEntityMapper::Perl_char, HtmlEntityMapper::Perl_circ, HtmlEntityMapper::Perl_grave, HtmlEntityMapper::Perl_ring, HtmlEntityMapper::Perl_slash, HtmlEntityMapper::Perl_string, HtmlEntityMapper::Perl_symbol, HtmlEntityMapper::Perl_tilde, HtmlEntityMapper::Perl_umlaut, HtmlEntityMapper::PerlSymb::symb, DocSymbol::symbol(), TRUE, and HtmlEntityMapper::PerlSymb::type.
void PerlModDocVisitor::operator() | ( | const DocText & | t | ) |
Definition at line 1303 of file perlmodgen.cpp.
References visitChildren().
void PerlModDocVisitor::operator() | ( | const DocTitle & | t | ) |
Definition at line 847 of file perlmodgen.cpp.
References closeItem(), closeSubBlock(), openItem(), openSubBlock(), and visitChildren().
void PerlModDocVisitor::operator() | ( | const DocURL & | u | ) |
Definition at line 578 of file perlmodgen.cpp.
References closeItem(), m_output, openItem(), and DocURL::url().
void PerlModDocVisitor::operator() | ( | const DocVerbatim & | s | ) |
Definition at line 624 of file perlmodgen.cpp.
References closeItem(), closeSubBlock(), DocVerbatim::Code, DocVerbatim::context(), DocVerbatim::DocbookOnly, DocVerbatim::Dot, FALSE, DocVerbatim::hasCaption(), DocVerbatim::HtmlOnly, DocVerbatim::JavaDocCode, DocVerbatim::JavaDocLiteral, DocVerbatim::LatexOnly, m_output, DocVerbatim::ManOnly, DocVerbatim::Msc, openItem(), openSubBlock(), DocVerbatim::PlantUML, DocVerbatim::RtfOnly, DocVerbatim::text(), DocVerbatim::type(), DocVerbatim::Verbatim, visitChildren(), and DocVerbatim::XmlOnly.
void PerlModDocVisitor::operator() | ( | const DocVhdlFlow & | ) |
Definition at line 1317 of file perlmodgen.cpp.
void PerlModDocVisitor::operator() | ( | const DocWhiteSpace & | ) |
Definition at line 488 of file perlmodgen.cpp.
References enterText(), and m_output.
void PerlModDocVisitor::operator() | ( | const DocWord & | w | ) |
Definition at line 474 of file perlmodgen.cpp.
References enterText(), m_output, and DocWord::word().
void PerlModDocVisitor::operator() | ( | const DocXRefItem & | x | ) |
Definition at line 1269 of file perlmodgen.cpp.
References DocXRefItem::anchor(), closeItem(), closeSubBlock(), DocXRefItem::file(), QCString::isEmpty(), m_output, openItem(), openSubBlock(), DocXRefItem::title(), and visitChildren().
|
private |
Definition at line 433 of file perlmodgen.cpp.
References closeItem(), and openItem().
Referenced by operator()(), operator()(), and operator()().
|
inlineprivate |
Definition at line 347 of file perlmodgen.cpp.
Referenced by operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), and operator()().
|
private |
Definition at line 378 of file perlmodgen.cpp.
Referenced by finish().
|
private |
Definition at line 375 of file perlmodgen.cpp.
Referenced by addLink(), closeItem(), closeSubBlock(), enterText(), finish(), leaveText(), openItem(), openSubBlock(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), and PerlModDocVisitor().
|
private |
Definition at line 377 of file perlmodgen.cpp.
Referenced by openSubBlock(), operator()(), and PerlModDocVisitor().
|
private |
Definition at line 376 of file perlmodgen.cpp.
Referenced by enterText(), leaveText(), and PerlModDocVisitor().