4#ifndef QDOC_IR_CONTENTBLOCK_H
5#define QDOC_IR_CONTENTBLOCK_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.
QJsonObject toJson() const
Converts the ContentBlock to a QJsonObject for template rendering.
QList< InlineContent > inlineContent
Rich inline content.
QJsonObject attributes
Type-specific metadata.
QString plainText() const
Returns the concatenated plain text of this block's content, recursively.
QList< ContentBlock > children
Nested blocks.
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.
QJsonObject attributes
Type-specific metadata.
QString href
Link target or image source.
QJsonObject toJson() const
Converts the InlineContent to a QJsonObject for template rendering.
QString text
Text content.
QList< InlineContent > children
Nested inline content.
std::optional< LinkData > link
QString title
Link tooltip or image alt text.
QString plainText() const
Returns the concatenated plain text of this inline element and all its children, recursively.
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