Doxygen
Loading...
Searching...
No Matches
ManDocVisitor Class Reference

Concrete visitor implementation for LaTeX output. More...

#include <src/mandocvisitor.h>

Inheritance diagram for ManDocVisitor:
Collaboration diagram for ManDocVisitor:

Classes

struct  ManListItemInfo

Public Member Functions

 ManDocVisitor (TextStream &t, OutputCodeList &ci, const QCString &langExt)
void operator() (const DocWord &)
void operator() (const DocLinkedWord &)
void operator() (const DocWhiteSpace &)
void operator() (const DocSymbol &)
void operator() (const DocEmoji &)
void operator() (const DocURL &)
void operator() (const DocLineBreak &)
void operator() (const DocHorRuler &)
void operator() (const DocStyleChange &)
void operator() (const DocVerbatim &)
void operator() (const DocAnchor &)
void operator() (const DocInclude &)
void operator() (const DocIncOperator &)
void operator() (const DocFormula &)
void operator() (const DocIndexEntry &)
void operator() (const DocSimpleSectSep &)
void operator() (const DocCite &)
void operator() (const DocSeparator &)
void operator() (const DocAutoList &)
void operator() (const DocAutoListItem &)
void operator() (const DocPara &)
void operator() (const DocRoot &)
void operator() (const DocSimpleSect &)
void operator() (const DocTitle &)
void operator() (const DocSimpleList &)
void operator() (const DocSimpleListItem &)
void operator() (const DocSection &s)
void operator() (const DocHtmlList &s)
void operator() (const DocHtmlListItem &)
void operator() (const DocHtmlDescList &)
void operator() (const DocHtmlDescTitle &)
void operator() (const DocHtmlDescData &)
void operator() (const DocHtmlTable &t)
void operator() (const DocHtmlCaption &)
void operator() (const DocHtmlRow &)
void operator() (const DocHtmlCell &)
void operator() (const DocInternal &)
void operator() (const DocHRef &)
void operator() (const DocHtmlSummary &)
void operator() (const DocHtmlDetails &)
void operator() (const DocHtmlHeader &)
void operator() (const DocImage &)
void operator() (const DocDotFile &)
void operator() (const DocMscFile &)
void operator() (const DocDiaFile &)
void operator() (const DocPlantUmlFile &)
void operator() (const DocLink &lnk)
void operator() (const DocRef &ref)
void operator() (const DocSecRefItem &)
void operator() (const DocSecRefList &)
void operator() (const DocParamSect &)
void operator() (const DocParamList &)
void operator() (const DocXRefItem &)
void operator() (const DocInternalRef &)
void operator() (const DocText &)
void operator() (const DocHtmlBlockQuote &)
void operator() (const DocVhdlFlow &)
void operator() (const DocParBlock &)
Public Member Functions inherited from DocVisitor
 DocVisitor ()
virtual ~DocVisitor ()
CodeParserInterfacegetCodeParser (const QCString &langExt)
void pushHidden (bool hide)
bool popHidden ()

Private Member Functions

template<class T>
void visitChildren (const T &t)
void filter (const QCString &str, const bool retainNewline=false)

Private Attributes

TextStreamm_t
OutputCodeListm_ci
bool m_insidePre
bool m_hide
bool m_firstCol
int m_indent
QCString m_langExt
std::array< ManListItemInfo, maxIndentLevelsm_listItemInfo

Static Private Attributes

static const int maxIndentLevels = 13

Detailed Description

Concrete visitor implementation for LaTeX output.

Definition at line 33 of file mandocvisitor.h.

Constructor & Destructor Documentation

◆ ManDocVisitor()

ManDocVisitor::ManDocVisitor ( TextStream & t,
OutputCodeList & ci,
const QCString & langExt )

Definition at line 33 of file mandocvisitor.cpp.

36 m_indent(0), m_langExt(langExt)
37{
38}
TextStream & m_t
OutputCodeList & m_ci
QCString m_langExt
#define FALSE
Definition qcstring.h:34

References FALSE, m_ci, m_firstCol, m_hide, m_indent, m_insidePre, m_langExt, and m_t.

Member Function Documentation

◆ filter()

void ManDocVisitor::filter ( const QCString & str,
const bool retainNewline = false )
private

Definition at line 989 of file mandocvisitor.cpp.

990{
991 if (!str.isEmpty())
992 {
993 const char *p=str.data();
994 char c=0;
995 bool insideDoubleQuote = false;
996 while ((c=*p++))
997 {
998 switch(c)
999 {
1000 case '.': m_t << "\\&."; break; // see bug652277
1001 case '\\': m_t << "\\\\"; break;
1002 case '\"': m_t << "\""; insideDoubleQuote = !insideDoubleQuote; break;
1003 case '\n': if (retainNewline || !insideDoubleQuote) m_t << c; break;
1004 default: m_t << c; break;
1005 }
1006 }
1007 }
1008}
bool isEmpty() const
Returns TRUE iff the string is empty.
Definition qcstring.h:163
const char * data() const
Returns a pointer to the contents of the string in the form of a 0-terminated C string.
Definition qcstring.h:172

References QCString::data(), QCString::isEmpty(), and m_t.

Referenced by operator()(), operator()(), operator()(), operator()(), operator()(), and operator()().

◆ operator()() [1/58]

void ManDocVisitor::operator() ( const DocAnchor & )

Definition at line 255 of file mandocvisitor.cpp.

256{
257 /* no support for anchors in man pages */
258}

◆ operator()() [2/58]

void ManDocVisitor::operator() ( const DocAutoList & l)

Definition at line 448 of file mandocvisitor.cpp.

449{
450 if (m_hide) return;
451 m_indent++;
452 visitChildren(l);
453 m_indent--;
454 m_t << ".PP\n";
455}
void visitChildren(const T &t)

References m_hide, m_indent, m_t, and visitChildren().

◆ operator()() [3/58]

void ManDocVisitor::operator() ( const DocAutoListItem & li)

Definition at line 457 of file mandocvisitor.cpp.

