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)
 

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 32 of file mandocvisitor.cpp.

35 m_indent(0), m_langExt(langExt)
36{
37}
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)
private

Definition at line 987 of file mandocvisitor.cpp.

988{
989 if (!str.isEmpty())
990 {
991 const char *p=str.data();
992 char c=0;
993 while ((c=*p++))
994 {
995 switch(c)
996 {
997 case '.': m_t << "\\&."; break; // see bug652277
998 case '\\': m_t << "\\\\"; break;
999 case '"': c = '\''; // fall through
1000 default: m_t << c; break;
1001 }
1002 }
1003 }
1004}
bool isEmpty() const
Returns TRUE iff the string is empty.
Definition qcstring.h:150
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:159

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 252 of file mandocvisitor.cpp.

253{
254 /* no support for anchors in man pages */
255}

◆ operator()() [2/58]

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

Definition at line 446 of file mandocvisitor.cpp.

447{
448 if (m_hide) return;
449 m_indent++;
450 visitChildren(l);
451 m_indent--;
452 m_t << ".PP\n";
453}
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 455 of file mandocvisitor.cpp.

456{
457 if (m_hide) return;
458 QCString ws;
459 if (m_indent>0) ws.fill(' ',2*(m_indent-1));
460 if (!m_firstCol) m_t << "\n";
461 m_t << ".IP \"" << ws;
462 const DocAutoList *list = std::get_if<DocAutoList>(li.parent());
463 if (list && list->isEnumList())
464 {
465 m_t << li.itemNumber() << ".\" " << (2*(m_indent+1));
466 }
467 else // bullet list
468 {
469 switch (li.itemNumber())
470 {
471 case DocAutoList::Unchecked: // unchecked
472 m_t << "[ ]\" " << (2*m_indent) + 2;
473 break;
474 case DocAutoList::Checked_x: // checked with x
475 m_t << "[x]\" " << (2*m_indent) + 2;
476 break;
477 case DocAutoList::Checked_X: // checked with X
478 m_t << "[X]\" " << (2*m_indent) + 2;
479 break;
480 default:
481 m_t << "\\(bu\" " << (2*m_indent);
482 break;
483 }
484 }
485 m_t << "\n";
487 visitChildren(li);
488 m_t << "\n";
490}
bool isEnumList() const
Definition docnode.h:575
int itemNumber() const
Definition docnode.h:593
DocNodeVariant * parent()
Definition docnode.h:89
void fill(char c, int len=-1)
Fills a string with a predefined character.
Definition qcstring.h:180
#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 425 of file mandocvisitor.cpp.

426{
427 if (m_hide) return;
428 m_t << "\\fB";
429 if (cite.file().isEmpty()) m_t << "[";
430 filter(cite.text());
431 if (cite.file().isEmpty()) m_t << "]";
432 m_t << "\\fP";
433}
QCString text() const
Definition docnode.h:251
QCString file() const
Definition docnode.h:247
void filter(const QCString &str)

References DocCite::file(), filter(), QCString::isEmpty(), m_hide, m_t, and DocCite::text().

◆ operator()() [5/58]

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

Definition at line 827 of file mandocvisitor.cpp.

828{
829}

◆ operator()() [6/58]

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

Definition at line 819 of file mandocvisitor.cpp.

820{
821}

◆ operator()() [7/58]

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

Definition at line 90 of file mandocvisitor.cpp.

91{
92 if (m_hide) return;
93 const char *res = EmojiEntityMapper::instance().name(s.index());
94 if (res)
95 {
96 m_t << res;
97 }
98 else
99 {
100 m_t << s.name();
101 }
103}
int index() const
Definition docnode.h:340
QCString name() const
Definition docnode.h:339
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 411 of file mandocvisitor.cpp.

412{
413 if (m_hide) return;
414 m_t << f.text();
415}
QCString text() const
Definition docnode.h:528

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

◆ operator()() [9/58]

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

Definition at line 119 of file mandocvisitor.cpp.

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

References m_firstCol, m_hide, m_t, and TRUE.

◆ operator()() [10/58]

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

Definition at line 763 of file mandocvisitor.cpp.

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

References m_hide, m_t, and visitChildren().

◆ operator()() [11/58]

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

