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
IR Namespace Reference

Classes

class  Builder
 Builds IR (Intermediate Representation) from QDoc's Node tree. More...
struct  InlineContent
 Represents inline content within a documentation block. More...
struct  ContentBlock
 Represents a structural block element in documentation. More...
struct  Document
 Intermediate representation for a documentation topic. More...
 Intermediate representation for a resolved hyperlink. More...
struct  AtomContext

Enumerations

enum class  InlineType : unsigned char {
  Text , Code , Link , Bold ,
  Italic , Teletype , Underline , Strikethrough ,
  Subscript , Superscript , Parameter , LineBreak ,
  Image , Keyword , Target
}
enum class  BlockType : unsigned char {
  Paragraph , CodeBlock , List , ListItem ,
  Section , SectionHeading , Note , Warning ,
  Important , Details , Brief , Div ,
  Quotation , Legalese , HorizontalRule , Table ,
  TableRow , TableCell , Raw
}

Functions

static QString inlineTypeId (InlineType type)
static QString blockTypeId (BlockType type)
static QJsonObject classificationObject (const QString &id, const QString &label)
static std::optional< QJsonObjectnodeTypeToJson (NodeType t)
static std::optional< QJsonObjectgenusToJson (Genus g)
static QJsonObject statusToJson (Status s)
static QJsonObject accessToJson (Access a)

Enumeration Type Documentation

◆ BlockType

enum class IR::BlockType : unsigned char
strong
Enumerator
Paragraph 
CodeBlock 
List 
ListItem 
Section 
SectionHeading 
Note 
Warning 
Important 
Details 
Brief 
Div 
Quotation 
Legalese 
HorizontalRule 
Table 
TableRow 
TableCell 
Raw 

Definition at line 45 of file contentblock.h.

◆ InlineType

enum class IR::InlineType : unsigned char
strong
Enumerator
Text 
Code 
Link 
Bold 
Italic 
Teletype 
Underline 
Strikethrough 
Subscript 
Superscript 
Parameter 
LineBreak 
Image 
Keyword 
Target 

Definition at line 15 of file contentblock.h.

Function Documentation

◆ accessToJson()

QJsonObject IR::accessToJson ( Access a)
static

Definition at line 104 of file document.cpp.

◆ blockTypeId()

QString IR::blockTypeId ( BlockType type)
static

Definition at line 147 of file contentblock.cpp.

◆ classificationObject()

QJsonObject IR::classificationObject ( const QString & id,
const QString & label )
static

Definition at line 36 of file document.cpp.

◆ genusToJson()

std::optional< QJsonObject > IR::genusToJson ( Genus g)
static

Definition at line 78 of file document.cpp.

◆ inlineTypeId()

QString IR::inlineTypeId ( InlineType type)
static

Definition at line 124 of file contentblock.cpp.

◆ nodeTypeToJson()

std::optional< QJsonObject > IR::nodeTypeToJson ( NodeType t)
static

Definition at line 45 of file document.cpp.

References NoType.

◆ statusToJson()

QJsonObject IR::statusToJson ( Status s)
static

Definition at line 91 of file document.cpp.