458{
459 if (m_hide) return;
460 QCString ws;
461 if (m_indent>0) ws.fill(' ',2*(m_indent-1));
462 if (!m_firstCol) m_t << "\n";
463 m_t << ".IP \"" << ws;
464 const DocAutoList *list = std::get_if<DocAutoList>(li.parent());
465 if (list && list->isEnumList())
466 {
467 m_t << li.itemNumber() << ".\" " << (2*(m_indent+1));
468 }
469 else // bullet list
470 {
471 switch (li.itemNumber())
472 {
473 case DocAutoList::Unchecked: // unchecked
474 m_t << "[ ]\" " << (2*m_indent) + 2;
475 break;
476 case DocAutoList::Checked_x: // checked with x
477 m_t << "[x]\" " << (2*m_indent) + 2;
478 break;
479 case DocAutoList::Checked_X: // checked with X
480 m_t << "[X]\" " << (2*m_indent) + 2;
481 break;
482 default:
483 m_t << "\\(bu\" " << (2*m_indent);
484 break;
485 }
486 }
487 m_t << "\n";
489 visitChildren(li);
490 m_t << "\n";
492}
bool isEnumList() const
Definition docnode.h:580
int itemNumber() const
Definition docnode.h:598
DocNodeVariant * parent()
Definition docnode.h:90
QCString fill(char c, int len=-1)
Fills a string with a predefined character.
Definition qcstring.h:193
#define TRUE
Definition qcstring.h:37

References DocAutoList::Checked_X, DocAutoList::Checked_x, QCString::fill(), DocAutoList::isEnumList(), DocAutoListItem::itemNumber(), m_firstCol, m_hide, m_indent, m_t, DocNode::parent(), TRUE, DocAutoList::Unchecked, and visitChildren().

◆ operator()() [4/58]

void ManDocVisitor::operator() ( const DocCite & cite)

Definition at line 417 of file mandocvisitor.cpp.

418{
419 if (m_hide) return;
420 m_t << "\\fB";
421 auto opt = cite.option();
422 QCString txt;
423 if (!cite.file().isEmpty())
424 {
425 txt = cite.getText();
426 }
427 else
428 {
429 if (!opt.noPar()) txt += "[";
430 txt += cite.target();
431 if (!opt.noPar()) txt += "]";
432 }
433 filter(txt);
434 m_t << "\\fP";
435}
QCString getText() const
Definition docnode.cpp:959
CiteInfoOption option() const
Definition docnode.h:253
QCString target() const
Definition docnode.h:252
QCString file() const
Definition docnode.h:248
void filter(const QCString &str, const bool retainNewline=false)

References DocCite::file(), filter(), DocCite::getText(), QCString::isEmpty(), m_hide, m_t, DocCite::option(), and DocCite::target().

◆ operator()() [5/58]

void ManDocVisitor::operator() ( const DocDiaFile & )

Definition at line 829 of file mandocvisitor.cpp.

830{
831}

◆ operator()() [6/58]

void ManDocVisitor::operator() ( const DocDotFile & )

Definition at line 821 of file mandocvisitor.cpp.

822{
823}

◆ operator()() [7/58]

void ManDocVisitor::operator() ( const DocEmoji & s)

Definition at line 91 of file mandocvisitor.cpp.

92{
93 if (m_hide) return;
94 const char *res = EmojiEntityMapper::instance().name(s.index());
95 if (res)
96 {
97 m_t << res;
98 }
99 else
100 {
101 m_t << s.name();
102 }
104}
int index() const
Definition docnode.h:345
QCString name() const
Definition docnode.h:344
const char * name(int index) const
Access routine to the name of the Emoji entity.
Definition emoji.cpp:2026
static EmojiEntityMapper & instance()
Returns the one and only instance of the Emoji entity mapper.
Definition emoji.cpp:1978

References FALSE, DocEmoji::index(), EmojiEntityMapper::instance(), m_firstCol, m_hide, m_t, DocEmoji::name(), and EmojiEntityMapper::name().

◆ operator()() [8/58]

void ManDocVisitor::operator() ( const DocFormula & f)

Definition at line 403 of file mandocvisitor.cpp.

404{
405 if (m_hide) return;
406 m_t << f.text();
407}
QCString text() const
Definition docnode.h:533

References m_hide, m_t, and DocFormula::text().

◆ operator()() [9/58]

void ManDocVisitor::operator() ( const DocHorRuler & )

Definition at line 120 of file mandocvisitor.cpp.

121{
122 if (m_hide) return;
123 if (!m_firstCol) m_t << "\n";
124 m_t << ".PP\n";
126}

References m_firstCol, m_hide, m_t, and TRUE.

◆ operator()() [10/58]

void ManDocVisitor::operator() ( const DocHRef & href)

Definition at line 765 of file mandocvisitor.cpp.

766{
767 if (m_hide) return;
768 m_t << "\\fR";
769 visitChildren(href);
770 m_t << "\\fP";
771}

References m_hide, m_t, and visitChildren().

◆ operator()() [11/58]

void ManDocVisitor::operator() ( const DocHtmlBlockQuote & q)

Definition at line 964 of file mandocvisitor.cpp.

965{
966 if (m_hide) return;
967 if (!m_firstCol)
968 {
969 m_t << "\n";
970 m_t << ".PP\n";
971 }
972 m_t << ".RS 4\n"; // TODO: add support for nested block quotes
973 visitChildren(q);
974 if (!m_firstCol) m_t << "\n";
975 m_t << ".RE\n";
976 m_t << ".PP\n";
978}

References m_firstCol, m_hide, m_t, TRUE, and visitChildren().

◆ operator()() [12/58]

void ManDocVisitor::operator() ( const DocHtmlCaption & c)

Definition at line 745 of file mandocvisitor.cpp.

746{
747 visitChildren(c);
748}

References visitChildren().

◆ operator()() [13/58]

void ManDocVisitor::operator() ( const DocHtmlCell & c)

Definition at line 755 of file mandocvisitor.cpp.

756{
757 visitChildren(c);
758}

References visitChildren().

◆ operator()() [14/58]

void ManDocVisitor::operator() ( const DocHtmlDescData & dd)

Definition at line 732 of file mandocvisitor.cpp.

733{
734 if (!m_firstCol) m_t << "\n";
735 m_t << ".IP \"\" 1c\n";
737 visitChildren(dd);
738}

References m_firstCol, m_t, TRUE, and visitChildren().

◆ operator()() [15/58]

void ManDocVisitor::operator() ( const DocHtmlDescList & dl)

Definition at line 711 of file mandocvisitor.cpp.

712{
713 if (m_hide) return;
714 m_indent+=2;
715 visitChildren(dl);
716 m_indent-=2;
717 if (!m_firstCol) m_t << "\n";
718 m_t << "\n.PP\n";
720}

References m_firstCol, m_hide, m_indent, m_t, TRUE, and visitChildren().