Definition at line 962 of file mandocvisitor.cpp.

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

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

◆ operator()() [12/58]

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

Definition at line 743 of file mandocvisitor.cpp.

744{
745 visitChildren(c);
746}

References visitChildren().

◆ operator()() [13/58]

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

Definition at line 753 of file mandocvisitor.cpp.

754{
755 visitChildren(c);
756}

References visitChildren().

◆ operator()() [14/58]

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

Definition at line 730 of file mandocvisitor.cpp.

731{
732 if (!m_firstCol) m_t << "\n";
733 m_t << ".IP \"\" 1c\n";
735 visitChildren(dd);
736}

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

◆ operator()() [15/58]

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

Definition at line 709 of file mandocvisitor.cpp.

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

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

◆ operator()() [16/58]

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

Definition at line 720 of file mandocvisitor.cpp.

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

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

◆ operator()() [17/58]

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

Definition at line 778 of file mandocvisitor.cpp.

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

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

◆ operator()() [18/58]

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

Definition at line 803 of file mandocvisitor.cpp.

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

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

◆ operator()() [19/58]

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

Definition at line 625 of file mandocvisitor.cpp.

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

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

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 748 of file mandocvisitor.cpp.

749{
750 visitChildren(r);
751}

References visitChildren().

◆ operator()() [22/58]

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

Definition at line 771 of file mandocvisitor.cpp.

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

References m_t, and visitChildren().

◆ operator()() [23/58]

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

Definition at line 738 of file mandocvisitor.cpp.

739{
740 visitChildren(t);
741}

References visitChildren().

◆ operator()() [24/58]

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

Definition at line 815 of file mandocvisitor.cpp.

816{
817}

◆ operator()() [25/58]

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

Definition at line 257 of file mandocvisitor.cpp.

258{
259 if (m_hide) return;
261 switch(inc.type())
262 {
264 {
265 if (!m_firstCol) m_t << "\n";
266 m_t << ".PP\n";
267 m_t << ".nf\n";
268 FileInfo cfi( inc.file().str() );
269 auto fd = createFileDef( cfi.dirPath(), cfi.fileName() );
271 inc.text(),
272 langExt,
273 inc.stripCodeComments(),
274 inc.isExample(),
275 inc.exampleFile(),
276 fd.get(), // fileDef,
277 -1, // start line
278 -1, // end line
279 FALSE, // inline fragment
280 nullptr, // memberDef
281 TRUE
282 );
283 m_t << ".fi\n";
284 m_t << ".PP\n";
286 }
287 break;
289 if (!m_firstCol) m_t << "\n";
290 m_t << ".PP\n";
291 m_t << ".nf\n";
293 inc.text(),
294 langExt,
295 inc.stripCodeComments(),
296 inc.isExample(),
297 inc.exampleFile(),
298 nullptr, // fileDef
299 -1, // startLine
300 -1, // endLine
301 TRUE, // inlineFragment
302 nullptr, // memberDef
303 FALSE
304 );
305 m_t << ".fi\n";
306 m_t << ".PP\n";
308 break;
316 break;
318 m_t << inc.text();
319 break;
321 if (!m_firstCol) m_t << "\n";
322 m_t << ".PP\n";
323 m_t << ".nf\n";
324 m_t << inc.text();
325 if (!m_firstCol) m_t << "\n";
326 m_t << ".fi\n";
327 m_t << ".PP\n";
329 break;
332 if (!m_firstCol) m_t << "\n";
333 m_t << ".PP\n";
334 m_t << ".nf\n";
336 inc.file(),
337 inc.blockId(),
338 inc.context(),
340 inc.trimLeft(),
342 );
343 m_t << ".fi\n";
344 m_t << ".PP\n";
346 break;
347 }
348}
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, bool isExampleBlock, const QCString &exampleName=QCString(), const FileDef *fileDef=nullptr, int startLine=-1, int endLine=-1, bool inlineFragment=FALSE, const MemberDef *memberDef=nullptr, bool showLineNumbers=TRUE, const Definition *searchCtx=nullptr, bool collectXRefs=TRUE)=0
Parses a source file or fragment with the goal to produce highlighted and cross-referenced output.
QCString blockId() const
Definition docnode.h:449
QCString extension() const
Definition docnode.h:445
bool stripCodeComments() const
Definition docnode.h:450
@ LatexInclude
Definition docnode.h:432
@ SnippetWithLines
Definition docnode.h:433
@ DontIncWithLines
Definition docnode.h:434
@ IncWithLines
Definition docnode.h:433
@ HtmlInclude
Definition docnode.h:432
@ VerbInclude
Definition docnode.h:432
@ DontInclude
Definition docnode.h:432
@ DocbookInclude
Definition docnode.h:434
Type type() const
Definition docnode.h:446
QCString exampleFile() const
Definition docnode.h:452
QCString text() const
Definition docnode.h:447
QCString file() const
Definition docnode.h:444
bool trimLeft() const
Definition docnode.h:454
bool isExample() const
Definition docnode.h:451
QCString context() const
Definition docnode.h:448
CodeParserInterface & getCodeParser(const QCString &langExt)
const std::string & str() const
Definition qcstring.h:537
std::unique_ptr< FileDef > createFileDef(const QCString &p, const QCString &n, const QCString &ref, const QCString &dn)
Definition filedef.cpp:267
SrcLangExt
Language as given by extension.
Definition types.h:42
SrcLangExt getLanguageFromFileName(const QCString &fileName, SrcLangExt defLang)
Definition util.cpp:5549

