浏览该文件的文档.
36 m_indent(0), m_langExt(langExt)
364 err(
"Internal inconsistency: found switch SnippetDoc / IncludeDoc in file: %s"
365 "Please create a bug report\n",__FILE__);
479 m_t <<
".IP \"" << ws;
621 m_t <<
".IP \"" << ws <<
"\\(bu\" " <<
m_indent <<
"\n";
636 if (s->
level()==1)
m_t <<
".SH";
else m_t <<
".SS";
656 for (
const auto &opt : l->
attribs())
658 if (opt.name==
"type")
662 if (opt.name==
"start")
665 int val = opt.value.toInt(&ok);
685 m_t <<
".IP \"" << ws;
688 for (
const auto &opt : li->
attribs())
690 if (opt.name==
"value")
693 int val = opt.value.
toInt(&ok);
776 m_t <<
"\\fP\" 1c\n";
854 if (header->
level()==1)
m_t <<
".SH";
else m_t <<
".SS";
862 if (header->
level()==1)
m_t <<
".PP\n";
928 m_t <<
".IP \"" << ws <<
"\\(bu\" " <<
m_indent <<
"\n";
995 if (!first)
m_t <<
",";
else first=
FALSE;
1104 const char *p=str.
data();
1110 case '.':
m_t <<
"\\&.";
break;
1111 case '\\':
m_t <<
"\\\\";
break;
1113 default:
m_t << c;
break;
Node representing an HTML blockquote
Node representing an item of a auto list
Node representing a Hypertext reference
Node representing a style change
void filter(const QCString &str)
Node representing a verbatim, unparsed text fragment
virtual QCString trCopyright()=0
QCString integerToRoman(int n, bool upper)
Node representing a simple section title
virtual QCString trPostcondition()=0
void visitPre(DocAutoList *)
Node representing a paragraph in the documentation tree
Node representing a dot file
void pushHidden(bool hide)
Node representing a HTML table
const int man_maxIndentLevels
virtual QCString trNote()=0
Root node of documentation tree
uint length() const
Returns the length of the string, not counting the 0-terminator.
virtual QCString trExceptions()=0
Node representing a HTML list item
bool isEmpty() const
Returns TRUE iff the string is empty
Node representing a VHDL flow chart
Node representing a HTML description data
Node representing a Html description item
Node representing a n emoji
Node representing a msc file
SrcLangExt
Language as given by extension
virtual QCString trReturns()=0
QCString targetTitle() const
QCString exampleFile() const
Node representing a reference to a section
Node representing an anchor
virtual QCString trPrecondition()=0
void err(const char *fmt,...)
char & at(size_t i)
Returns a reference to the character at index i.
Text streaming class that buffers data.
Root node of a text fragment
const HtmlAttribList & attribs() const
Abstract visitor that participates in the visitor pattern.
ManListItemInfo man_listItemInfo[man_maxIndentLevels]
static HtmlEntityMapper * instance()
Returns the one and only instance of the HTML entity mapper
Node representing a Html description list
CodeParserInterface & getCodeParser(const QCString &langExt)
Node representing a include/dontinclude operator block
Node representing an entry in the index.
Node representing a list of section references
virtual QCString trSeeAlso()=0
Node representing a line break
Node representing a special symbol
const char * name(int index) const
Access routine to the name of the Emoji entity
QCString extractBlock(const QCString &text, const QCString &marker)
Returns the section of text, in between a pair of markers.
Node representing an item of a cross-referenced list
FileDef * createFileDef(const QCString &p, const QCString &n, const QCString &ref, const QCString &dn)
Node representing an image
virtual Kind kind() const =0
const char * man(DocSymbol::SymType symb) const
Access routine to the man code of the HTML entity
virtual QCString trVersion()=0
Node representing a URL (or email address)
Node representing a HTML table caption
void visitPost(DocAutoList *)
Node representing a parameter list.
virtual QCString trAttention()=0
Translator * theTranslator
QCString exampleFile() const
Node representing an block of paragraphs
Node representing a separator between two simple sections of the same type.
Node representing a citation of some bibliographic reference
virtual QCString trParameters()=0
Node representing a reference to some item
SrcLangExt getLanguageFromFileName(const QCString &fileName, SrcLangExt defLang)
Node representing a parameter section
int toInt(bool *ok=0, int base=10) const
Node representing a Html list
CodeOutputInterface & m_ci
QCString integerToAlpha(int n, bool upper)
virtual QCString trRemarks()=0
int lineBlock(const QCString &text, const QCString &marker)
Returns the line number of the line following the line with the marker.
Node representing a simple section
bool fill(char c, int len=-1)
Fills a string with a predefined character
Node representing a normal section
Node representing a horizontal ruler
QCString language() const
Node representing an included text block from file
virtual void parseCode(CodeOutputInterface &codeOutIntf, const QCString &scopeName, const QCString &input, SrcLangExt lang, bool isExampleBlock, const QCString &exampleName=QCString(), const FileDef *fileDef=0, int startLine=-1, int endLine=-1, bool inlineFragment=FALSE, const MemberDef *memberDef=0, bool showLineNumbers=TRUE, const Definition *searchCtx=0, bool collectXRefs=TRUE)=0
Parses a source file or fragment with the goal to produce highlighted and cross-referenced output.
Node representing an auto List
virtual QCString trSince()=0
Node representing an internal section of documentation
virtual QCString trInvariant()=0
std::string dirPath(bool absPath=true) const
Node representing a word that can be linked to something
SrcLangExt getLanguageFromCodeLang(QCString &fileName)
Routine to handle the language attribute of the \code command
Output interface for code parser.
Node representing a link to some item
Node representing a dia file
Minimal replacement for QFileInfo.
ManDocVisitor(TextStream &t, CodeOutputInterface &ci, const QCString &langExt)
Node representing a simple list
QCString getFileNameExtension(const QCString &fn)
const char * data() const
Returns a pointer to the contents of the string in the form of a 0-terminated C string
Node representing a simple list item
QCString includeFileName() const
A model of a file symbol.
Node representing some amount of white space
static EmojiEntityMapper * instance()
Returns the one and only instance of the Emoji entity mapper
std::string fileName() const
Node representing a HTML table cell
QCString extension() const
virtual QCString trDate()=0
Node representing an internal reference to some item
DocNodeList & parameters()
A bunch of utility functions.
Node representing a HTML table row
virtual QCString trTemplateParameters()=0
QCString exampleFile() const
virtual QCString trReturnValues()=0
virtual QCString trAuthor(bool first_capital, bool singular)=0
virtual QCString trWarning()=0
const HtmlAttribList & attribs() const
This is an alternative implementation of QCString.