◆ operator()() [16/58]

void ManDocVisitor::operator() ( const DocHtmlDescTitle & dt)

Definition at line 722 of file mandocvisitor.cpp.

723{
724 if (m_hide) return;
725 if (!m_firstCol) m_t << "\n";
726 m_t << "\n.PP";
727 m_t << "\n.IP \"\\fB";
729 visitChildren(dt);
730}

References FALSE, m_firstCol, m_hide, m_t, and visitChildren().

◆ operator()() [17/58]

void ManDocVisitor::operator() ( const DocHtmlDetails & d)

Definition at line 780 of file mandocvisitor.cpp.

781{
782 if (m_hide) return;
783 if (!m_firstCol)
784 {
785 m_t << "\n";
786 m_t << ".PP\n";
787 }
788 auto summary = d.summary();
789 if (summary)
790 {
791 std::visit(*this,*summary);
792 m_t << ".PP\n";
793 m_t << ".RS 4\n";
794 }
795 visitChildren(d);
796 if (!m_firstCol) m_t << "\n";
797 if (summary)
798 {
799 m_t << ".RE\n";
800 }
801 m_t << ".PP\n";
803}
const DocNodeVariant * summary() const
Definition docnode.h:864

References m_firstCol, m_hide, m_t, DocHtmlDetails::summary(), TRUE, and visitChildren().

◆ operator()() [18/58]

void ManDocVisitor::operator() ( const DocHtmlHeader & header)

Definition at line 805 of file mandocvisitor.cpp.

806{
807 if (m_hide) return;
808 if (!m_firstCol) m_t << "\n";
809 if (header.level()==1) m_t << ".SH"; else m_t << ".SS";
810 m_t << " \"";
811 visitChildren(header);
812 m_t << "\"\n";
813 if (header.level()==1) m_t << ".PP\n";
815}
int level() const
Definition docnode.h:877

References DocHtmlHeader::level(), m_firstCol, m_hide, m_t, TRUE, and visitChildren().

◆ operator()() [19/58]

void ManDocVisitor::operator() ( const DocHtmlList & s)

Definition at line 627 of file mandocvisitor.cpp.

628{
629 if (m_hide) return;
630 m_indent++;
631 if (!m_firstCol) m_t << "\n";
632 m_t << ".PD 0\n";
633 m_firstCol=true;
634 int indent = std::min(m_indent,maxIndentLevels-1);
635 m_listItemInfo[indent].number = 1;
636 m_listItemInfo[indent].type = '1';
637 for (const auto &opt : l.attribs())
638 {
639 if (opt.name=="type")
640 {
641 m_listItemInfo[indent].type = opt.value[0];
642 }
643 if (opt.name=="start")
644 {
645 bool ok = false;
646 int val = opt.value.toInt(&ok);
647 if (ok) m_listItemInfo[indent].number = val;
648 }
649 }
650 visitChildren(l);
651 m_indent--;
652 if (!m_firstCol) m_t << "\n";
653 m_t << ".PP\n";
654}
std::array< ManListItemInfo, maxIndentLevels > m_listItemInfo
static const int maxIndentLevels

References DocHtmlList::attribs(), m_firstCol, m_hide, m_indent, m_listItemInfo, m_t, maxIndentLevels, and visitChildren().

◆ operator()() [20/58]

void ManDocVisitor::operator() ( const DocHtmlListItem & li)

Definition at line 656 of file mandocvisitor.cpp.

657{
658 if (m_hide) return;
659 QCString ws;
660 if (m_indent>0) ws.fill(' ',2*(m_indent-1));
661 if (!m_firstCol) m_t << "\n";
662 m_t << ".IP \"" << ws;
663 const DocHtmlList *list = std::get_if<DocHtmlList>(li.parent());
664 if (list && list->type()==DocHtmlList::Ordered)
665 {
666 int indent = std::min(m_indent,maxIndentLevels-1);
667 for (const auto &opt : li.attribs())
668 {
669 if (opt.name=="value")
670 {
671 bool ok = false;
672 int val = opt.value.toInt(&ok);
673 if (ok) m_listItemInfo[indent].number = val;
674 }
675 }
676 switch (m_listItemInfo[indent].type)
677 {
678 case '1':
679 m_t << m_listItemInfo[indent].number;
680 break;
681 case 'a':
682 m_t << integerToAlpha(m_listItemInfo[indent].number,false);
683 break;
684 case 'A':
685 m_t << integerToAlpha(m_listItemInfo[indent].number);
686 break;
687 case 'i':
688 m_t << integerToRoman(m_listItemInfo[indent].number,false);
689 break;
690 case 'I':
691 m_t << integerToRoman(m_listItemInfo[indent].number);
692 break;
693 default:
694 m_t << m_listItemInfo[indent].number;
695 break;
696 }
697 m_t << ".\" " << ((m_indent+1)*2);
698 m_listItemInfo[indent].number++;
699 }
700 else // bullet list
701 {
702 m_t << "\\(bu\" " << (m_indent*2);
703 }
704 m_t << "\n";
706 visitChildren(li);
707 m_t << "\n";
709}
Type type() const
Definition docnode.h:1005
const HtmlAttribList & attribs() const
Definition docnode.h:1170
QCString integerToRoman(int n, bool upper)
Definition util.cpp:6648
QCString integerToAlpha(int n, bool upper)
Definition util.cpp:6632

References DocHtmlListItem::attribs(), QCString::fill(), integerToAlpha(), integerToRoman(), m_firstCol, m_hide, m_indent, m_listItemInfo, m_t, maxIndentLevels, DocHtmlList::Ordered, DocNode::parent(), TRUE, DocHtmlList::type(), and visitChildren().

◆ operator()() [21/58]

void ManDocVisitor::operator() ( const DocHtmlRow & r)

Definition at line 750 of file mandocvisitor.cpp.

751{
752 visitChildren(r);
753}

References visitChildren().

◆ operator()() [22/58]

void ManDocVisitor::operator() ( const DocHtmlSummary & s)

Definition at line 773 of file mandocvisitor.cpp.

774{
775 m_t << "\\fB";
776 visitChildren(s);
777 m_t << "\\fP\n.PP\n";
778}

References m_t, and visitChildren().

◆ operator()() [23/58]

void ManDocVisitor::operator() ( const DocHtmlTable & t)

Definition at line 740 of file mandocvisitor.cpp.

741{
742 visitChildren(t);
743}

