浏览该文件的文档.
74 const QCString &input,
bool indexWords,
75 bool isExample,
const QCString &exampleName,
76 bool singleLine,
bool linkFromIndex,
77 bool markdownSupport);
202 T *obj =
dynamic_cast<T *
>(
this);
204 for (
const auto &n :
m_children) n->accept(v);
513 enum Type {
Code,
HtmlOnly,
ManOnly,
LatexOnly,
RtfOnly,
XmlOnly,
Verbatim,
Dot,
Msc,
DocbookOnly,
PlantUML };
621 case Line:
return "line";
623 case Skip:
return "skip";
624 case Until:
return "until";
1125 int parse(
bool userTitle,
bool needsSeparator);
Node representing an HTML blockquote
Node representing an item of a auto list
Node representing a Hypertext reference
Node representing a style change
DocInternalRef(DocParser &parser, DocNode *parent, const QCString &target)
uint visibleCells() const
void handleLink(const QCString &cmdName, bool isJavaLink)
Kind kind() const override
Node representing a verbatim, unparsed text fragment
DocHtmlCaption * caption() const
int handleCommand(const QCString &cmdName, const int tok)
std::unique_ptr< IDocParser > createDocParser()
void appendLinkWord(const QCString &word)
Kind kind() const override
DocNodeList & paramTypes()
virtual ~DocSimpleListItem()
Node representing a simple section title
DocHtmlDescData(DocParser &parser, DocNode *parent)
Kind kind() const override
Node representing a paragraph in the documentation tree
bool isInlineImage() const
Kind kind() const override
Alignment alignment() const
bool isPreformatted() const
Node representing a dot file
const HtmlAttribList & attribs() const
Node representing a HTML table
void handleInclude(const QCString &cmdName, DocInclude::Type t)
Kind kind() const override
DocCite(DocParser &parser, DocNode *parent, const QCString &target, const QCString &context)
The common base class of all entity definitions found in the sources.
DocSymbol(DocParser &parser, DocNode *parent, SymType s)
DocStyleChange(DocParser &parser, DocNode *parent, uint position, Style s, const QCString &tagName, bool enable, const HtmlAttribList *attribs=0)
const HtmlAttribList & attribs() const
Default accept implementation for compound nodes in the abstract syntax tree.
DocAutoList(DocParser &parser, DocNode *parent, int indent, bool isEnumList, int depth)
void handleIncludeOperator(const QCString &cmdName, DocIncOperator::Type t)
DocSection(DocParser &parser, DocNode *parent, int level, const QCString &id)
const HtmlAttribList & attribs() const
Root node of documentation tree
virtual void visit(DocWord *)=0
DocSecRefList(DocParser &parser, DocNode *parent)
Kind kind() const override
uint length() const
Returns the length of the string, not counting the 0-terminator.
Class representing a list of HTML attributes.
DocWhiteSpace(DocParser &parser, DocNode *parent, const QCString &chars)
QCString m_includeFileName
Kind kind() const override
void markLast(bool b=TRUE)
void markFirst(bool v=TRUE)
int findRev(char c, int index=-1, bool cs=TRUE) const
DocRoot(DocParser &parser, bool indent, bool sl)
Node representing a HTML list item
size_t numColumns() const
void accept(DocVisitor *v) override
DocParamSect(DocParser &parser, DocNode *parent, Type t)
Node representing a VHDL flow chart
Abstract node interface with type information.
const HtmlAttribList & attribs() const
int parse(const QCString &cmdName)
bool hasCaptionId() const
int parse(bool userTitle, bool needsSeparator)
Node representing a HTML description data
void handleSection(const QCString &cmdName)
Node representing a Html description item
Kind kind() const override
DocURL(DocParser &parser, DocNode *parent, const QCString &url, bool isEmail)
DocParamSect::Type type() const
Node representing a n emoji
Node representing a msc file
void accept(DocVisitor *v) override
Kind kind() const override
const Definition * m_scope
QCString targetTitle() const
Kind kind() const override
static SymType decodeSymbol(const QCString &symName)
QCString exampleFile() const
Kind kind() const override
Node representing a reference to a section
void accept(DocVisitor *v) override
Kind kind() const override
Node representing an anchor
DocHtmlList(DocParser &parser, DocNode *parent, const HtmlAttribList &attribs, Type t)
void accept(DocVisitor *v) override
DocIndexEntry(DocParser &parser, DocNode *parent, const Definition *scope, const MemberDef *md)
Kind kind() const override
char & at(size_t i)
Returns a reference to the character at index i.
Kind kind() const override
int handleHtmlEndTag(const QCString &tagName)
const HtmlAttribList & attribs() const
void accept(DocVisitor *v) override
Kind kind() const override
Kind kind() const override
Root node of a text fragment
DocHtmlDescList(DocParser &parser, DocNode *parent, const HtmlAttribList &attribs)
const char * styleString() const
const HtmlAttribList & attribs() const
int parse(const QCString &cmdName, bool xmlContext, Direction d)
Abstract visitor that participates in the visitor pattern.
DocSimpleSectSep(DocParser &parser, DocNode *parent)
const MemberDef * member() const
DocHtmlBlockQuote(DocParser &parser, DocNode *parent, const HtmlAttribList &attribs)
DocInternal(DocParser &parser, DocNode *parent)
DocRef(DocParser &parser, DocNode *parent, const QCString &target, const QCString &context)
Kind kind() const override
void setRowIndex(uint idx)
Kind kind() const override
Kind kind() const override
DocParamSect::Direction m_dir
const HtmlAttribList & attribs() const
Kind kind() const override
void accept(DocVisitor *v) override
Node representing a Html description list
int handleParamSection(const QCString &cmdName, DocParamSect::Type t, bool xmlContext, int direction)
void accept(DocVisitor *v) override
Node representing a include/dontinclude operator block
DocLinkedWord(DocParser &parser, DocNode *parent, const QCString &word, const QCString &ref, const QCString &file, const QCString &anchor, const QCString &tooltip)
const MemberDef * m_member
DocHtmlRow(DocParser &parser, DocNode *parent, const HtmlAttribList &attribs)
Node representing an entry in the index.
Node representing a list of section references
Kind kind() const override
Kind kind() const override
DocDotFile(DocParser &parser, DocNode *parent, const QCString &name, const QCString &context, const QCString &srcFile, int srcLine)
DocHtmlRow * firstRow() const
void accept(DocVisitor *v) override
DocVerbatim(DocParser &parser, DocNode *parent, const QCString &context, const QCString &text, Type t, bool isExample, const QCString &exampleFile, bool isBlock=FALSE, const QCString &lang=QCString())
Node representing a line break
void accept(DocVisitor *v) override
bool injectToken(int tok, const QCString &tokText)
Node representing a special symbol
DocHRef(DocParser &parser, DocNode *parent, const HtmlAttribList &attribs, const QCString &url, const QCString &relPath, const QCString &file)
A model of a class/file/namespace member symbol.
Node representing an item of a cross-referenced list
const HtmlAttribList & attribs() const
Kind kind() const override
Node representing an image
const HtmlAttribList & attribs() const
virtual Kind kind() const =0
DocSimpleList(DocParser &parser, DocNode *parent)
Kind kind() const override
std::vector< std::unique_ptr< DocPara > > DocParaList
std::vector< std::unique_ptr< DocNode > > DocNodeList
void handleFile(const QCString &cmdName)
Node representing a URL (or email address)
DocRef * createRef(IDocParser &parser, const QCString &target, const QCString &context)
Kind kind() const override
const HtmlAttribList & attribs() const
Kind kind() const override
DocHtmlCell(DocParser &parser, DocNode *parent, const HtmlAttribList &attribs, bool isHeading)
void accept(DocVisitor *v) override
Kind kind() const override
Node representing a HTML table caption
DocLink(DocParser &parser, DocNode *parent, const QCString &target)
const Definition * scope() const
Kind kind() const override
void setVisibleCells(uint n)
void setRowIndex(uint idx)
const HtmlAttribList & attribs() const
const char * typeAsString() const
Kind kind() const override
Node representing a parameter list.
void markFirst(bool b=TRUE)
void accept(DocVisitor *v) override
DocIncOperator(DocParser &parser, DocNode *parent, Type t, const QCString &pat, const QCString &context, bool isExample, const QCString &exampleFile)
DocMscFile(DocParser &parser, DocNode *parent, const QCString &name, const QCString &context, const QCString &srcFile, int srcLine)
void accept(DocVisitor *v) override
void setParent(DocNode *parent)
Node representing a separator
DocVhdlFlow(DocParser &parser, DocNode *parent)
DocHtmlCaption(DocParser &parser, DocNode *parent, const HtmlAttribList &attribs)
DocAutoListItem(DocParser &parser, DocNode *parent, int indent, int num)
void markLast(bool v=TRUE)
QCString exampleFile() const
Node representing an block of paragraphs
DocHtmlDescTitle(DocParser &parser, DocNode *parent, const HtmlAttribList &attribs)
Node representing a separator between two simple sections of the same type.
Kind kind() const override
Kind kind() const override
const HtmlAttribList & attribs() const
DocParBlock(DocParser &parser, DocNode *parent)
Kind kind() const override
Node representing a citation of some bibliographic reference
void accept(DocVisitor *v) override
void computeTableGrid()
determines the location of all cells in a grid, resolving row and column spans.
Node representing a reference to some item
QCString typeString() const
void accept(DocVisitor *) override
Node representing a parameter section
DocParamSect::Type m_type
const DocNodeList & children() const
void accept(DocVisitor *v) override
int parseXml(const QCString ¶mName)
Node representing a Html list
DocText * validatingParseText(IDocParser &parser, const QCString &input)
DocParamSect::Direction direction() const
Node representing a simple section
Node representing a normal section
Node representing a horizontal ruler
QCString language() const
void markLast(bool v=TRUE)
DocHtmlTable(DocParser &parser, DocNode *parent, const HtmlAttribList &attribs)
Node representing an included text block from file
void markFirst(bool v=TRUE)
void handleRef(const QCString &cmdName)
DocDiagramFileBase(DocParser &parser, const QCString &name, const QCString &context, const QCString &srcFile, int srcLine)
Kind kind() const override
DocImage(DocParser &parser, DocNode *parent, const HtmlAttribList &attribs, const QCString &name, Type t, const QCString &url=QCString(), bool inlineImage=TRUE)
Node representing an auto List
Kind kind() const override
void accept(DocVisitor *v) override
Node representing an internal section of documentation
Kind kind() const override
void setInsidePreformatted(bool p)
void setLocation(const QCString &file, int line)
bool hasTypeSpecifier() const
DocSimpleSect(DocParser &parser, DocNode *parent, Type t)
DocDiaFile(DocParser &parser, DocNode *parent, const QCString &name, const QCString &context, const QCString &srcFile, int srcLine)
DocHtmlCaption * m_caption
Kind kind() const override
Kind kind() const override
DocHorRuler(DocParser &parser, DocNode *parent, const HtmlAttribList &attribs)
Kind kind() const override
Kind kind() const override
Node representing a word that can be linked to something
virtual void visitPost(DocAutoList *)=0
DocPara(DocParser &parser, DocNode *parent)
Kind kind() const override
void markFirst(bool v=TRUE)
int handleHtmlStartTag(const QCString &tagName, const HtmlAttribList &tagHtmlAttribs)
Kind kind() const override
DocSimpleListItem(DocParser &parser, DocNode *parent)
DocEmoji(DocParser &parser, DocNode *parent, const QCString &symName)
void setUseBitmap(const bool &u)
Node representing a link to some item
DocHtmlListItem(DocParser &parser, DocNode *parent, const HtmlAttribList &attribs, int num)
DocText(DocParser &parser)
void setEngine(const QCString &e)
void setAttribs(const HtmlAttribList &attribs)
Node representing a dia file
void setColumnIndex(uint idx)
bool startsWith(const char *s) const
Kind kind() const override
DocSecRefItem(DocParser &parser, DocNode *parent, const QCString &target)
DocSeparator(DocParser &parser, DocNode *parent, const QCString &chars)
int handleHtmlHeader(const HtmlAttribList &tagHtmlAttribs, int level)
int parseXml(bool header)
const HtmlAttribList & attribs() const
DocInclude(DocParser &parser, DocNode *parent, const QCString &file, const QCString &context, Type t, bool isExample, const QCString &exampleFile, const QCString &blockId, bool isBlock)
Kind kind() const override
int handleSimpleSection(DocSimpleSect::Type t, bool xmlContext=FALSE)
Node representing a simple list
Node representing a simple list item
QCString includeFileName() const
void accept(DocVisitor *v) override
void docFindSections(const QCString &input, const Definition *d, const QCString &fileName)
const DocNodeList & children() const
Node representing some amount of white space
A class representing a group of members.
CompAccept(DocParser &parser)
const HtmlAttribList & attribs() const
DocParamList(DocParser &parser, DocNode *parent, DocParamSect::Type t, DocParamSect::Direction d)
DocRoot * validatingParseDoc(IDocParser &parser, const QCString &fileName, int startLine, const Definition *context, const MemberDef *md, const QCString &input, bool indexWords, bool isExample, const QCString &exampleName, bool singleLine, bool linkFromIndex, bool markdownSupport)
virtual void accept(DocVisitor *v)=0
void accept(DocVisitor *v) override
const HtmlAttribList & attribs() const
DocTitle(DocParser &parser, DocNode *parent)
DocAnchor(DocParser &parser, DocNode *parent, const QCString &id, bool newAnchor)
struct DocSymbol::PerlSymb PerlSymb
DocNode(DocParser &parser)
Node representing a HTML table cell
QCString extension() const
Kind kind() const override
void markLast(bool v=TRUE)
DocLineBreak(DocParser &parser, DocNode *parent, const HtmlAttribList &attribs)
Kind kind() const override
bool hasInOutSpecifier() const
Kind kind() const override
Node representing an internal reference to some item
DocNodeList & parameters()
void setText(const QCString &t)
DocXRefItem(DocParser &parser, DocNode *parent, int id, const QCString &key)
void accept(DocVisitor *v) override
Valignment valignment() const
void setHeight(const QCString &h)
const HtmlAttribList & attribs() const
void accept(DocVisitor *v) override
Node representing a HTML table row
void setWidth(const QCString &w)
bool refToSection() const
Kind kind() const override
DocWord(DocParser &parser, DocNode *parent, const QCString &word)
void handleImage(const QCString &cmdName)
void accept(DocVisitor *v) override
QCString right(size_t len) const
Kind kind() const override
virtual void visitPre(DocAutoList *)=0
DocLineBreak(DocParser &parser, DocNode *parent)
Kind kind() const override
void parseFromString(const QCString &title)
Kind kind() const override
QCString parse(bool, bool isXmlLink=FALSE)
Kind kind() const override
QCString exampleFile() const
void accept(DocVisitor *v) override
Kind kind() const override
const HtmlAttribList & attribs() const
This is an alternative implementation of QCString.
Kind kind() const override