References DocInclude::blockId(), DocInclude::context(), createFileDef(), FileInfo::dirPath(), DocInclude::DocbookInclude, DocInclude::DontInclude, DocInclude::DontIncWithLines, DocInclude::exampleFile(), DocInclude::extension(), FALSE, 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, 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 350 of file mandocvisitor.cpp.

351{
352 QCString locLangExt = getFileNameExtension(op.includeFileName());
353 if (locLangExt.isEmpty()) locLangExt = m_langExt;
354 SrcLangExt langExt = getLanguageFromFileName(locLangExt);
355 //printf("DocIncOperator: type=%d first=%d, last=%d text='%s'\n",
356 // op.type(),op.isFirst(),op.isLast(),qPrint(op.text()));
357 if (op.isFirst())
358 {
359 if (!m_hide)
360 {
361 if (!m_firstCol) m_t << "\n";
362 m_t << ".PP\n";
363 m_t << ".nf\n";
364 }
366 m_hide = TRUE;
367 }
368 if (op.type()!=DocIncOperator::Skip)
369 {
370 m_hide = popHidden();
371 if (!m_hide)
372 {
373 std::unique_ptr<FileDef> fd;
374 if (!op.includeFileName().isEmpty())
375 {
376 FileInfo cfi( op.includeFileName().str() );
377 fd = createFileDef( cfi.dirPath(), cfi.fileName() );
378 }
379
380 getCodeParser(locLangExt).parseCode(m_ci,op.context(),op.text(),langExt,
382 op.isExample(),op.exampleFile(),
383 fd.get(), // fileDef
384 op.line(), // startLine
385 -1, // endLine
386 FALSE, // inline fragment
387 nullptr, // memberDef
388 op.showLineNo() // show line numbers
389 );
390 }
392 m_hide=TRUE;
393 }
394 if (op.isLast())
395 {
396 m_hide = popHidden();
397 if (!m_hide)
398 {
399 if (!m_firstCol) m_t << "\n";
400 m_t << ".fi\n";
401 m_t << ".PP\n";
403 }
404 }
405 else
406 {
407 if (!m_hide) m_t << "\n";
408 }
409}
bool stripCodeComments() const
Definition docnode.h:501
bool isLast() const
Definition docnode.h:498
QCString includeFileName() const
Definition docnode.h:504
QCString text() const
Definition docnode.h:494
QCString context() const
Definition docnode.h:496
QCString exampleFile() const
Definition docnode.h:503
int line() const
Definition docnode.h:492
Type type() const
Definition docnode.h:480
bool isFirst() const
Definition docnode.h:497
bool showLineNo() const
Definition docnode.h:493
bool isExample() const
Definition docnode.h:502
void pushHidden(bool hide)
bool popHidden()
QCString getFileNameExtension(const QCString &fn)
Definition util.cpp:5591