References visitChildren().

◆ operator()() [24/58]

void ManDocVisitor::operator() ( const DocImage & )

Definition at line 817 of file mandocvisitor.cpp.

818{
819}

◆ operator()() [25/58]

void ManDocVisitor::operator() ( const DocInclude & inc)

Definition at line 260 of file mandocvisitor.cpp.

261{
262 if (m_hide) return;
264 switch(inc.type())
265 {
267 {
268 if (!m_firstCol) m_t << "\n";
269 m_t << ".PP\n";
270 m_t << ".nf\n";
271 FileInfo cfi( inc.file().str() );
272 auto fd = createFileDef( cfi.dirPath(), cfi.fileName() );
274 inc.text(),
275 langExt,
276 inc.stripCodeComments(),
277 CodeParserOptions()
278 .setExample(inc.isExample(),inc.exampleFile())
279 .setFileDef(fd.get())
280 .setInlineFragment(true)
281 );
282 m_t << ".fi\n";
283 m_t << ".PP\n";
285 }
286 break;
288 if (!m_firstCol) m_t << "\n";
289 m_t << ".PP\n";
290 m_t << ".nf\n";
292 inc.text(),
293 langExt,
294 inc.stripCodeComments(),
295 CodeParserOptions()
296 .setExample(inc.isExample(),inc.exampleFile())
297 .setInlineFragment(true)
298 .setShowLineNumbers(false)
299 );
300 m_t << ".fi\n";
301 m_t << ".PP\n";
303 break;
311 break;
313 m_t << inc.text();
314 break;
316 if (!m_firstCol) m_t << "\n";
317 m_t << ".PP\n";
318 m_t << ".nf\n";
319 m_t << inc.text();
320 if (!m_firstCol) m_t << "\n";
321 m_t << ".fi\n";
322 m_t << ".PP\n";
324 break;
327 if (!m_firstCol) m_t << "\n";
328 m_t << ".PP\n";
329 m_t << ".nf\n";
331 inc.file(),
332 inc.blockId(),
333 inc.context(),
335 inc.trimLeft(),
337 );
338 m_t << ".fi\n";
339 m_t << ".PP\n";
341 break;
342 }
343}
void parseCodeFragment(OutputCodeList &codeOutList, const QCString &fileName, const QCString &blockId, const QCString &scopeName, bool showLineNumbers, bool trimLeft, bool stripCodeComments)
static CodeFragmentManager & instance()
virtual void parseCode(OutputCodeList &codeOutList, const QCString &scopeName, const QCString &input, SrcLangExt lang, bool stripCodeComments, const CodeParserOptions &options)=0
Parses a source file or fragment with the goal to produce highlighted and cross-referenced output.
QCString blockId() const
Definition docnode.h:454
QCString extension() const
Definition docnode.h:450
bool stripCodeComments() const
Definition docnode.h:455
@ LatexInclude
Definition docnode.h:437
@ SnippetWithLines
Definition docnode.h:438
@ DontIncWithLines
Definition docnode.h:439
@ IncWithLines
Definition docnode.h:438
@ HtmlInclude
Definition docnode.h:437
@ VerbInclude
Definition docnode.h:437
@ DontInclude
Definition docnode.h:437
@ DocbookInclude
Definition docnode.h:439
Type type() const
Definition docnode.h:451
QCString exampleFile() const
Definition docnode.h:457
QCString text() const
Definition docnode.h:452
QCString file() const
Definition docnode.h:449
bool trimLeft() const
Definition docnode.h:459
bool isExample() const
Definition docnode.h:456
QCString context() const
Definition docnode.h:453
CodeParserInterface & getCodeParser(const QCString &langExt)
const std::string & str() const
Definition qcstring.h:552
std::unique_ptr< FileDef > createFileDef(const QCString &p, const QCString &n, const QCString &ref, const QCString &dn)
Definition filedef.cpp:268
SrcLangExt
Definition types.h:207
SrcLangExt getLanguageFromFileName(const QCString &fileName, SrcLangExt defLang)
Definition util.cpp:5147

References DocInclude::blockId(), DocInclude::context(), createFileDef(), FileInfo::dirPath(), DocInclude::DocbookInclude, DocInclude::DontInclude, DocInclude::DontIncWithLines, DocInclude::exampleFile(), DocInclude::extension(), DocInclude::file(), FileInfo::fileName(), DocVisitor::getCodeParser(), getLanguageFromFileName(), DocInclude::HtmlInclude, DocInclude::Include, DocInclude::IncWithLines, CodeFragmentManager::instance(), DocInclude::isExample(), DocInclude::LatexInclude, m_ci, m_firstCol, m_hide, m_t, DocInclude::ManInclude, CodeParserInterface::parseCode(), CodeFragmentManager::parseCodeFragment(), DocInclude::RtfInclude, CodeParserOptions::setFileDef(), CodeParserOptions::setInlineFragment(), CodeParserOptions::setShowLineNumbers(), DocInclude::Snippet, DocInclude::SnippetWithLines, QCString::str(), DocInclude::stripCodeComments(), DocInclude::text(), DocInclude::trimLeft(), TRUE, DocInclude::type(), DocInclude::VerbInclude, and DocInclude::XmlInclude.

◆ operator()() [26/58]

void ManDocVisitor::operator() ( const DocIncOperator & op)

Definition at line 345 of file mandocvisitor.cpp.

