4#ifndef QDOC_IR_DOCUMENT_H
5#define QDOC_IR_DOCUMENT_H
11#include "qdoc/access.h"
12#include "qdoc/genustypes.h"
13#include "qdoc/status.h"
Assembles IR Documents from pre-extracted metadata.
Document buildPageIR(PageMetadata pm) const
Status
Specifies the status of the QQmlIncubator.
static QList< ContentBlock > buildThreadSafetyAdmonition(const CppReferenceData::ThreadSafetyInfo &ts, const QString &typeWord)
static InlineContent makeResolvedLink(const QString &name, const QString &href)
static void appendExceptionList(QList< InlineContent > &inlines, const QString &prefix, const QString &topicName, const QList< CppReferenceData::ThreadSafetyExceptionEntry > &exceptions)
static InlineContent makeTopicLink(const QString &topicName)
static InlineContent makeTextInline(const QString &text)
static void gatherBodyTocEntries(const QList< ContentBlock > &blocks, QList< NavigationInfo::TocEntry > &out)
Combined button and popup list for selecting options.
QString logicalModuleVersion
QList< MemberEntry > members
QJsonObject toJson() const
Converts the CollectionInfo to a QJsonObject for template rendering.
QList< MemberEntry > classes
QString logicalModuleName
QList< MemberEntry > namespaces
Represents a structural block element in documentation.
QStringList comparableTypes
QList< ThreadSafetyExceptionEntry > reentrantExceptions
QList< ThreadSafetyExceptionEntry > nonReentrantExceptions
QList< ThreadSafetyExceptionEntry > threadSafeExceptions
QList< SignatureSpan > templateDeclSpans
std::optional< ThreadSafetyInfo > threadSafety
QList< ContentBlock > threadSafetyAdmonition
QList< ComparisonEntry > comparisonEntries
QString cmakeTargetLinkLibraries
QList< DerivedClassEntry > derivedClasses
QStringList ancestorNames
QString fullNamespaceModuleName
std::optional< QmlNativeTypeLink > qmlNativeType
QString obsoleteMembersUrl
QString fullNamespaceHref
QList< GroupEntry > groups
QString selfComparisonCategory
QList< BaseClassEntry > baseClasses
QJsonObject toJson() const
Converts CppReferenceInfo to a QJsonObject for template rendering.
Intermediate representation for a documentation topic.
QList< ContentBlock > body
QList< SectionIR > summarySections
std::optional< QmlTypeInfo > qmlTypeInfo
QList< SectionIR > detailSections
std::optional< NavigationInfo > navigationInfo
std::optional< CppReferenceInfo > cppReferenceInfo
std::optional< CollectionInfo > collectionInfo
QJsonObject toJson() const
Converts the Document to a QJsonObject for template rendering.
Represents inline content within a documentation block.
std::optional< LinkEntry > nextLink
QList< TocEntry > tocEntries
QList< BreadcrumbEntry > breadcrumbs
std::optional< LinkEntry > startLink
std::optional< LinkEntry > previousLink
QJsonObject toJson() const
Converts NavigationInfo to a QJsonObject for template rendering.
std::optional< InheritsInfo > inherits
QJsonObject toJson() const
Converts the QmlTypeInfo to a QJsonObject for template rendering.
std::optional< NativeTypeInfo > nativeType
QList< InheritedByEntry > inheritedBy