My Project
|
Concrete visitor implementation for PerlMod output. More...
Private Member Functions | |
void | addLink (const QCString &ref, const QCString &file, const QCString &anchor) |
void | enterText () |
void | leaveText () |
void | openItem (const char *) |
void | closeItem () |
void | singleItem (const char *) |
void | openSubBlock (const char *=0) |
void | closeSubBlock () |
void | openOther () |
void | closeOther () |
Private Attributes | |
PerlModOutput & | m_output |
bool | m_textmode |
bool | m_textblockstart |
QCString | m_other |
Concrete visitor implementation for PerlMod output.
Definition at line 286 of file perlmodgen.cpp.
PerlModDocVisitor::PerlModDocVisitor | ( | PerlModOutput & | output | ) |
Definition at line 430 of file perlmodgen.cpp.
References m_output, and PerlModOutput::openList().
|
inlinevirtual |
Definition at line 290 of file perlmodgen.cpp.
|
private |
Definition at line 443 of file perlmodgen.cpp.
References PerlModOutput::addFieldQuotedString(), and m_output.
Referenced by visit(), and visitPre().
|
private |
Definition at line 457 of file perlmodgen.cpp.
References PerlModOutput::closeHash(), leaveText(), and m_output.
Referenced by singleItem(), visit(), and visitPost().
|
private |
Definition at line 511 of file perlmodgen.cpp.
Referenced by visitPost().
|
private |
Definition at line 495 of file perlmodgen.cpp.
References PerlModOutput::closeList(), leaveText(), and m_output.
Referenced by visit(), and visitPost().
|
private |
Definition at line 463 of file perlmodgen.cpp.
References PerlModOutput::add(), PerlModOutput::addField(), m_output, m_textmode, and openItem().
Referenced by visit().
void PerlModDocVisitor::finish | ( | ) |
Definition at line 436 of file perlmodgen.cpp.
References PerlModOutput::add(), PerlModOutput::closeList(), leaveText(), m_other, and m_output.
Referenced by addPerlModDocBlock().
|
private |
Definition at line 472 of file perlmodgen.cpp.
References PerlModOutput::add(), PerlModOutput::closeHash(), m_output, and m_textmode.
Referenced by closeItem(), closeSubBlock(), finish(), openItem(), openSubBlock(), visit(), visitPost(), and visitPre().
|
private |
Definition at line 451 of file perlmodgen.cpp.
References PerlModOutput::addFieldQuotedString(), leaveText(), m_output, and PerlModOutput::openHash().
Referenced by enterText(), singleItem(), visit(), and visitPre().
|
private |
Definition at line 501 of file perlmodgen.cpp.
Referenced by visitPre().
|
private |
Definition at line 488 of file perlmodgen.cpp.
References leaveText(), m_output, m_textblockstart, and PerlModOutput::openList().
Referenced by visit(), and visitPre().
|
private |
Definition at line 482 of file perlmodgen.cpp.
References closeItem(), and openItem().
Referenced by visit(), and visitPre().
|
virtual |
Implements DocVisitor.
Definition at line 523 of file perlmodgen.cpp.
References PerlModOutput::addQuoted(), enterText(), m_output, and DocWord::word().
|
virtual |
Implements DocVisitor.
Definition at line 529 of file perlmodgen.cpp.
References PerlModOutput::addFieldQuotedString(), addLink(), DocLinkedWord::anchor(), closeItem(), DocLinkedWord::file(), m_output, openItem(), DocLinkedWord::ref(), and DocLinkedWord::word().
|
virtual |
Implements DocVisitor.
Definition at line 537 of file perlmodgen.cpp.
References PerlModOutput::add(), enterText(), and m_output.
|
virtual |
Implements DocVisitor.
Definition at line 543 of file perlmodgen.cpp.
References PerlModOutput::add(), PerlModOutput::addFieldQuotedChar(), PerlModOutput::addFieldQuotedString(), closeItem(), enterText(), err(), HtmlEntityMapper::instance(), leaveText(), m_output, openItem(), HtmlEntityMapper::perl(), DocSymbol::Perl_acute, DocSymbol::Perl_cedilla, DocSymbol::Perl_char, DocSymbol::Perl_circ, DocSymbol::Perl_grave, DocSymbol::Perl_ring, DocSymbol::Perl_slash, DocSymbol::Perl_string, DocSymbol::Perl_symbol, DocSymbol::Perl_tilde, DocSymbol::Perl_umlaut, DocSymbol::PerlSymb::symb, DocSymbol::symbol(), and DocSymbol::PerlSymb::type.
|
virtual |
Implements DocVisitor.
Definition at line 613 of file perlmodgen.cpp.
References PerlModOutput::addFieldQuotedString(), closeItem(), m_output, openItem(), and DocURL::url().
|
virtual |
Implements DocVisitor.
Definition at line 620 of file perlmodgen.cpp.
References singleItem().
|
virtual |
Implements DocVisitor.
Definition at line 621 of file perlmodgen.cpp.
References singleItem().
|
virtual |
Implements DocVisitor.
Definition at line 623 of file perlmodgen.cpp.
References PerlModOutput::addFieldBoolean(), PerlModOutput::addFieldQuotedString(), DocStyleChange::Bold, DocStyleChange::Center, closeItem(), DocStyleChange::Code, DocStyleChange::Div, DocStyleChange::enable(), DocStyleChange::Italic, m_output, openItem(), DocStyleChange::Preformatted, DocStyleChange::Small, DocStyleChange::Span, DocStyleChange::style(), DocStyleChange::Subscript, and DocStyleChange::Superscript.
|
virtual |
Implements DocVisitor.
Definition at line 646 of file perlmodgen.cpp.
References DocNode::accept(), PerlModOutput::add(), PerlModOutput::addFieldQuotedString(), DocVerbatim::children(), closeItem(), closeSubBlock(), DocVerbatim::Code, DocVerbatim::context(), DocVerbatim::DocbookOnly, DocVerbatim::Dot, DocVerbatim::hasCaption(), DocVerbatim::HtmlOnly, DocVerbatim::LatexOnly, m_output, DocVerbatim::ManOnly, DocVerbatim::Msc, openItem(), openSubBlock(), parseCode(), DocVerbatim::PlantUML, DocVerbatim::RtfOnly, DocVerbatim::text(), DocVerbatim::type(), DocVerbatim::Verbatim, and DocVerbatim::XmlOnly.
|
virtual |
Implements DocVisitor.
Definition at line 682 of file perlmodgen.cpp.
References PerlModOutput::addFieldQuotedString(), DocAnchor::anchor(), closeItem(), DocAnchor::file(), m_output, and openItem().
|
virtual |
Implements DocVisitor.
Definition at line 690 of file perlmodgen.cpp.
References PerlModOutput::add(), PerlModOutput::addFieldQuotedString(), closeItem(), DocInclude::context(), DocInclude::DontInclude, err(), DocInclude::exampleFile(), DocInclude::file(), DocInclude::HtmlInclude, DocInclude::Include, DocInclude::IncludeDoc, DocInclude::IncWithLines, DocInclude::isExample(), DocInclude::LatexInclude, m_output, openItem(), parseCode(), DocInclude::Snippet, DocInclude::SnippetDoc, DocInclude::text(), DocInclude::type(), and DocInclude::VerbInclude.
|
virtual |
Implements DocVisitor.
Definition at line 730 of file perlmodgen.cpp.
References PerlModOutput::add(), m_output, parseCode(), and DocIncOperator::Skip.
|
virtual |
Implements DocVisitor.
Definition at line 754 of file perlmodgen.cpp.
References PerlModOutput::addFieldQuotedString(), closeItem(), DocVisitor::id(), DocFormula::id(), m_output, openItem(), and DocFormula::text().
|
virtual |
Implements DocVisitor.
Definition at line 763 of file perlmodgen.cpp.
References PerlModOutput::add(), PerlModOutput::addQuoted(), and m_output.
|
virtual |
|
virtual |
Implements DocVisitor.
Definition at line 779 of file perlmodgen.cpp.
References PerlModOutput::addFieldQuotedString(), closeItem(), m_output, openItem(), and DocCite::text().
|
virtual |
Implements DocVisitor.
Definition at line 798 of file perlmodgen.cpp.
References closeItem(), and closeSubBlock().
|
virtual |
|
virtual |
Implements DocVisitor.
Definition at line 826 of file perlmodgen.cpp.
|
virtual |
|
virtual |
Implements DocVisitor.
Definition at line 874 of file perlmodgen.cpp.
References PerlModOutput::closeHash(), closeOther(), closeSubBlock(), and m_output.
|
virtual |
Implements DocVisitor.
Definition at line 887 of file perlmodgen.cpp.
References closeItem(), and closeSubBlock().
|
virtual |
Implements DocVisitor.
Definition at line 900 of file perlmodgen.cpp.
References closeItem(), and closeSubBlock().
|
virtual |
Implements DocVisitor.
Definition at line 907 of file perlmodgen.cpp.
References closeSubBlock().
|
virtual |
Implements DocVisitor.
Definition at line 917 of file perlmodgen.cpp.
References closeItem(), and closeSubBlock().
|
virtual |
Implements DocVisitor.
Definition at line 930 of file perlmodgen.cpp.
References closeItem(), and closeSubBlock().
|
virtual |
Implements DocVisitor.
Definition at line 937 of file perlmodgen.cpp.
References closeSubBlock().
|
virtual |
Implements DocVisitor.
Definition at line 960 of file perlmodgen.cpp.
References PerlModOutput::add(), and m_output.
|
virtual |
Implements DocVisitor.
Definition at line 974 of file perlmodgen.cpp.
References PerlModOutput::add(), and m_output.
|
virtual |
Implements DocVisitor.
Definition at line 988 of file perlmodgen.cpp.
References PerlModOutput::add(), and m_output.
|
virtual |
Implements DocVisitor.
Definition at line 1003 of file perlmodgen.cpp.
References PerlModOutput::add(), and m_output.
|
virtual |
Implements DocVisitor.
Definition at line 1017 of file perlmodgen.cpp.
References PerlModOutput::add(), and m_output.
|
virtual |
Implements DocVisitor.
Definition at line 1031 of file perlmodgen.cpp.
References PerlModOutput::add(), and m_output.
|
virtual |
Implements DocVisitor.
Definition at line 1045 of file perlmodgen.cpp.
References PerlModOutput::add(), and m_output.
|
virtual |
Implements DocVisitor.
Definition at line 1059 of file perlmodgen.cpp.
References PerlModOutput::add(), and m_output.
|
virtual |
Implements DocVisitor.
Definition at line 1073 of file perlmodgen.cpp.
References PerlModOutput::add(), and m_output.
|
virtual |
Implements DocVisitor.
Definition at line 1087 of file perlmodgen.cpp.
References PerlModOutput::add(), and m_output.
|
virtual |
Implements DocVisitor.
Definition at line 1129 of file perlmodgen.cpp.
References PerlModOutput::add(), and m_output.
|
virtual |
Implements DocVisitor.
Definition at line 1143 of file perlmodgen.cpp.
References PerlModOutput::add(), and m_output.
|
virtual |
Implements DocVisitor.
Definition at line 1156 of file perlmodgen.cpp.
References PerlModOutput::add(), and m_output.
|
virtual |
Implements DocVisitor.
Definition at line 1170 of file perlmodgen.cpp.
References PerlModOutput::add(), and m_output.
|
virtual |
|
virtual |
Implements DocVisitor.
Definition at line 1197 of file perlmodgen.cpp.
References closeItem(), and closeSubBlock().
|
virtual |
Implements DocVisitor.
Definition at line 1210 of file perlmodgen.cpp.
References PerlModOutput::add(), and m_output.
|
virtual |
Implements DocVisitor.
Definition at line 1224 of file perlmodgen.cpp.
References PerlModOutput::add(), and m_output.
|
virtual |
Implements DocVisitor.
Definition at line 1260 of file perlmodgen.cpp.
References closeOther(), and closeSubBlock().
|
virtual |
Implements DocVisitor.
Definition at line 1320 of file perlmodgen.cpp.
References PerlModOutput::closeHash(), PerlModOutput::closeList(), leaveText(), and m_output.
|
virtual |
Implements DocVisitor.
Definition at line 1343 of file perlmodgen.cpp.
References PerlModOutput::add(), closeItem(), closeSubBlock(), m_output, and DocXRefItem::title().
|
virtual |
Implements DocVisitor.
Definition at line 1361 of file perlmodgen.cpp.
References closeItem(), and closeSubBlock().
|
virtual |
|
virtual |
|
virtual |
Implements DocVisitor.
Definition at line 1389 of file perlmodgen.cpp.
References closeItem(), and closeSubBlock().
|
virtual |
|
virtual |
|
virtual |
Implements DocVisitor.
Definition at line 791 of file perlmodgen.cpp.
References PerlModOutput::addFieldQuotedString(), DocAutoList::isEnumList(), m_output, openItem(), and openSubBlock().
|
virtual |
|
virtual |
Implements DocVisitor.
Definition at line 814 of file perlmodgen.cpp.
References m_textblockstart, and singleItem().
|
virtual |
|
virtual |
Implements DocVisitor.
Definition at line 842 of file perlmodgen.cpp.
References DocSimpleSect::Attention, DocSimpleSect::Author, DocSimpleSect::Authors, DocSimpleSect::Copyright, DocSimpleSect::Date, err(), DocSimpleSect::Invar, leaveText(), m_output, DocSimpleSect::Note, PerlModOutput::openHash(), openOther(), openSubBlock(), DocSimpleSect::Post, DocSimpleSect::Pre, DocSimpleSect::Rcs, DocSimpleSect::Remark, DocSimpleSect::Return, DocSimpleSect::See, DocSimpleSect::Since, DocSimpleSect::type(), DocSimpleSect::Unknown, DocSimpleSect::User, DocSimpleSect::Version, and DocSimpleSect::Warning.
|
virtual |
Implements DocVisitor.
Definition at line 881 of file perlmodgen.cpp.
References openItem(), and openSubBlock().
|
virtual |
Implements DocVisitor.
Definition at line 893 of file perlmodgen.cpp.
References PerlModOutput::addFieldQuotedString(), m_output, openItem(), and openSubBlock().
|
virtual |
Implements DocVisitor.
Definition at line 906 of file perlmodgen.cpp.
References openSubBlock().
|
virtual |
Implements DocVisitor.
Definition at line 909 of file perlmodgen.cpp.
References PerlModOutput::addFieldQuotedString(), DocSection::level(), m_output, openItem(), openSubBlock(), and DocSection::title().
|
virtual |
Implements DocVisitor.
Definition at line 923 of file perlmodgen.cpp.
References PerlModOutput::addFieldQuotedString(), m_output, openItem(), openSubBlock(), DocHtmlList::Ordered, and DocHtmlList::type().
|
virtual |
Implements DocVisitor.
Definition at line 936 of file perlmodgen.cpp.
References openSubBlock().
|
virtual |
Implements DocVisitor.
Definition at line 953 of file perlmodgen.cpp.
References PerlModOutput::add(), and m_output.
|
virtual |
Implements DocVisitor.
Definition at line 967 of file perlmodgen.cpp.
References PerlModOutput::add(), and m_output.
|
virtual |
Implements DocVisitor.
Definition at line 981 of file perlmodgen.cpp.
References PerlModOutput::add(), and m_output.
|
virtual |
Implements DocVisitor.
Definition at line 995 of file perlmodgen.cpp.
References PerlModOutput::add(), and m_output.
|
virtual |
Implements DocVisitor.
Definition at line 1010 of file perlmodgen.cpp.
References PerlModOutput::add(), and m_output.
|
virtual |
Implements DocVisitor.
Definition at line 1024 of file perlmodgen.cpp.
References PerlModOutput::add(), and m_output.
|
virtual |
Implements DocVisitor.
Definition at line 1038 of file perlmodgen.cpp.
References PerlModOutput::add(), and m_output.
|
virtual |
Implements DocVisitor.
Definition at line 1052 of file perlmodgen.cpp.
References PerlModOutput::add(), and m_output.
|
virtual |
Implements DocVisitor.
Definition at line 1066 of file perlmodgen.cpp.
References PerlModOutput::add(), and m_output.
|
virtual |
Implements DocVisitor.
Definition at line 1080 of file perlmodgen.cpp.
References PerlModOutput::add(), and m_output.
|
virtual |
Implements DocVisitor.
Definition at line 1094 of file perlmodgen.cpp.
References PerlModOutput::add(), PerlModOutput::addQuoted(), DocImage::Html, DocImage::Latex, m_output, and DocImage::Rtf.
|
virtual |
Implements DocVisitor.
Definition at line 1136 of file perlmodgen.cpp.
References PerlModOutput::add(), and m_output.
|
virtual |
Implements DocVisitor.
Definition at line 1149 of file perlmodgen.cpp.
References PerlModOutput::add(), and m_output.
|
virtual |
Implements DocVisitor.
Definition at line 1163 of file perlmodgen.cpp.
References PerlModOutput::add(), and m_output.
|
virtual |
Implements DocVisitor.
Definition at line 1178 of file perlmodgen.cpp.
References addLink(), DocLink::anchor(), DocLink::file(), openItem(), and DocLink::ref().
|
virtual |
Implements DocVisitor.
Definition at line 1189 of file perlmodgen.cpp.
References PerlModOutput::addFieldQuotedString(), DocRef::hasLinkText(), m_output, openItem(), openSubBlock(), and DocRef::targetTitle().
|
virtual |
Implements DocVisitor.
Definition at line 1203 of file perlmodgen.cpp.
References PerlModOutput::add(), and m_output.
|
virtual |
Implements DocVisitor.
Definition at line 1217 of file perlmodgen.cpp.
References PerlModOutput::add(), and m_output.
|
virtual |
Implements DocVisitor.
Definition at line 1242 of file perlmodgen.cpp.
References err(), DocParamSect::Exception, leaveText(), openOther(), openSubBlock(), DocParamSect::Param, DocParamSect::RetVal, DocParamSect::TemplateParam, DocParamSect::type(), and DocParamSect::Unknown.
|
virtual |
Implements DocVisitor.
Definition at line 1266 of file perlmodgen.cpp.
References PerlModOutput::addFieldQuotedString(), PerlModOutput::closeHash(), PerlModOutput::closeList(), DocParamList::direction(), DocParamSect::hasInOutSpecifier(), DocParamSect::In, DocParamSect::InOut, DocNode::kind(), DocNode::Kind_LinkedWord, DocNode::Kind_ParamSect, DocNode::Kind_Word, leaveText(), m_output, PerlModOutput::openHash(), PerlModOutput::openList(), DocParamSect::Out, DocParamList::parameters(), DocNode::parent(), and DocParamSect::Unspecified.
|
virtual |
Implements DocVisitor.
Definition at line 1327 of file perlmodgen.cpp.
References PerlModOutput::add(), PerlModOutput::addQuoted(), DocXRefItem::anchor(), DocXRefItem::file(), m_output, openItem(), openSubBlock(), and DocXRefItem::title().
|
virtual |
Implements DocVisitor.
Definition at line 1354 of file perlmodgen.cpp.
References addLink(), DocInternalRef::anchor(), DocInternalRef::file(), openItem(), and openSubBlock().
|
virtual |
|
virtual |
|
virtual |
Implements DocVisitor.
Definition at line 1383 of file perlmodgen.cpp.
References openItem(), and openSubBlock().
|
virtual |
|
virtual |
|
private |
Definition at line 427 of file perlmodgen.cpp.
Referenced by finish().
|
private |
Definition at line 424 of file perlmodgen.cpp.
Referenced by addLink(), closeItem(), closeSubBlock(), enterText(), finish(), leaveText(), openItem(), openSubBlock(), PerlModDocVisitor(), visit(), visitPost(), and visitPre().
|
private |
Definition at line 426 of file perlmodgen.cpp.
Referenced by openSubBlock(), and visitPre().
|
private |
Definition at line 425 of file perlmodgen.cpp.
Referenced by enterText(), and leaveText().