My Project
|
#include <printdocvisitor.h>
Private Member Functions | |
void | indent () |
void | indent_leaf () |
void | indent_pre () |
void | indent_post () |
Private Attributes | |
int | m_indent |
bool | m_needsEnter |
bool | m_insidePre |
Concrete visitor implementation for pretty printing
Definition at line 28 of file printdocvisitor.h.
|
inline |
Definition at line 31 of file printdocvisitor.h.
|
inlineprivate |
Definition at line 707 of file printdocvisitor.h.
References m_indent, and m_needsEnter.
Referenced by indent_leaf(), indent_post(), and indent_pre().
|
inlineprivate |
Definition at line 713 of file printdocvisitor.h.
References indent(), and m_needsEnter.
Referenced by visit().
|
inlineprivate |
Definition at line 723 of file printdocvisitor.h.
References indent(), and m_indent.
Referenced by visitPost().
|
inlineprivate |
Definition at line 718 of file printdocvisitor.h.
References indent(), and m_indent.
Referenced by visitPre().
|
inlinevirtual |
Implements DocVisitor.
Definition at line 36 of file printdocvisitor.h.
References indent_leaf(), and DocWord::word().
Referenced by visitPre().
|
inlinevirtual |
Implements DocVisitor.
Definition at line 41 of file printdocvisitor.h.
References indent_leaf(), and DocLinkedWord::word().
|
inlinevirtual |
Implements DocVisitor.
Definition at line 46 of file printdocvisitor.h.
References DocWhiteSpace::chars(), indent_leaf(), and m_insidePre.
|
inlinevirtual |
Implements DocVisitor.
Definition at line 58 of file printdocvisitor.h.
References indent_leaf(), HtmlEntityMapper::instance(), DocSymbol::symbol(), and HtmlEntityMapper::utf8().
|
inlinevirtual |
Implements DocVisitor.
Definition at line 71 of file printdocvisitor.h.
References indent_leaf(), and DocURL::url().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Implements DocVisitor.
Definition at line 86 of file printdocvisitor.h.
References DocStyleChange::Bold, DocStyleChange::Center, DocStyleChange::Code, DocStyleChange::Div, DocStyleChange::enable(), indent_leaf(), DocStyleChange::Italic, DocStyleChange::Preformatted, DocStyleChange::Small, DocStyleChange::Span, DocStyleChange::style(), DocStyleChange::Subscript, and DocStyleChange::Superscript.
|
inlinevirtual |
Implements DocVisitor.
Definition at line 123 of file printdocvisitor.h.
References DocVerbatim::Code, DocVerbatim::DocbookOnly, DocVerbatim::Dot, DocVerbatim::HtmlOnly, indent_leaf(), DocVerbatim::LatexOnly, DocVerbatim::ManOnly, DocVerbatim::Msc, DocVerbatim::PlantUML, DocVerbatim::RtfOnly, DocVerbatim::text(), DocVerbatim::type(), DocVerbatim::Verbatim, and DocVerbatim::XmlOnly.
|
inlinevirtual |
Implements DocVisitor.
Definition at line 156 of file printdocvisitor.h.
References DocAnchor::anchor(), and indent_leaf().
|
inlinevirtual |
Implements DocVisitor.
Definition at line 161 of file printdocvisitor.h.
References DocInclude::DontInclude, err(), DocInclude::file(), DocInclude::HtmlInclude, DocInclude::Include, DocInclude::IncludeDoc, DocInclude::IncWithLines, indent_leaf(), DocInclude::LatexInclude, DocInclude::Snippet, DocInclude::SnippetDoc, DocInclude::type(), and DocInclude::VerbInclude.
|
inlinevirtual |
Implements DocVisitor.
Definition at line 182 of file printdocvisitor.h.
References indent_leaf(), DocIncOperator::Line, DocIncOperator::pattern(), DocIncOperator::Skip, DocIncOperator::SkipLine, DocIncOperator::type(), and DocIncOperator::Until.
|
inlinevirtual |
Implements DocVisitor.
Definition at line 195 of file printdocvisitor.h.
References indent_leaf(), DocFormula::name(), and DocFormula::text().
|
inlinevirtual |
Implements DocVisitor.
Definition at line 200 of file printdocvisitor.h.
References DocIndexEntry::entry(), and indent_leaf().
|
inlinevirtual |
|
inlinevirtual |
Implements DocVisitor.
Definition at line 210 of file printdocvisitor.h.
References DocCite::anchor(), DocCite::file(), indent_leaf(), DocCite::ref(), and DocCite::text().
|
inlinevirtual |
Implements DocVisitor.
Definition at line 234 of file printdocvisitor.h.
References indent_post(), and DocAutoList::isEnumList().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Implements DocVisitor.
Definition at line 343 of file printdocvisitor.h.
References indent_post(), and DocSection::level().
|
inlinevirtual |
Implements DocVisitor.
Definition at line 353 of file printdocvisitor.h.
References indent_post(), DocHtmlList::Ordered, and DocHtmlList::type().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Implements DocVisitor.
Definition at line 436 of file printdocvisitor.h.
References indent_post(), and DocHtmlCell::isHeading().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Implements DocVisitor.
Definition at line 476 of file printdocvisitor.h.
References indent_post(), and DocHtmlHeader::level().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Implements DocVisitor.
Definition at line 222 of file printdocvisitor.h.
References indent_pre(), and DocAutoList::isEnumList().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Implements DocVisitor.
Definition at line 276 of file printdocvisitor.h.
References DocSimpleSect::Attention, DocSimpleSect::Author, DocSimpleSect::Authors, DocSimpleSect::Copyright, DocSimpleSect::Date, indent_pre(), DocSimpleSect::Invar, DocSimpleSect::Note, 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.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Implements DocVisitor.
Definition at line 338 of file printdocvisitor.h.
References indent_pre(), and DocSection::level().
|
inlinevirtual |
Implements DocVisitor.
Definition at line 348 of file printdocvisitor.h.
References indent_pre(), DocHtmlList::Ordered, and DocHtmlList::type().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Implements DocVisitor.
Definition at line 410 of file printdocvisitor.h.
References indent_pre(), DocHtmlTable::numColumns(), and DocHtmlTable::numRows().
|
inlinevirtual |
|
inlinevirtual |
Implements DocVisitor.
Definition at line 431 of file printdocvisitor.h.
References indent_pre(), and DocHtmlCell::isHeading().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Implements DocVisitor.
Definition at line 461 of file printdocvisitor.h.
References indent_pre(), and DocHRef::url().
|
inlinevirtual |
Implements DocVisitor.
Definition at line 471 of file printdocvisitor.h.
References indent_pre(), and DocHtmlHeader::level().
|
inlinevirtual |
Implements DocVisitor.
Definition at line 481 of file printdocvisitor.h.
References DocImage::DocBook, DocImage::height(), DocImage::Html, indent_pre(), DocImage::Latex, DocImage::name(), DocImage::Rtf, DocImage::type(), and DocImage::width().
|
inlinevirtual |
Implements DocVisitor.
Definition at line 499 of file printdocvisitor.h.
References indent_pre(), and DocDotFile::name().
|
inlinevirtual |
Implements DocVisitor.
Definition at line 509 of file printdocvisitor.h.
References indent_pre(), and DocMscFile::name().
|
inlinevirtual |
Implements DocVisitor.
Definition at line 519 of file printdocvisitor.h.
References indent_pre(), and DocDiaFile::name().
|
inlinevirtual |
Implements DocVisitor.
Definition at line 529 of file printdocvisitor.h.
References DocLink::anchor(), DocLink::file(), indent_pre(), and DocLink::ref().
|
inlinevirtual |
Implements DocVisitor.
Definition at line 540 of file printdocvisitor.h.
References DocRef::anchor(), DocRef::file(), DocRef::hasLinkText(), indent_pre(), DocRef::ref(), DocRef::refToAnchor(), DocRef::refToSection(), DocRef::refToTable(), and DocRef::targetTitle().
|
inlinevirtual |
Implements DocVisitor.
Definition at line 556 of file printdocvisitor.h.
References indent_pre(), and DocSecRefItem::target().
|
inlinevirtual |
|
inlinevirtual |
Implements DocVisitor.
Definition at line 586 of file printdocvisitor.h.
References indent_pre(), DocNode::Kind_LinkedWord, DocNode::Kind_Word, DocParamList::parameters(), and visit().
|
inlinevirtual |
Implements DocVisitor.
Definition at line 614 of file printdocvisitor.h.
References DocParamSect::Exception, indent_pre(), DocParamSect::Param, DocParamSect::RetVal, DocParamSect::TemplateParam, DocParamSect::type(), and DocParamSect::Unknown.
|
inlinevirtual |
Implements DocVisitor.
Definition at line 633 of file printdocvisitor.h.
References DocXRefItem::anchor(), DocXRefItem::file(), indent_pre(), and DocXRefItem::title().
|
inlinevirtual |
Implements DocVisitor.
Definition at line 644 of file printdocvisitor.h.
References DocInternalRef::anchor(), DocInternalRef::file(), and indent_pre().
|
inlinevirtual |
Implements DocVisitor.
Definition at line 654 of file printdocvisitor.h.
References indent_pre(), and DocCopy::link().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
private |
Definition at line 730 of file printdocvisitor.h.
Referenced by indent(), indent_post(), and indent_pre().
|
private |
Definition at line 732 of file printdocvisitor.h.
Referenced by visit().
|
private |
Definition at line 731 of file printdocvisitor.h.
Referenced by indent(), and indent_leaf().