346{
347 QCString locLangExt = getFileNameExtension(op.includeFileName());
348 if (locLangExt.isEmpty()) locLangExt = m_langExt;
349 SrcLangExt langExt = getLanguageFromFileName(locLangExt);
350 //printf("DocIncOperator: type=%d first=%d, last=%d text='%s'\n",
351 // op.type(),op.isFirst(),op.isLast(),qPrint(op.text()));
352 if (op.isFirst())
353 {
354 if (!m_hide)
355 {
356 if (!m_firstCol) m_t << "\n";
357 m_t << ".PP\n";
358 m_t << ".nf\n";
359 }
361 m_hide = TRUE;
362 }
363 if (op.type()!=DocIncOperator::Skip)
364 {
365 m_hide = popHidden();
366 if (!m_hide)
367 {
368 std::unique_ptr<FileDef> fd;
369 if (!op.includeFileName().isEmpty())
370 {
371 FileInfo cfi( op.includeFileName().str() );
372 fd = createFileDef( cfi.dirPath(), cfi.fileName() );
373 }
374
375 getCodeParser(locLangExt).parseCode(m_ci,op.context(),op.text(),langExt,
377 CodeParserOptions()
378 .setExample(op.isExample(),op.exampleFile())
379 .setFileDef(fd.get())
380 .setShowLineNumbers(op.showLineNo())
381 );
382 }
384 m_hide=TRUE;
385 }
386 if (op.isLast())
387 {
388 m_hide = popHidden();
389 if (!m_hide)
390 {
391 if (!m_firstCol) m_t << "\n";
392 m_t << ".fi\n";
393 m_t << ".PP\n";
395 }
396 }
397 else
398 {
399 if (!m_hide) m_t << "\n";
400 }
401}
bool stripCodeComments() const
Definition docnode.h:506
bool isLast() const
Definition docnode.h:503
QCString includeFileName() const
Definition docnode.h:509
QCString text() const
Definition docnode.h:499
QCString context() const
Definition docnode.h:501
QCString exampleFile() const
Definition docnode.h:508
Type type() const
Definition docnode.h:485
bool isFirst() const
Definition docnode.h:502
bool showLineNo() const
Definition docnode.h:498
bool isExample() const
Definition docnode.h:507
void pushHidden(bool hide)
bool popHidden()
QCString getFileNameExtension(const QCString &fn)
Definition util.cpp:5189

References DocIncOperator::context(), createFileDef(), FileInfo::dirPath(), DocIncOperator::exampleFile(), FileInfo::fileName(), DocVisitor::getCodeParser(), getFileNameExtension(), getLanguageFromFileName(), DocIncOperator::includeFileName(), QCString::isEmpty(), DocIncOperator::isExample(), DocIncOperator::isFirst(), DocIncOperator::isLast(), m_ci, m_firstCol, m_hide, m_langExt, m_t, CodeParserInterface::parseCode(), DocVisitor::popHidden(), DocVisitor::pushHidden(), CodeParserOptions::setFileDef(), CodeParserOptions::setShowLineNumbers(), DocIncOperator::showLineNo(), DocIncOperator::Skip, QCString::str(), DocIncOperator::stripCodeComments(), DocIncOperator::text(), TRUE, and DocIncOperator::type().

◆ operator()() [27/58]

void ManDocVisitor::operator() ( const DocIndexEntry & )

Definition at line 409 of file mandocvisitor.cpp.

410{
411}

◆ operator()() [28/58]

void ManDocVisitor::operator() ( const DocInternal & i)

Definition at line 760 of file mandocvisitor.cpp.

761{
762 visitChildren(i);
763}

References visitChildren().

◆ operator()() [29/58]

void ManDocVisitor::operator() ( const DocInternalRef & ref)

Definition at line 951 of file mandocvisitor.cpp.

952{
953 if (m_hide) return;
954 m_t << "\\fB";
955 visitChildren(ref);
956 m_t << "\\fP";
957}

References m_hide, m_t, and visitChildren().

◆ operator()() [30/58]

void ManDocVisitor::operator() ( const DocLineBreak & )

Definition at line 113 of file mandocvisitor.cpp.

114{
115 if (m_hide) return;
116 m_t << "\n.br\n";
118}

References m_firstCol, m_hide, m_t, and TRUE.

◆ operator()() [31/58]

void ManDocVisitor::operator() ( const DocLink & lnk)

Definition at line 837 of file mandocvisitor.cpp.

838{
839 if (m_hide) return;
840 m_t << "\\fB";
841 visitChildren(dl);
842 m_t << "\\fP";
843}

References m_hide, m_t, and visitChildren().

◆ operator()() [32/58]

void ManDocVisitor::operator() ( const DocLinkedWord & w)

Definition at line 51 of file mandocvisitor.cpp.

52{
53 if (m_hide) return;
54 m_t << "\\fB";
55 filter(w.word());
56 m_t << "\\fP";
58}
QCString word() const
Definition docnode.h:170

References FALSE, filter(), m_firstCol, m_hide, m_t, and DocLinkedWord::word().

◆ operator()() [33/58]

void ManDocVisitor::operator() ( const DocMscFile & )

Definition at line 825 of file mandocvisitor.cpp.

826{
827}

◆ operator()() [34/58]

void ManDocVisitor::operator() ( const DocPara & p)

Definition at line 494 of file mandocvisitor.cpp.

495{
496 if (m_hide) return;
497 visitChildren(p);
498 if (!p.isLast() && // omit <p> for last paragraph
499 !(p.parent() && // and for parameter sections
500 std::get_if<DocParamSect>(p.parent())
501 )
502 )
503 {
504 if (!m_firstCol) m_t << "\n";
505 m_t << "\n.PP\n";
507 }
508}
bool isLast() const
Definition docnode.h:1088

References DocPara::isLast(), m_firstCol, m_hide, m_t, DocNode::parent(), TRUE, and visitChildren().

◆ operator()() [35/58]

void ManDocVisitor::operator() ( const DocParamList & pl)

Definition at line 908 of file mandocvisitor.cpp.

909{
910 if (m_hide) return;
911 m_t << "\\fI";
912 bool first=TRUE;
913 for (const auto &param : pl.parameters())
914 {
915 if (!first) m_t << ","; else first=FALSE;
916 std::visit(*this,param);
917 }
918 m_t << "\\fP ";
919 for (const auto &par : pl.paragraphs())
920 {
921 std::visit(*this,par);
922 }
923 if (!pl.isLast())
924 {
925 if (!m_firstCol) m_t << "\n";
926 m_t << ".br\n";
927 }
928}
const DocNodeList & parameters() const
Definition docnode.h:1129
bool isLast() const
Definition docnode.h:1137
const DocNodeList & paragraphs() const
Definition docnode.h:1131

References FALSE, DocParamList::isLast(), m_firstCol, m_hide, m_t, DocParamList::paragraphs(), DocParamList::parameters(), and TRUE.

◆ operator()() [36/58]

void ManDocVisitor::operator() ( const DocParamSect & s)

Definition at line 877 of file mandocvisitor.cpp.