References DocIncOperator::context(), createFileDef(), FileInfo::dirPath(), DocIncOperator::exampleFile(), FALSE, FileInfo::fileName(), DocVisitor::getCodeParser(), getFileNameExtension(), getLanguageFromFileName(), DocIncOperator::includeFileName(), QCString::isEmpty(), DocIncOperator::isExample(), DocIncOperator::isFirst(), DocIncOperator::isLast(), DocIncOperator::line(), m_ci, m_firstCol, m_hide, m_langExt, m_t, CodeParserInterface::parseCode(), DocVisitor::popHidden(), DocVisitor::pushHidden(), 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 417 of file mandocvisitor.cpp.

418{
419}

◆ operator()() [28/58]

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

Definition at line 758 of file mandocvisitor.cpp.

759{
760 visitChildren(i);
761}

References visitChildren().

◆ operator()() [29/58]

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

Definition at line 949 of file mandocvisitor.cpp.

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

References m_hide, m_t, and visitChildren().

◆ operator()() [30/58]

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

Definition at line 112 of file mandocvisitor.cpp.

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

References m_firstCol, m_hide, m_t, and TRUE.

◆ operator()() [31/58]

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

Definition at line 835 of file mandocvisitor.cpp.

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

References m_hide, m_t, and visitChildren().

◆ operator()() [32/58]

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

Definition at line 50 of file mandocvisitor.cpp.

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

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

◆ operator()() [33/58]

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

Definition at line 823 of file mandocvisitor.cpp.

824{
825}

◆ operator()() [34/58]

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

Definition at line 492 of file mandocvisitor.cpp.

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

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 906 of file mandocvisitor.cpp.

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

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 875 of file mandocvisitor.cpp.

876{
877 if (m_hide) return;
878 if (!m_firstCol)
879 {
880 m_t << "\n";
881 m_t << ".PP\n";
882 }
883 m_t << "\\fB";
884 switch(s.type())
885 {
887 m_t << theTranslator->trParameters(); break;
889 m_t << theTranslator->trReturnValues(); break;
891 m_t << theTranslator->trExceptions(); break;
894 default:
895 ASSERT(0);
896 }
897 m_t << "\\fP\n";
898 m_t << ".RS 4\n";
899 visitChildren(s);
900 if (!m_firstCol) m_t << "\n";
901 m_t << ".RE\n";
902 m_t << ".PP\n";
904}
Type type() const
Definition docnode.h:1062
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 982 of file mandocvisitor.cpp.

983{
984 visitChildren(pb);
985}

References visitChildren().

◆ operator()() [38/58]

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

Definition at line 831 of file mandocvisitor.cpp.

832{
833}

◆ operator()() [39/58]

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

Definition at line 843 of file mandocvisitor.cpp.

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

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

◆ operator()() [40/58]

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

Definition at line 508 of file mandocvisitor.cpp.

509{
510 visitChildren(r);
511}

References visitChildren().

◆ operator()() [41/58]

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

Definition at line 852 of file mandocvisitor.cpp.

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

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 865 of file mandocvisitor.cpp.

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

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

◆ operator()() [43/58]

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

Definition at line 609 of file mandocvisitor.cpp.

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

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 435 of file mandocvisitor.cpp.

436{
437 if (m_hide) return;
438 m_t << s.chars();
439}
QCString chars() const
Definition docnode.h:364

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

◆ operator()() [45/58]

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

Definition at line 581 of file mandocvisitor.cpp.

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

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

◆ operator()() [46/58]

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

Definition at line 593 of file mandocvisitor.cpp.

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

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 513 of file mandocvisitor.cpp.

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

422{
423}

◆ operator()() [49/58]

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

Definition at line 127 of file mandocvisitor.cpp.

