Doxygen
|
#include <cstdio>
#include <cstdint>
#include <vector>
#include <memory>
#include <variant>
#include <type_traits>
#include "qcstring.h"
#include "docvisitor.h"
#include "docparser.h"
#include "htmlattrib.h"
#include "htmlentity.h"
#include "growvector.h"
#include "section.h"
#include "construct.h"
#include "doctokenizer.h"
Go to the source code of this file.
Classes | |
class | DocNode |
Abstract node interface with type information. More... | |
struct | DocNodeList |
class | DocCompoundNode |
Base class for nodes with children. More... | |
class | DocWord |
Node representing a word. More... | |
class | DocLinkedWord |
Node representing a word that can be linked to something. More... | |
class | DocURL |
Node representing a URL (or email address) More... | |
class | DocLineBreak |
Node representing a line break. More... | |
class | DocHorRuler |
Node representing a horizontal ruler. More... | |
class | DocAnchor |
Node representing an anchor. More... | |
class | DocCite |
Node representing a citation of some bibliographic reference. More... | |
class | DocStyleChange |
Node representing a style change. More... | |
class | DocSymbol |
Node representing a special symbol. More... | |
class | DocEmoji |
Node representing an emoji. More... | |
class | DocWhiteSpace |
Node representing some amount of white space. More... | |
class | DocSeparator |
Node representing a separator. More... | |
class | DocVerbatim |
Node representing a verbatim, unparsed text fragment. More... | |
struct | DocVerbatim::Private |
class | DocInclude |
Node representing an included text block from file. More... | |
class | DocIncOperator |
Node representing a include/dontinclude operator block. More... | |
class | DocFormula |
Node representing an item of a cross-referenced list. More... | |
class | DocIndexEntry |
Node representing an entry in the index. More... | |
class | DocAutoList |
Node representing an auto List. More... | |
class | DocAutoListItem |
Node representing an item of a auto list. More... | |
class | DocTitle |
Node representing a simple section title. More... | |
class | DocXRefItem |
Node representing an item of a cross-referenced list. More... | |
class | DocImage |
Node representing an image. More... | |
struct | DocImage::Private |
class | DocDiagramFileBase |
struct | DocDiagramFileBase::Private |
class | DocDotFile |
Node representing a dot file. More... | |
class | DocMscFile |
Node representing a msc file. More... | |
class | DocDiaFile |
Node representing a dia file. More... | |
class | DocPlantUmlFile |
Node representing a uml file. More... | |
class | DocVhdlFlow |
Node representing a VHDL flow chart. More... | |
class | DocLink |
Node representing a link to some item. More... | |
class | DocRef |
Node representing a reference to some item. More... | |
class | DocInternalRef |
Node representing an internal reference to some item. More... | |
class | DocHRef |
Node representing a Hypertext reference. More... | |
class | DocHtmlSummary |
Node Html summary. More... | |
class | DocHtmlDetails |
Node Html details. More... | |
class | DocHtmlHeader |
Node Html heading. More... | |
class | DocHtmlDescTitle |
Node representing a Html description item. More... | |
class | DocHtmlDescList |
Node representing a Html description list. More... | |
class | DocSection |
Node representing a normal section. More... | |
class | DocSecRefItem |
Node representing a reference to a section. More... | |
class | DocSecRefList |
Node representing a list of section references. More... | |
class | DocInternal |
Node representing an internal section of documentation. More... | |
class | DocParBlock |
Node representing an block of paragraphs. More... | |
class | DocSimpleList |
Node representing a simple list. More... | |
class | DocHtmlList |
Node representing a Html list. More... | |
class | DocSimpleSect |
Node representing a simple section. More... | |
class | DocSimpleSectSep |
Node representing a separator between two simple sections of the same type. More... | |
class | DocParamSect |
Node representing a parameter section. More... | |
class | DocPara |
Node representing a paragraph in the documentation tree. More... | |
class | DocParamList |
Node representing a parameter list. More... | |
class | DocSimpleListItem |
Node representing a simple list item. More... | |
class | DocHtmlListItem |
Node representing a HTML list item. More... | |
class | DocHtmlDescData |
Node representing a HTML description data. More... | |
class | DocHtmlCell |
Node representing a HTML table cell. More... | |
class | DocHtmlCaption |
Node representing a HTML table caption. More... | |
class | DocHtmlRow |
Node representing a HTML table row. More... | |
class | DocHtmlTable |
Node representing a HTML table. More... | |
class | DocHtmlBlockQuote |
Node representing an HTML blockquote. More... | |
class | DocText |
Root node of a text fragment. More... | |
class | DocRoot |
Root node of documentation tree. More... | |
struct | details::Impl< T, Ts > |
struct | details::Impl< T > |
struct | details::has_method_children< T, typename > |
struct | details::has_method_children< T, std::void_t< decltype(std::declval< T >().children())> > |
class | DocNodeAST |
Class representing the abstract syntax tree of a documentation block. More... | |
Namespaces | |
namespace | details |
Macros | |
#define | DOC_NODES |
#define | DN(x) |
#define | DN_SEP |
#define | DN(x) |
#define | DN_SEP , |
#define | DN(x) |
#define | DN_SEP |
#define | DN(x) |
#define | DN_SEP , |
#define | DN(x) |
#define | DN_SEP , |
#define | DN(x) |
#define | DN_SEP , |
Typedefs | |
using | DocNodeVariant |
Functions | |
constexpr const char * | docNodeName (const DocWord &) |
constexpr const char * | docNodeName (const DocLinkedWord &) |
constexpr const char * | docNodeName (const DocURL &) |
constexpr const char * | docNodeName (const DocLineBreak &) |
constexpr const char * | docNodeName (const DocHorRuler &) |
constexpr const char * | docNodeName (const DocAnchor &) |
constexpr const char * | docNodeName (const DocCite &) |
constexpr const char * | docNodeName (const DocStyleChange &) |
constexpr const char * | docNodeName (const DocSymbol &) |
constexpr const char * | docNodeName (const DocEmoji &) |
constexpr const char * | docNodeName (const DocWhiteSpace &) |
constexpr const char * | docNodeName (const DocSeparator &) |
constexpr const char * | docNodeName (const DocVerbatim &) |
constexpr const char * | docNodeName (const DocInclude &) |
constexpr const char * | docNodeName (const DocIncOperator &) |
constexpr const char * | docNodeName (const DocFormula &) |
constexpr const char * | docNodeName (const DocIndexEntry &) |
constexpr const char * | docNodeName (const DocAutoList &) |
constexpr const char * | docNodeName (const DocAutoListItem &) |
constexpr const char * | docNodeName (const DocTitle &) |
constexpr const char * | docNodeName (const DocXRefItem &) |
constexpr const char * | docNodeName (const DocImage &) |
constexpr const char * | docNodeName (const DocDotFile &) |
constexpr const char * | docNodeName (const DocMscFile &) |
constexpr const char * | docNodeName (const DocDiaFile &) |
constexpr const char * | docNodeName (const DocVhdlFlow &) |
constexpr const char * | docNodeName (const DocLink &) |
constexpr const char * | docNodeName (const DocRef &) |
constexpr const char * | docNodeName (const DocInternalRef &) |
constexpr const char * | docNodeName (const DocHRef &) |
constexpr const char * | docNodeName (const DocHtmlHeader &) |
constexpr const char * | docNodeName (const DocHtmlDescTitle &) |
constexpr const char * | docNodeName (const DocHtmlDescList &) |
constexpr const char * | docNodeName (const DocSection &) |
constexpr const char * | docNodeName (const DocSecRefItem &) |
constexpr const char * | docNodeName (const DocSecRefList &) |
constexpr const char * | docNodeName (const DocInternal &) |
constexpr const char * | docNodeName (const DocParBlock &) |
constexpr const char * | docNodeName (const DocSimpleList &) |
constexpr const char * | docNodeName (const DocHtmlList &) |
constexpr const char * | docNodeName (const DocSimpleSect &) |
constexpr const char * | docNodeName (const DocSimpleSectSep &) |
constexpr const char * | docNodeName (const DocParamSect &) |
constexpr const char * | docNodeName (const DocPara &) |
constexpr const char * | docNodeName (const DocParamList &) |
constexpr const char * | docNodeName (const DocSimpleListItem &) |
constexpr const char * | docNodeName (const DocHtmlListItem &) |
constexpr const char * | docNodeName (const DocHtmlDescData &) |
constexpr const char * | docNodeName (const DocHtmlCell &) |
constexpr const char * | docNodeName (const DocHtmlCaption &) |
constexpr const char * | docNodeName (const DocHtmlRow &) |
constexpr const char * | docNodeName (const DocHtmlTable &) |
constexpr const char * | docNodeName (const DocHtmlBlockQuote &) |
constexpr const char * | docNodeName (const DocText &) |
constexpr const char * | docNodeName (const DocRoot &) |
constexpr const char * | docNodeName (const DocHtmlDetails &) |
constexpr const char * | docNodeName (const DocHtmlSummary &) |
constexpr const char * | docNodeName (const DocPlantUmlFile &) |
constexpr DocNodeVariant * | parent (DocNodeVariant *n) |
returns the parent node of a given node n or nullptr if the node has no parent. | |
constexpr const DocNodeVariant * | parent (const DocNodeVariant *n) |
returns the parent node of a given node n or nullptr if the node has no parent. | |
template<class... Ts> | |
constexpr bool | holds_one_of_alternatives (const DocNodeVariant &v) |
returns true iff v holds one of types passed as template parameters | |
DocNodeList * | call_method_children (DocNodeVariant *v) |
const char * | docNodeName (const DocNodeVariant &v) |
void | dumpDocNodeSizes () |
void | dumpDocNodeList (const DocNodeList &children) |
template<class T, class... Args> | |
std::unique_ptr< DocNodeVariant > | createDocNode (Args &&...args) |
#define DN | ( | x | ) |
#define DOC_NODES |
Definition at line 42 of file docnode.h.
Referenced by docNodeName(), docNodeName(), and dumpDocNodeSizes().
using DocNodeVariant |
|
inline |
Definition at line 1379 of file docnode.h.
Referenced by flattenParagraphs().
std::unique_ptr< DocNodeVariant > createDocNode | ( | Args &&... | args | ) |
Definition at line 1485 of file docnode.h.
Referenced by DocHtmlDetails::parse(), DocHtmlTable::parse(), DocSection::parse(), DocSimpleListItem::parse(), DocSimpleSect::parse(), DocSimpleSect::parseRcs(), and DocHtmlDetails::parseSummary().
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
inline |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
inline |
Definition at line 1445 of file docnode.h.
References docNodeName(), qPrint(), and DocWord::word().
|
inline |
Definition at line 1421 of file docnode.h.
References DOC_NODES.
|
constexpr |
returns true iff v holds one of types passed as template parameters
Definition at line 1360 of file docnode.h.
References details::Impl< T, Ts >::holds_one_of_alternatives().
Referenced by determineIfNeedsTag(), getParagraphContext(), mustBeOutsideParagraph(), DocPara::parse(), and tableIsNested().
|
constexpr |
|
constexpr |
returns the parent node of a given node n or nullptr if the node has no parent.
Definition at line 1324 of file docnode.h.
Referenced by buildDirectories(), checkIfHtmlEndTagEndsAutoList(), LayoutDocManager::createChildNavEntry(), FTVHelp::decContentsDepth(), DocParser::defaultHandleTitleAndSize(), DocParser::defaultHandleToken(), DefineManager::DefinesPerFile::DefinesPerFile(), DocDiaFile::DocDiaFile(), DocDotFile::DocDotFile(), DocMscFile::DocMscFile(), DocPlantUmlFile::DocPlantUmlFile(), TreeDiagram::drawConnectors(), dupOfParent(), DocParser::errorHandleDefaultToken(), externalLinkTarget(), generateClassOrGlobalLink(), generateIndent(), generateIndentLabel(), getParagraphContext(), DocParser::handleAHref(), DocParser::handleAnchor(), DocParser::handleImage(), DocParser::handleImg(), DocParser::handleInitialStyleCommands(), DocParser::handleInternalRef(), DocParser::handleLinkedWord(), DocParser::handleParameterType(), DocParser::handlePendingStyleCommands(), DocParser::handlePrefix(), DocParser::handleStyleArgument(), DocParser::handleStyleEnter(), DocParser::handleStyleLeave(), DiagramRow::insertClass(), insideBlockQuote(), insideDetails(), insideDL(), insideLI(), insideOL(), insidePRE(), insideTable(), insideUL(), DocParser::internalValidatingParseDoc(), isFirstChildNode(), isLastChildNode(), isSeparatedParagraph(), isSymbolHidden(), listIsNested(), LatexDocVisitor::operator()(), parentIsVisible(), parseMain(), pathToNode(), recodeString(), tableIsNested(), and writeDotDirDepGraph().