878{
879 if (m_hide) return;
880 if (!m_firstCol)
881 {
882 m_t << "\n";
883 m_t << ".PP\n";
884 }
885 m_t << "\\fB";
886 switch(s.type())
887 {
889 m_t << theTranslator->trParameters(); break;
891 m_t << theTranslator->trReturnValues(); break;
893 m_t << theTranslator->trExceptions(); break;
896 default:
897 ASSERT(0);
898 }
899 m_t << "\\fP\n";
900 m_t << ".RS 4\n";
901 visitChildren(s);
902 if (!m_firstCol) m_t << "\n";
903 m_t << ".RE\n";
904 m_t << ".PP\n";
906}
Type type() const
Definition docnode.h:1068
virtual QCString trExceptions()=0
virtual QCString trParameters()=0
virtual QCString trTemplateParameters()=0
virtual QCString trReturnValues()=0
Translator * theTranslator
Definition language.cpp:71
#define ASSERT(x)
Definition qcstring.h:39

References ASSERT, DocParamSect::Exception, m_firstCol, m_hide, m_t, DocParamSect::Param, DocParamSect::RetVal, DocParamSect::TemplateParam, theTranslator, TRUE, DocParamSect::type(), and visitChildren().

◆ operator()() [37/58]

void ManDocVisitor::operator() ( const DocParBlock & pb)

Definition at line 984 of file mandocvisitor.cpp.

985{
986 visitChildren(pb);
987}

References visitChildren().

◆ operator()() [38/58]

void ManDocVisitor::operator() ( const DocPlantUmlFile & )

Definition at line 833 of file mandocvisitor.cpp.

834{
835}

◆ operator()() [39/58]

void ManDocVisitor::operator() ( const DocRef & ref)

Definition at line 845 of file mandocvisitor.cpp.

846{
847 if (m_hide) return;
848 m_t << "\\fB";
849 if (!ref.hasLinkText()) filter(ref.targetTitle());
850 visitChildren(ref);
851 m_t << "\\fP";
852}
QCString targetTitle() const
Definition docnode.h:786
bool hasLinkText() const
Definition docnode.h:788

References filter(), DocRef::hasLinkText(), m_hide, m_t, DocRef::targetTitle(), and visitChildren().

◆ operator()() [40/58]

void ManDocVisitor::operator() ( const DocRoot & r)

Definition at line 510 of file mandocvisitor.cpp.

511{
512 visitChildren(r);
513}

References visitChildren().

◆ operator()() [41/58]

void ManDocVisitor::operator() ( const DocSecRefItem & ref)

Definition at line 854 of file mandocvisitor.cpp.

855{
856 if (m_hide) return;
857 QCString ws;
858 if (m_indent>0) ws.fill(' ',2*(m_indent-1));
859 if (!m_firstCol) m_t << "\n";
860 m_t << ".IP \"" << ws << "\\(bu\" " << (2*m_indent) << "\n";
862 visitChildren(ref);
863 m_t << "\n";
865}

References QCString::fill(), m_firstCol, m_hide, m_indent, m_t, TRUE, and visitChildren().

◆ operator()() [42/58]

void ManDocVisitor::operator() ( const DocSecRefList & l)

Definition at line 867 of file mandocvisitor.cpp.

868{
869 if (m_hide) return;
870 m_indent++;
871 visitChildren(l);
872 m_indent--;
873 if (!m_firstCol) m_t << "\n";
874 m_t << ".PP\n";
875}

References m_firstCol, m_hide, m_indent, m_t, and visitChildren().

◆ operator()() [43/58]

void ManDocVisitor::operator() ( const DocSection & s)

Definition at line 611 of file mandocvisitor.cpp.

612{
613 if (m_hide) return;
614 if (!m_firstCol) m_t << "\n";
615 if (s.level()==1) m_t << ".SH"; else m_t << ".SS";
616 m_t << " \"";
617 if (s.title())
618 {
619 std::visit(*this,*s.title());
620 }
621 m_t << "\"\n";
622 if (s.level()==1) m_t << ".PP\n";
624 visitChildren(s);
625}
int level() const
Definition docnode.h:918
const DocNodeVariant * title() const
Definition docnode.h:919

References DocSection::level(), m_firstCol, m_hide, m_t, DocSection::title(), TRUE, and visitChildren().

◆ operator()() [44/58]

void ManDocVisitor::operator() ( const DocSeparator & s)

Definition at line 437 of file mandocvisitor.cpp.

438{
439 if (m_hide) return;
440 m_t << s.chars();
441}
QCString chars() const
Definition docnode.h:369

References DocSeparator::chars(), m_hide, and m_t.

◆ operator()() [45/58]

void ManDocVisitor::operator() ( const DocSimpleList & l)

Definition at line 583 of file mandocvisitor.cpp.

584{
585 if (m_hide) return;
586 m_indent++;
587 if (!m_firstCol) m_t << "\n";
588 m_t << ".PD 0\n";
589 m_firstCol=true;
590 visitChildren(l);
591 m_indent--;
592 m_t << ".PP\n";
593}

References m_firstCol, m_hide, m_indent, m_t, and visitChildren().

◆ operator()() [46/58]

void ManDocVisitor::operator() ( const DocSimpleListItem & li)

Definition at line 595 of file mandocvisitor.cpp.

596{
597 if (m_hide) return;
598 QCString ws;
599 if (m_indent>0) ws.fill(' ',2*(m_indent-1));
600 if (!m_firstCol) m_t << "\n";
601 m_t << ".IP \"" << ws << "\\(bu\" " << m_indent << "\n";
603 if (li.paragraph())
604 {
605 visit(*this,*li.paragraph());
606 }
607 m_t << "\n";
609}
const DocNodeVariant * paragraph() const
Definition docnode.h:1157

References QCString::fill(), m_firstCol, m_hide, m_indent, m_t, DocSimpleListItem::paragraph(), and TRUE.

◆ operator()() [47/58]

void ManDocVisitor::operator() ( const DocSimpleSect & s)

Definition at line 515 of file mandocvisitor.cpp.