128{
129 if (m_hide) return;
130 switch (s.style())
131 {
133 if (s.enable()) m_t << "\\fB"; else m_t << "\\fP";
135 break;
139 /* not supported */
140 break;
141 case DocStyleChange::Underline: //underline is shown as emphasis
143 if (s.enable()) m_t << "\\fI"; else m_t << "\\fP";
145 break;
147 if (s.enable()) m_t << "\\fI"; else m_t << "\\fP";
149 break;
152 if (s.enable()) m_t << "\\fR"; else m_t << "\\fP";
154 break;
156 if (s.enable()) m_t << "\\*<"; else m_t << "\\*> ";
158 break;
160 if (s.enable()) m_t << "\\*{"; else m_t << "\\*} ";
162 break;
164 /* not supported */
165 break;
167 /* not supported */
168 break;
170 /* not supported */
171 break;
173 if (s.enable())
174 {
175 if (!m_firstCol) m_t << "\n";
176 m_t << ".PP\n";
177 m_t << ".nf\n";
179 }
180 else
181 {
183 if (!m_firstCol) m_t << "\n";
184 m_t << ".fi\n";
185 m_t << ".PP\n";
187 }
188 break;
189 case DocStyleChange::Div: /* HTML only */ break;
190 case DocStyleChange::Span: /* HTML only */ break;
191 }
192}
Style style() const
Definition docnode.h:302
bool enable() const
Definition docnode.h:304

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, and DocStyleChange::Underline.

◆ operator()() [50/58]

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

Definition at line 74 of file mandocvisitor.cpp.

75{
76 if (m_hide) return;
77 const char *res = HtmlEntityMapper::instance().man(s.symbol());
78 if (res)
79 {
80 m_t << res;
81 }
82 else
83 {
84 // no error or warning to be supplied
85 // err("man: non supported HTML-entity found: &%s;\n",get_symbol_item(s->symbol()));
86 }
88}
HtmlEntityMapper::SymType symbol() const
Definition docnode.h:327
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 957 of file mandocvisitor.cpp.

958{
959 visitChildren(t);
960}

References visitChildren().

◆ operator()() [52/58]

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

Definition at line 575 of file mandocvisitor.cpp.

576{
577 if (m_hide) return;
578 visitChildren(t);
579}

References m_hide, and visitChildren().

◆ operator()() [53/58]

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

Definition at line 105 of file mandocvisitor.cpp.

106{
107 if (m_hide) return;
108 m_t << u.url();
110}
QCString url() const
Definition docnode.h:191

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

◆ operator()() [54/58]

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

Definition at line 194 of file mandocvisitor.cpp.

195{
196 if (m_hide) return;
197 QCString lang = m_langExt;
198 if (!s.language().isEmpty()) // explicit language setting
199 {
200 lang = s.language();
201 }
202 SrcLangExt langExt = getLanguageFromCodeLang(lang);
203 switch (s.type())
204 {
206 if (!m_firstCol) m_t << "\n";
207 m_t << ".PP\n";
208 m_t << ".nf\n";
210 langExt,
211 Config_getBool(STRIP_CODE_COMMENTS),
212 s.isExample(),s.exampleFile());
213 if (!m_firstCol) m_t << "\n";
214 m_t << ".fi\n";
215 m_t << ".PP\n";
217 break;
219 filter(s.text());
220 break;
222 m_t << "\\fR\n";
223 filter(s.text());
224 m_t << "\\fP\n";
225 break;
227 if (!m_firstCol) m_t << "\n";
228 m_t << ".PP\n";
229 m_t << ".nf\n";
230 filter(s.text());
231 if (!m_firstCol) m_t << "\n";
232 m_t << ".fi\n";
233 m_t << ".PP\n";
235 break;
237 m_t << s.text();
238 break;
244 case DocVerbatim::Dot:
245 case DocVerbatim::Msc:
247 /* nothing */
248 break;
249 }
250}
QCString language() const
Definition docnode.h:383
bool isExample() const
Definition docnode.h:380
QCString context() const
Definition docnode.h:379
Type type() const
Definition docnode.h:377
QCString text() const
Definition docnode.h:378
QCString exampleFile() const
Definition docnode.h:381
@ JavaDocLiteral
Definition docnode.h:373
#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:5567

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 978 of file mandocvisitor.cpp.

979{
980}

◆ operator()() [56/58]

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

Definition at line 59 of file mandocvisitor.cpp.

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

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 43 of file mandocvisitor.cpp.

44{
45 if (m_hide) return;
46 filter(w.word());
48}
QCString word() const
Definition docnode.h:155

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

◆ operator()() [58/58]

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

Definition at line 928 of file mandocvisitor.cpp.

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

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: