Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
builder.h
Go to the documentation of this file.
1// Copyright (C) 2026 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3
4#ifndef QDOC_IR_BUILDER_H
5#define QDOC_IR_BUILDER_H
6
7#include "document.h"
8#include "pagemetadata.h"
9
11
12namespace IR {
13
15{
16public:
17 Builder() = default;
18
19 [[nodiscard]] Document buildPageIR(PageMetadata pm) const;
20};
21
22} // namespace IR
23
24QT_END_NAMESPACE
25
26#endif // QDOC_IR_BUILDER_H
Assembles IR Documents from pre-extracted metadata.
Definition builder.h:15
Builder()=default
Document buildPageIR(PageMetadata pm) const
Definition builder.cpp:196
Definition builder.cpp:14
static QList< ContentBlock > buildThreadSafetyAdmonition(const CppReferenceData::ThreadSafetyInfo &ts, const QString &typeWord)
Definition builder.cpp:107
static InlineContent makeResolvedLink(const QString &name, const QString &href)
Definition builder.cpp:74
LinkState
LinkOrigin
static void appendExceptionList(QList< InlineContent > &inlines, const QString &prefix, const QString &topicName, const QList< CppReferenceData::ThreadSafetyExceptionEntry > &exceptions)
Definition builder.cpp:84
BlockType
static InlineContent makeTopicLink(const QString &topicName)
Definition builder.cpp:54
static InlineContent makeTextInline(const QString &text)
Definition builder.cpp:35
static void gatherBodyTocEntries(const QList< ContentBlock > &blocks, QList< NavigationInfo::TocEntry > &out)
Definition builder.cpp:16
InlineType
Combined button and popup list for selecting options.
Represents a structural block element in documentation.
Intermediate representation for a documentation topic.
Definition document.h:197
Access access
Definition document.h:202
Status status
Definition document.h:201
NodeType nodeType
Definition document.h:199
Genus genus
Definition document.h:200
Represents inline content within a documentation block.