516{
517 if (m_hide) return;
518 if (!m_firstCol)
519 {
520 m_t << "\n";
521 m_t << ".PP\n";
522 }
523 m_t << "\\fB";
524 switch(s.type())
525 {
527 m_t << theTranslator->trSeeAlso(); break;
529 m_t << theTranslator->trReturns(); break;
531 m_t << theTranslator->trAuthor(TRUE,TRUE); break;
533 m_t << theTranslator->trAuthor(TRUE,FALSE); break;
535 m_t << theTranslator->trVersion(); break;
537 m_t << theTranslator->trSince(); break;
539 m_t << theTranslator->trDate(); break;
541 m_t << theTranslator->trNote(); break;
543 m_t << theTranslator->trWarning(); break;
545 m_t << theTranslator->trPrecondition(); break;
547 m_t << theTranslator->trPostcondition(); break;
549 m_t << theTranslator->trCopyright(); break;
551 m_t << theTranslator->trInvariant(); break;
553 m_t << theTranslator->trRemarks(); break;
555 m_t << theTranslator->trAttention(); break;
557 m_t << theTranslator->trImportant(); break;
558 case DocSimpleSect::User: break;
559 case DocSimpleSect::Rcs: break;
560 case DocSimpleSect::Unknown: break;
561 }
562
563 // special case 1: user defined title
564 if (s.title())
565 {
566 std::visit(*this,*s.title());
567 }
568 m_t << "\\fP\n";
569 m_t << ".RS 4\n";
570 visitChildren(s);
571 if (!m_firstCol) m_t << "\n";
572 m_t << ".RE\n";
573 m_t << ".PP\n";
575}
Type type() const
Definition docnode.h:1026
const DocNodeVariant * title() const
Definition docnode.h:1033
virtual QCString trPrecondition()=0
virtual QCString trSince()=0
virtual QCString trVersion()=0
virtual QCString trReturns()=0
virtual QCString trRemarks()=0
virtual QCString trNote()=0
virtual QCString trPostcondition()=0
virtual QCString trAttention()=0
virtual QCString trCopyright()=0
virtual QCString trDate()=0
virtual QCString trAuthor(bool first_capital, bool singular)=0
virtual QCString trWarning()=0
virtual QCString trSeeAlso()=0
virtual QCString trImportant()=0
virtual QCString trInvariant()=0

References DocSimpleSect::Attention, DocSimpleSect::Author, DocSimpleSect::Authors, DocSimpleSect::Copyright, DocSimpleSect::Date, FALSE, DocSimpleSect::Important, DocSimpleSect::Invar, m_firstCol, m_hide, m_t, DocSimpleSect::Note, DocSimpleSect::Post, DocSimpleSect::Pre, DocSimpleSect::Rcs, DocSimpleSect::Remark, DocSimpleSect::Return, DocSimpleSect::See, DocSimpleSect::Since, theTranslator, DocSimpleSect::title(), TRUE, DocSimpleSect::type(), DocSimpleSect::Unknown, DocSimpleSect::User, DocSimpleSect::Version, visitChildren(), and DocSimpleSect::Warning.

◆ operator()() [48/58]

void ManDocVisitor::operator() ( const DocSimpleSectSep & )

Definition at line 413 of file mandocvisitor.cpp.

414{
415}

◆ operator()() [49/58]

void ManDocVisitor::operator() ( const DocStyleChange & s)

Definition at line 128 of file mandocvisitor.cpp.

129{
130 if (m_hide) return;
131 switch (s.style())
132 {
134 if (s.enable()) m_t << "\\fB"; else m_t << "\\fP";
136 break;
140 /* not supported */
141 break;
142 case DocStyleChange::Underline: //underline is shown as emphasis
144 if (s.enable()) m_t << "\\fI"; else m_t << "\\fP";
146 break;
148 if (s.enable()) m_t << "\\fI"; else m_t << "\\fP";
150 break;
154 if (s.enable()) m_t << "\\fR"; else m_t << "\\fP";
156 break;
158 if (s.enable()) m_t << "\\*<"; else m_t << "\\*> ";
160 break;
162 if (s.enable()) m_t << "\\*{"; else m_t << "\\*} ";
164 break;
166 /* not supported */
167 break;
169 /* not supported */
170 break;
172 /* not supported */
173 break;
175 if (s.enable())
176 {
177 if (!m_firstCol) m_t << "\n";
178 m_t << ".PP\n";
179 m_t << ".nf\n";
181 }
182 else
183 {
185 if (!m_firstCol) m_t << "\n";
186 m_t << ".fi\n";
187 m_t << ".PP\n";
189 }
190 break;
191 case DocStyleChange::Div: /* HTML only */ break;
192 case DocStyleChange::Span: /* HTML only */ break;
193 }
194}
Style style() const
Definition docnode.h:307
bool enable() const
Definition docnode.h:309

References DocStyleChange::Bold, DocStyleChange::Center, DocStyleChange::Cite, DocStyleChange::Code, DocStyleChange::Del, DocStyleChange::Div, DocStyleChange::enable(), FALSE, DocStyleChange::Ins, DocStyleChange::Italic, DocStyleChange::Kbd, m_firstCol, m_hide, m_insidePre, m_t, DocStyleChange::Preformatted, DocStyleChange::S, DocStyleChange::Small, DocStyleChange::Span, DocStyleChange::Strike, DocStyleChange::style(), DocStyleChange::Subscript, DocStyleChange::Superscript, TRUE, DocStyleChange::Typewriter, and DocStyleChange::Underline.

◆ operator()() [50/58]

void ManDocVisitor::operator() ( const DocSymbol & s)

Definition at line 75 of file mandocvisitor.cpp.

76{
77 if (m_hide) return;
78 const char *res = HtmlEntityMapper::instance().man(s.symbol());
79 if (res)
80 {
81 m_t << res;
82 }
83 else
84 {
85 // no error or warning to be supplied
86 // err("man: non supported HTML-entity found: &{};\n",get_symbol_item(s->symbol()));
87 }
89}
HtmlEntityMapper::SymType symbol() const
Definition docnode.h:332
static HtmlEntityMapper & instance()
Returns the one and only instance of the HTML entity mapper.
const char * man(SymType symb) const
Access routine to the man code of the HTML entity.

References FALSE, HtmlEntityMapper::instance(), m_firstCol, m_hide, m_t, HtmlEntityMapper::man(), and DocSymbol::symbol().

◆ operator()() [51/58]

void ManDocVisitor::operator() ( const DocText & t)

Definition at line 959 of file mandocvisitor.cpp.

960{
961 visitChildren(t);
962}

References visitChildren().

◆ operator()() [52/58]

void ManDocVisitor::operator() ( const DocTitle & t)

Definition at line 577 of file mandocvisitor.cpp.

578{
579 if (m_hide) return;
580 visitChildren(t);
581}

References m_hide, and visitChildren().

◆ operator()() [53/58]

void ManDocVisitor::operator() ( const DocURL & u)

Definition at line 106 of file mandocvisitor.cpp.

107{
108 if (m_hide) return;
109 m_t << u.url();
111}
QCString url() const
Definition docnode.h:192

References FALSE, m_firstCol, m_hide, m_t, and DocURL::url().

◆ operator()() [54/58]

void ManDocVisitor::operator() ( const DocVerbatim & s)

Definition at line 196 of file mandocvisitor.cpp.

197{
198 if (m_hide) return;
199 QCString lang = m_langExt;
200 if (!s.language().isEmpty()) // explicit language setting
201 {
202 lang = s.language();
203 }
204 SrcLangExt langExt = getLanguageFromCodeLang(lang);
205 switch (s.type())
206 {
208 if (!m_firstCol) m_t << "\n";
209 m_t << ".PP\n";
210 m_t << ".nf\n";
212 langExt,
213 Config_getBool(STRIP_CODE_COMMENTS),
214 CodeParserOptions().setExample(s.isExample(),s.exampleFile())
215 );
216 if (!m_firstCol) m_t << "\n";
217 m_t << ".fi\n";
218 m_t << ".PP\n";
220 break;
222 filter(s.text(),true);
223 break;
225 m_t << "\\fR\n";
226 filter(s.text(),true);
227 m_t << "\\fP\n";
228 break;
230 if (!m_firstCol) m_t << "\n";
231 m_t << ".PP\n";
232 m_t << ".nf\n";
233 filter(s.text(),true);
234 if (!m_firstCol) m_t << "\n";
235 m_t << ".fi\n";
236 m_t << ".PP\n";
238 break;
240 m_t << s.text();
241 break;
247 case DocVerbatim::Dot:
248 case DocVerbatim::Msc:
250 /* nothing */
251 break;
252 }
253}
QCString language() const
Definition docnode.h:388
bool isExample() const
Definition docnode.h:385
QCString context() const
Definition docnode.h:384
Type type() const
Definition docnode.h:382
QCString text() const
Definition docnode.h:383
QCString exampleFile() const
Definition docnode.h:386
@ JavaDocLiteral
Definition docnode.h:378
#define Config_getBool(name)
Definition config.h:33
SrcLangExt getLanguageFromCodeLang(QCString &fileName)
Routine to handle the language attribute of the \code command.
Definition util.cpp:5165

References DocVerbatim::Code, Config_getBool, DocVerbatim::context(), DocVerbatim::DocbookOnly, DocVerbatim::Dot, DocVerbatim::exampleFile(), filter(), DocVisitor::getCodeParser(), getLanguageFromCodeLang(), DocVerbatim::HtmlOnly, QCString::isEmpty(), DocVerbatim::isExample(), DocVerbatim::JavaDocCode, DocVerbatim::JavaDocLiteral, DocVerbatim::language(), DocVerbatim::LatexOnly, m_ci, m_firstCol, m_hide, m_langExt, m_t, DocVerbatim::ManOnly, DocVerbatim::Msc, CodeParserInterface::parseCode(), DocVerbatim::PlantUML, DocVerbatim::RtfOnly, DocVerbatim::text(), TRUE, DocVerbatim::type(), DocVerbatim::Verbatim, and DocVerbatim::XmlOnly.

◆ operator()() [55/58]

void ManDocVisitor::operator() ( const DocVhdlFlow & )

Definition at line 980 of file mandocvisitor.cpp.

981{
982}

◆ operator()() [56/58]

void ManDocVisitor::operator() ( const DocWhiteSpace & w)

Definition at line 60 of file mandocvisitor.cpp.

61{
62 if (m_hide) return;
63 if (m_insidePre)
64 {
65 m_t << w.chars();
66 m_firstCol=w.chars().at(w.chars().length()-1)=='\n';
67 }
68 else
69 {
70 m_t << " ";
72 }
73}
QCString chars() const
Definition docnode.h:358
size_t length() const
Returns the length of the string, not counting the 0-terminator.
Definition qcstring.h:166
char & at(size_t i)
Returns a reference to the character at index i.
Definition qcstring.h:593

References QCString::at(), DocWhiteSpace::chars(), FALSE, QCString::length(), m_firstCol, m_hide, m_insidePre, and m_t.

◆ operator()() [57/58]

void ManDocVisitor::operator() ( const DocWord & w)

Definition at line 44 of file mandocvisitor.cpp.

45{
46 if (m_hide) return;
47 filter(w.word());
49}
QCString word() const
Definition docnode.h:156

References FALSE, filter(), m_firstCol, m_hide, and DocWord::word().

◆ operator()() [58/58]

void ManDocVisitor::operator() ( const DocXRefItem & x)

Definition at line 930 of file mandocvisitor.cpp.

931{
932 if (m_hide) return;
933 if (x.title().isEmpty()) return;
934 if (!m_firstCol)
935 {
936 m_t << "\n";
937 m_t << ".PP\n";
938 }
939 m_t << "\\fB";
940 filter(x.title());
941 m_t << "\\fP\n";
942 m_t << ".RS 4\n";
943 visitChildren(x);
944 if (x.title().isEmpty()) return;
945 if (!m_firstCol) m_t << "\n";
946 m_t << ".RE\n";
947 m_t << ".PP\n";
949}
QCString title() const
Definition docnode.h:626

References filter(), QCString::isEmpty(), m_firstCol, m_hide, m_t, DocXRefItem::title(), TRUE, and visitChildren().

◆ visitChildren()

template<class T>
void ManDocVisitor::visitChildren ( const T & t)
inlineprivate

Member Data Documentation

◆ m_ci

OutputCodeList& ManDocVisitor::m_ci
private

Definition at line 127 of file mandocvisitor.h.

Referenced by ManDocVisitor(), operator()(), operator()(), and operator()().

◆ m_firstCol

◆ m_hide

◆ m_indent

int ManDocVisitor::m_indent
private

◆ m_insidePre

bool ManDocVisitor::m_insidePre
private

Definition at line 128 of file mandocvisitor.h.

Referenced by ManDocVisitor(), operator()(), and operator()().

◆ m_langExt

QCString ManDocVisitor::m_langExt
private

Definition at line 132 of file mandocvisitor.h.

Referenced by ManDocVisitor(), operator()(), and operator()().

◆ m_listItemInfo

std::array<ManListItemInfo,maxIndentLevels> ManDocVisitor::m_listItemInfo
private

Definition at line 141 of file mandocvisitor.h.

Referenced by operator()(), and operator()().

◆ m_t

◆ maxIndentLevels

const int ManDocVisitor::maxIndentLevels = 13
staticprivate

Definition at line 139 of file mandocvisitor.h.

Referenced by operator()(), and operator()().


The documentation for this class was generated from the following files: