Reference
This is the reference for the data MrDocs extracts into a corpus and exposes to each generator as structured objects: each symbol, and the types, names, template parameters, and documentation blocks attached to it.
Machine-readable schema files for the corpus are also attached to this site: a RELAX NG schema for the XML representation and a JSON Schema for the JSON representation.
The fields below are reflected from MrDocs’s metadata types. In each table, object and array types link to the section that documents them.
Symbols
Base class with common properties of all symbols
concept
Info for concepts.
| Field | Type | Description |
|---|---|---|
|
|
Declaration access. One of: |
|
|
A legible, filesystem- and URL-safe name for this symbol. |
|
The C++ attributes attached to this declaration. |
|
|
|
Determine why a symbol is extracted. One of: |
|
|
Whether this a copy of an inherited method, as produced when |
|
|
Kind of declaration. One of: |
|
The source location information. |
|
|
|
The unqualified name. |
|
|
The parent symbol, if any. |
|
Optional. The extracted documentation for this declaration. |
|
|
|
The unique identifier for this symbol. |
|
|
The concepts constraint-expression |
|
Optional. The concepts template parameters |
enumConstant
Info for enum constants.
| Field | Type | Description |
|---|---|---|
|
|
Declaration access. One of: |
|
|
A legible, filesystem- and URL-safe name for this symbol. |
|
The C++ attributes attached to this declaration. |
|
|
|
Determine why a symbol is extracted. One of: |
|
|
Whether this a copy of an inherited method, as produced when |
|
|
Kind of declaration. One of: |
|
The source location information. |
|
|
|
The unqualified name. |
|
|
The parent symbol, if any. |
|
Optional. The extracted documentation for this declaration. |
|
|
|
The unique identifier for this symbol. |
|
The initializer expression, if any |
enum
Metadata for an enumeration declaration.
| Field | Type | Description |
|---|---|---|
|
|
Declaration access. One of: |
|
|
A legible, filesystem- and URL-safe name for this symbol. |
|
The C++ attributes attached to this declaration. |
|
|
|
Determine why a symbol is extracted. One of: |
|
|
Whether this a copy of an inherited method, as produced when |
|
|
Kind of declaration. One of: |
|
The source location information. |
|
|
|
The unqualified name. |
|
|
The parent symbol, if any. |
|
Optional. The extracted documentation for this declaration. |
|
|
|
The unique identifier for this symbol. |
|
|
The members of this scope. |
|
|
Indicates whether this enum is scoped (e.g. enum class). |
|
Optional. The underlying type of this enum, if explicitly specified. |
function
Metadata for a function or method.
| Field | Type | Description |
|---|---|---|
|
|
Declaration access. One of: |
|
|
A legible, filesystem- and URL-safe name for this symbol. |
|
The C++ attributes attached to this declaration. |
|
|
|
Determine why a symbol is extracted. One of: |
|
|
Whether this a copy of an inherited method, as produced when |
|
|
Kind of declaration. One of: |
|
The source location information. |
|
|
|
The unqualified name. |
|
|
The parent symbol, if any. |
|
Optional. The extracted documentation for this declaration. |
|
|
|
The unique identifier for this symbol. |
|
|
constexpr/consteval specifier. One of: |
|
explicit-specifier information. |
|
|
|
The class of function this is One of: |
|
|
Optional. Back-reference to the function object implementation type. |
|
|
True when annotated with override. |
|
|
True when using a trailing return type. |
|
|
True when qualified const. |
|
|
True when this declaration is implicitly defaulted. |
|
|
True when this declaration is deleted. |
|
|
True when deleted as written (vs deduced). |
|
|
True when explicit object parameter syntax is used. |
|
|
True when explicitly defaulted with |
|
|
True when final-qualified. |
|
|
Whether this function is listed on its primary’s page. |
|
|
True when the function is pure virtual. |
|
|
True when this is a non-static member function. |
|
|
True when the function is variadic. |
|
|
True when declared virtual (after overrides). |
|
|
True when explicitly written virtual. |
|
|
True when qualified volatile. |
|
Exception specification for the function. |
|
|
|
Overloaded operator kind, if any. One of: |
|
List of parameters. |
|
|
|
Reference qualifier on the member function, if any. One of: |
|
|
Constrained requires-clause if present. |
|
Info about the return type of this function. |
|
|
|
Specializations whose primary is this function. |
|
|
Storage class specifier. One of: |
|
Optional. When present, this function is a template or specialization. |
guide
Info for deduction guides.
| Field | Type | Description |
|---|---|---|
|
|
Declaration access. One of: |
|
|
A legible, filesystem- and URL-safe name for this symbol. |
|
The C++ attributes attached to this declaration. |
|
|
|
Determine why a symbol is extracted. One of: |
|
|
Whether this a copy of an inherited method, as produced when |
|
|
Kind of declaration. One of: |
|
The source location information. |
|
|
|
The unqualified name. |
|
|
The parent symbol, if any. |
|
Optional. The extracted documentation for this declaration. |
|
|
|
The unique identifier for this symbol. |
|
The pattern for the deduced specialization. |
|
|
The explicit-specifier, if any. |
|
|
The parameters of the deduction guide. |
|
|
Optional. Template head, if any. |
macro
Info for preprocessor macros.
| Field | Type | Description |
|---|---|---|
|
|
Declaration access. One of: |
|
|
A legible, filesystem- and URL-safe name for this symbol. |
|
The C++ attributes attached to this declaration. |
|
|
|
Determine why a symbol is extracted. One of: |
|
|
Whether this a copy of an inherited method, as produced when |
|
|
Kind of declaration. One of: |
|
The source location information. |
|
|
|
The unqualified name. |
|
|
The parent symbol, if any. |
|
Optional. The extracted documentation for this declaration. |
|
|
|
The unique identifier for this symbol. |
|
|
Whether this is a function-like macro. |
|
|
Whether the macro takes a variadic argument list. |
|
|
The names of the macro’s parameters. |
namespaceAlias
Info for namespace aliases.
| Field | Type | Description |
|---|---|---|
|
|
Declaration access. One of: |
|
|
A legible, filesystem- and URL-safe name for this symbol. |
|
The C++ attributes attached to this declaration. |
|
|
|
Determine why a symbol is extracted. One of: |
|
|
Whether this a copy of an inherited method, as produced when |
|
|
Kind of declaration. One of: |
|
The source location information. |
|
|
|
The unqualified name. |
|
|
The parent symbol, if any. |
|
Optional. The extracted documentation for this declaration. |
|
|
|
The unique identifier for this symbol. |
|
The aliased symbol. |
namespace
Describes a namespace and its members.
| Field | Type | Description |
|---|---|---|
|
|
Declaration access. One of: |
|
|
A legible, filesystem- and URL-safe name for this symbol. |
|
The C++ attributes attached to this declaration. |
|
|
|
Determine why a symbol is extracted. One of: |
|
|
Whether this a copy of an inherited method, as produced when |
|
|
Kind of declaration. One of: |
|
The source location information. |
|
|
|
The unqualified name. |
|
|
The parent symbol, if any. |
|
Optional. The extracted documentation for this declaration. |
|
|
|
The unique identifier for this symbol. |
|
|
Whether this represents an unnamed namespace. |
|
|
Whether this declaration is inline. |
|
The members of this namespace. |
|
|
Namespaces nominated by using-directives. |
overloads
Represents a set of function overloads.
| Field | Type | Description |
|---|---|---|
|
|
Declaration access. One of: |
|
|
A legible, filesystem- and URL-safe name for this symbol. |
|
The C++ attributes attached to this declaration. |
|
|
|
Determine why a symbol is extracted. One of: |
|
|
Whether this a copy of an inherited method, as produced when |
|
|
Kind of declaration. One of: |
|
The source location information. |
|
|
|
The unqualified name. |
|
|
The parent symbol, if any. |
|
Optional. The extracted documentation for this declaration. |
|
|
|
The unique identifier for this symbol. |
|
|
The class of the functions. One of: |
|
|
The members of the overload set. |
|
|
The overloaded operator, if any. One of: |
|
Info about the return type of these function overloads. |
record
Metadata for struct, class, or union.
| Field | Type | Description |
|---|---|---|
|
|
Declaration access. One of: |
|
|
A legible, filesystem- and URL-safe name for this symbol. |
|
The C++ attributes attached to this declaration. |
|
|
|
Determine why a symbol is extracted. One of: |
|
|
Whether this a copy of an inherited method, as produced when |
|
|
Kind of declaration. One of: |
|
The source location information. |
|
|
|
The unqualified name. |
|
|
The parent symbol, if any. |
|
Optional. The extracted documentation for this declaration. |
|
|
|
The unique identifier for this symbol. |
|
List of immediate bases. |
|
|
|
Deduction guides associated with this class template. |
|
|
List of derived classes |
|
List of friends. |
|
|
Lists of members. |
|
|
|
Whether the class is marked |
|
|
Whether the destructor is marked |
|
|
Whether this record is listed on its primary’s page. |
|
|
Whether the record originated from a typedef-style declaration. |
|
|
Kind of record this is (class, struct, or union). One of: |
|
|
Specializations whose primary is this record. |
|
Optional. When present, this record is a template or specialization. |
typedef
Info for typedef and using declarations.
| Field | Type | Description |
|---|---|---|
|
|
Declaration access. One of: |
|
|
A legible, filesystem- and URL-safe name for this symbol. |
|
The C++ attributes attached to this declaration. |
|
|
|
Determine why a symbol is extracted. One of: |
|
|
Whether this a copy of an inherited method, as produced when |
|
|
Kind of declaration. One of: |
|
The source location information. |
|
|
|
The unqualified name. |
|
|
The parent symbol, if any. |
|
Optional. The extracted documentation for this declaration. |
|
|
|
The unique identifier for this symbol. |
|
|
Indicates if this is a new C++ "using"-style typedef |
|
Optional. Template information when the alias is templated. |
|
|
The aliased type. |
using
Info for using declarations.
| Field | Type | Description |
|---|---|---|
|
|
Declaration access. One of: |
|
|
A legible, filesystem- and URL-safe name for this symbol. |
|
The C++ attributes attached to this declaration. |
|
|
|
Determine why a symbol is extracted. One of: |
|
|
Whether this a copy of an inherited method, as produced when |
|
|
Kind of declaration. One of: |
|
The source location information. |
|
|
|
The unqualified name. |
|
|
The parent symbol, if any. |
|
Optional. The extracted documentation for this declaration. |
|
|
|
The unique identifier for this symbol. |
|
|
The using declaration. One of: |
|
The symbol being introduced. |
|
|
|
The shadow declarations. |
variable
A variable.
| Field | Type | Description |
|---|---|---|
|
|
Declaration access. One of: |
|
|
A legible, filesystem- and URL-safe name for this symbol. |
|
The C++ attributes attached to this declaration. |
|
|
|
Determine why a symbol is extracted. One of: |
|
|
Whether this a copy of an inherited method, as produced when |
|
|
Kind of declaration. One of: |
|
The source location information. |
|
|
|
The unqualified name. |
|
|
The parent symbol, if any. |
|
Optional. The extracted documentation for this declaration. |
|
|
|
The unique identifier for this symbol. |
|
The width of the bitfield |
|
|
|
The default member initializer, if any. |
|
|
Whether the field is a bitfield |
|
|
Whether the variable is |
|
|
Whether the variable is |
|
|
Whether the variable is declared |
|
|
Whether the field is declared mutable |
|
|
True if this variable is a data member of a record. |
|
|
Whether the variable is |
|
|
Whether the field is a variant member |
|
|
Storage class specifier applied to the variable. One of: |
|
Optional. The template information, if any. |
|
|
The type of the variable |
Types
A possibly qualified type.
array
C++ array type (bounded or unbounded).
| Field | Type | Description |
|---|---|---|
|
|
The constraints associated with the type |
|
|
The const qualifier |
|
|
Whether this is the pattern of a pack expansion. |
|
|
The volatile qualifier |
|
|
The kind of Type this is |
|
Optional bound; empty means unknown or dependent. |
|
|
Element type held by the array. |
auto
Represents auto or decltype(auto) placeholder type.
| Field | Type | Description |
|---|---|---|
|
|
The constraints associated with the type |
|
|
The const qualifier |
|
|
Whether this is the pattern of a pack expansion. |
|
|
The volatile qualifier |
|
|
The kind of Type this is |
|
Optional. Constraint on the auto type, if any. |
|
|
|
Which placeholder keyword appears ( |
decltype
decltype(expr) type wrapper.
| Field | Type | Description |
|---|---|---|
|
|
The constraints associated with the type |
|
|
The const qualifier |
|
|
Whether this is the pattern of a pack expansion. |
|
|
The volatile qualifier |
|
|
The kind of Type this is |
|
|
Operand expression for decltype. |
function
Function type with parameters, qualifiers, and noexcept info.
| Field | Type | Description |
|---|---|---|
|
|
The constraints associated with the type |
|
|
The const qualifier |
|
|
Whether this is the pattern of a pack expansion. |
|
|
The volatile qualifier |
|
|
The kind of Type this is |
|
Exception specification information. |
|
|
|
True when this function type is variadic. |
|
Parameter types in declaration order. |
|
|
|
Reference qualifier (if present). One of: |
|
Return type, defaults to |
lValueReference
An lvalue reference type.
| Field | Type | Description |
|---|---|---|
|
|
The constraints associated with the type |
|
|
The const qualifier |
|
|
Whether this is the pattern of a pack expansion. |
|
|
The volatile qualifier |
|
|
The kind of Type this is |
|
The referenced type. |
memberPointer
Pointer-to-member type (object or function).
| Field | Type | Description |
|---|---|---|
|
|
The constraints associated with the type |
|
|
The const qualifier |
|
|
Whether this is the pattern of a pack expansion. |
|
|
The volatile qualifier |
|
|
The kind of Type this is |
|
Containing class type. |
|
|
Pointee type being referenced. |
named
A type identified by name (possibly fundamental).
| Field | Type | Description |
|---|---|---|
|
|
The constraints associated with the type |
|
|
The const qualifier |
|
|
Whether this is the pattern of a pack expansion. |
|
|
The volatile qualifier |
|
|
The kind of Type this is |
|
|
Optional. Fundamental kind if this named type is a built-in. One of: |
|
The name of the type (identifier or specialization). |
pointer
Pointer type wrapper.
| Field | Type | Description |
|---|---|---|
|
|
The constraints associated with the type |
|
|
The const qualifier |
|
|
Whether this is the pattern of a pack expansion. |
|
|
The volatile qualifier |
|
|
The kind of Type this is |
|
The pointee type, defaults to |
rValueReference
An rvalue reference type.
| Field | Type | Description |
|---|---|---|
|
|
The constraints associated with the type |
|
|
The const qualifier |
|
|
Whether this is the pattern of a pack expansion. |
|
|
The volatile qualifier |
|
|
The kind of Type this is |
|
The referenced type, defaults to |
Names
Represents a name for a named Type
identifier
Represents an identifier
| Field | Type | Description |
|---|---|---|
|
|
The unqualified name. |
|
|
The kind of name this is. |
|
Optional. The parent name info, if any. |
|
|
|
The SymbolID of the named symbol, if it exists. |
specialization
Represents a (possibly qualified) symbol name with template arguments.
| Field | Type | Description |
|---|---|---|
|
|
The unqualified name. |
|
|
The kind of name this is. |
|
Optional. The parent name info, if any. |
|
|
|
The SymbolID of the named symbol, if it exists. |
|
The template arguments. |
|
|
|
The SymbolID of the named symbol, if it exists. |
Attributes
A C++ attribute attached to a symbol.
assume
The [[assume(expression)]] attribute (C++23).
| Field | Type | Description |
|---|---|---|
|
|
The kind of attribute. |
|
|
The attribute name as it appears in the standard form. |
|
|
The attribute arguments as a balanced-token sequence. |
|
|
The assumed expression, as written. |
carriesDependency
| Field | Type | Description |
|---|---|---|
|
|
The kind of attribute. |
|
|
The attribute name as it appears in the standard form. |
|
|
The attribute arguments as a balanced-token sequence. |
deprecated
| Field | Type | Description |
|---|---|---|
|
|
The kind of attribute. |
|
|
The attribute name as it appears in the standard form. |
|
|
The attribute arguments as a balanced-token sequence. |
|
|
The deprecation message, if any. |
fallthrough
| Field | Type | Description |
|---|---|---|
|
|
The kind of attribute. |
|
|
The attribute name as it appears in the standard form. |
|
|
The attribute arguments as a balanced-token sequence. |
indeterminate
| Field | Type | Description |
|---|---|---|
|
|
The kind of attribute. |
|
|
The attribute name as it appears in the standard form. |
|
|
The attribute arguments as a balanced-token sequence. |
likely
| Field | Type | Description |
|---|---|---|
|
|
The kind of attribute. |
|
|
The attribute name as it appears in the standard form. |
|
|
The attribute arguments as a balanced-token sequence. |
maybeUnused
| Field | Type | Description |
|---|---|---|
|
|
The kind of attribute. |
|
|
The attribute name as it appears in the standard form. |
|
|
The attribute arguments as a balanced-token sequence. |
noUniqueAddress
| Field | Type | Description |
|---|---|---|
|
|
The kind of attribute. |
|
|
The attribute name as it appears in the standard form. |
|
|
The attribute arguments as a balanced-token sequence. |
nodiscard
| Field | Type | Description |
|---|---|---|
|
|
The kind of attribute. |
|
|
The attribute name as it appears in the standard form. |
|
|
The attribute arguments as a balanced-token sequence. |
|
|
The reason, if any. |
noreturn
| Field | Type | Description |
|---|---|---|
|
|
The kind of attribute. |
|
|
The attribute name as it appears in the standard form. |
|
|
The attribute arguments as a balanced-token sequence. |
Template Parameters
Base class for a template parameter declaration.
constant
A constant template parameter
| Field | Type | Description |
|---|---|---|
|
Optional. The default template argument, if any |
|
|
|
Whether this template parameter is a parameter pack |
|
|
The kind of template parameter this is |
|
|
The template parameters name, if any |
|
Type of the non-type template parameter |
template
Template template parameter.
| Field | Type | Description |
|---|---|---|
|
Optional. The default template argument, if any |
|
|
|
Whether this template parameter is a parameter pack |
|
|
The kind of template parameter this is |
|
|
The template parameters name, if any |
|
Template parameters for the template-template parameter |
type
Type template parameter.
| Field | Type | Description |
|---|---|---|
|
Optional. The default template argument, if any |
|
|
|
Whether this template parameter is a parameter pack |
|
|
The kind of template parameter this is |
|
|
The template parameters name, if any |
|
Optional. The type-constraint for the parameter, if any. |
|
|
|
Keyword (class/typename) the parameter uses One of: |
Template Arguments
Base class for any template argument.
constant
Non-type template argument.
| Field | Type | Description |
|---|---|---|
|
|
Whether this template argument is a parameter expansion. |
|
|
The kind of template argument this is. |
|
|
Template argument expression. |
template
Template template argument.
| Field | Type | Description |
|---|---|---|
|
|
Whether this template argument is a parameter expansion. |
|
|
The kind of template argument this is. |
|
|
Name of the referenced template. |
|
|
SymbolID of the referenced template. |
Documentation Blocks
A piece of block content
admonition
A block for side-notes like tips, warnings, notes
| Field | Type | Description |
|---|---|---|
|
|
Discriminator identifying which concrete block this instance holds. |
|
Child blocks contained within this composite block. |
|
|
Optional. Optional title for the admonition |
|
|
|
The kind of admonition One of: |
brief
The brief description
| Field | Type | Description |
|---|---|---|
|
|
Discriminator identifying which concrete block this instance holds. |
|
Child inline elements contained here. |
|
|
|
Names of declarations whose brief text was reused. |
code
Preformatted source code.
| Field | Type | Description |
|---|---|---|
|
|
Discriminator identifying which concrete block this instance holds. |
|
|
Fence info string, e.g. "cpp" |
|
|
Raw code text inside the fenced block. |
definitionList
A list of terms paired with definitions.
| Field | Type | Description |
|---|---|---|
|
|
Discriminator identifying which concrete block this instance holds. |
|
Sequence of definition list items. |
footnoteDefinition
Text defining the content of a footnote reference.
| Field | Type | Description |
|---|---|---|
|
|
Discriminator identifying which concrete block this instance holds. |
|
Child blocks contained within this composite block. |
|
|
|
Footnote label identifier. |
heading
A manually specified section heading.
| Field | Type | Description |
|---|---|---|
|
|
Discriminator identifying which concrete block this instance holds. |
|
Child inline elements contained here. |
|
|
|
Heading depth (1..6). |
list
A list of list items
| Field | Type | Description |
|---|---|---|
|
|
Discriminator identifying which concrete block this instance holds. |
|
Items contained in the list. |
|
|
|
Display style for the list. One of: |
math
A block of LaTeX math
| Field | Type | Description |
|---|---|---|
|
|
Discriminator identifying which concrete block this instance holds. |
|
|
Raw TeX math source |
paragraph
A sequence of text nodes.
| Field | Type | Description |
|---|---|---|
|
|
Discriminator identifying which concrete block this instance holds. |
|
Child inline elements contained here. |
param
Documentation for a function parameter
| Field | Type | Description |
|---|---|---|
|
|
Discriminator identifying which concrete block this instance holds. |
|
Child inline elements contained here. |
|
|
|
Direction (in/out/inout) of the parameter. One of: |
|
|
Name of the parameter being documented. |
postcondition
Text describing conditions guaranteed on successful exit.
| Field | Type | Description |
|---|---|---|
|
|
Discriminator identifying which concrete block this instance holds. |
|
Child inline elements contained here. |
precondition
Text describing required conditions before entry.
| Field | Type | Description |
|---|---|---|
|
|
Discriminator identifying which concrete block this instance holds. |
|
Child inline elements contained here. |
quote
A quoted block of text.
| Field | Type | Description |
|---|---|---|
|
|
Discriminator identifying which concrete block this instance holds. |
|
Child blocks contained within this composite block. |
returns
Documentation for a function return type
| Field | Type | Description |
|---|---|---|
|
|
Discriminator identifying which concrete block this instance holds. |
|
Child inline elements contained here. |
see
A
| Field | Type | Description |
|---|---|---|
|
|
Discriminator identifying which concrete block this instance holds. |
|
Child inline elements contained here. |
tParam
Documentation for a template parameter
| Field | Type | Description |
|---|---|---|
|
|
Discriminator identifying which concrete block this instance holds. |
|
Child inline elements contained here. |
|
|
|
Template parameter name. |
table
A table block
| Field | Type | Description |
|---|---|---|
|
|
Discriminator identifying which concrete block this instance holds. |
|
|
Column alignments for each table column. |
|
Rows that make up the table body (header first when present). |
thematicBreak
A horizontal thematic break separating sections.
| Field | Type | Description |
|---|---|---|
|
|
Discriminator identifying which concrete block this instance holds. |
Documentation Inlines
A Node containing a string of text.
code
Inline code (monospaced) used for short snippets within text.
| Field | Type | Description |
|---|---|---|
|
|
Discriminator identifying which inline variant is active. |
|
Child inline elements contained here. |
copyDetails
Documentation copied from another symbol.
| Field | Type | Description |
|---|---|---|
|
|
Discriminator identifying which inline variant is active. |
|
|
Symbol to copy details from. |
|
|
Element to copy the details from |
emph
Emphasized text (typically rendered in italics).
| Field | Type | Description |
|---|---|---|
|
|
Discriminator identifying which inline variant is active. |
|
Child inline elements contained here. |
footnoteReference
A reference to a symbol.
| Field | Type | Description |
|---|---|---|
|
|
Discriminator identifying which inline variant is active. |
|
|
Footnote label that the reference points to. |
highlight
Highlighted text span used to call out important words.
| Field | Type | Description |
|---|---|---|
|
|
Discriminator identifying which inline variant is active. |
|
Child inline elements contained here. |
image
An image.
| Field | Type | Description |
|---|---|---|
|
|
Discriminator identifying which inline variant is active. |
|
Child inline elements contained here. |
|
|
|
Alternate text when the image cannot be shown. |
|
|
Image source URL or path. |
lineBreak
A hard line break that renders as ""
| Field | Type | Description |
|---|---|---|
|
|
Discriminator identifying which inline variant is active. |
link
A hyperlink.
| Field | Type | Description |
|---|---|---|
|
|
Discriminator identifying which inline variant is active. |
|
Child inline elements contained here. |
|
|
|
Destination of the hyperlink. |
math
An inline LaTeX math expression
| Field | Type | Description |
|---|---|---|
|
|
Discriminator identifying which inline variant is active. |
|
|
Raw LaTeX/TeX math content. |
reference
A reference to a symbol.
| Field | Type | Description |
|---|---|---|
|
|
Discriminator identifying which inline variant is active. |
|
|
Symbol being referenced. |
|
|
Display text of the reference. |
softBreak
A line break that may render as a space
| Field | Type | Description |
|---|---|---|
|
|
Discriminator identifying which inline variant is active. |
strikethrough
Strikethrough span to show removed or deprecated text.
| Field | Type | Description |
|---|---|---|
|
|
Discriminator identifying which inline variant is active. |
|
Child inline elements contained here. |
strong
Strong emphasis span (typically rendered in bold).
| Field | Type | Description |
|---|---|---|
|
|
Discriminator identifying which inline variant is active. |
|
Child inline elements contained here. |
subscript
Subscript text fragment (lowered baseline).
| Field | Type | Description |
|---|---|---|
|
|
Discriminator identifying which inline variant is active. |
|
Child inline elements contained here. |
Other Structures
BaseInfo
Metadata for a direct base.
| Field | Type | Description |
|---|---|---|
|
|
The access specifier for the base. One of: |
|
|
Whether the base is virtual. |
|
The base type. |
ConstantExprInfo
Represents an expression with a (possibly known) value
| Field | Type | Description |
|---|---|---|
|
|
The expression, as written |
|
|
Optional. The expressions value, if it is known |
DefinitionListItem
An item in a definition list
| Field | Type | Description |
|---|---|---|
|
Child blocks contained within this composite block. |
|
|
The term being defined. |
DocComment
A processed documentation comment attached to a declaration.
| Field | Type | Description |
|---|---|---|
|
The list of text blocks. |
|
|
|
True if the |
|
|
True if the |
|
|
True if the |
|
Optional. A brief description of the symbol. |
|
|
The list of exceptions. |
|
|
Footnote definitions. |
|
|
The list of parameters. |
|
|
The list of postconditions. |
|
|
The list of preconditions. |
|
|
The list of "related" references. |
|
|
The list of "relates" references. |
|
|
The list of return type descriptions. |
|
|
The list of "see also" references. |
|
|
The list of template parameters. |
ExplicitInfo
Stores only the operand of the explicit-specifier or noexcept-specifier as a string. The complete expression is not preserved at this time. This is a temporary design and may be improved in the future.
| Field | Type | Description |
|---|---|---|
|
|
Whether an explicit-specifier was user-written. |
|
|
The evaluated exception specification. One of: |
|
|
The operand of the explicit-specifier, if any. |
FriendInfo
Info for friend declarations.
| Field | Type | Description |
|---|---|---|
|
Optional. Befriended type. |
|
|
|
Befriended symbol. |
InlineContainer
An internal node in the inline element tree.
| Field | Type | Description |
|---|---|---|
|
Child inline elements contained here. |
ListItem
An item in a ListBlock
| Field | Type | Description |
|---|---|---|
|
Child blocks contained within this composite block. |
Location
Source location of a symbol or entity.
| Field | Type | Description |
|---|---|---|
|
|
Column number within the line |
|
|
Whether this location has documentation. |
|
|
The full file path |
|
|
Line number within the file |
|
|
The file path relative to one of the search directories |
|
|
The file path relative to the source-root directory |
NamespaceTranche
Buckets the members that appear inside a namespace.
| Field | Type | Description |
|---|---|---|
|
|
Concepts. |
|
|
Enumerations. |
|
|
Functions and overload sets. |
|
|
Deduction guides. |
|
|
Preprocessor macros. |
|
|
Namespace aliases declared here. |
|
|
Nested namespaces. |
|
|
Record types (classes/structs). |
|
|
Typedef or using declarations. |
|
|
Using-declarations that introduce members. |
|
|
Variables. |
NoexceptInfo
Captures a noexcept specification and its evaluated form.
| Field | Type | Description |
|---|---|---|
|
|
Whether a noexcept-specifier was user-written. |
|
|
The evaluated exception specification. One of: |
|
|
The operand of the noexcept-specifier, if any. |
Param
Represents a single function parameter
| Field | Type | Description |
|---|---|---|
|
|
Optional. The default argument for this parameter, if any |
|
|
Optional. The parameter name. |
|
The type of this parameter |
RecordInterface
The aggregated interface for a given struct, class, or union.
| Field | Type | Description |
|---|---|---|
|
The aggregated private interfaces. |
|
|
The aggregated protected interfaces. |
|
|
The aggregated public interfaces. |
RecordTranche
A group of members that have the same access specifier.
| Field | Type | Description |
|---|---|---|
|
|
Member concepts. |
|
|
Enumerations. |
|
|
Member functions. |
|
|
Deduction guides in the class scope. |
|
|
Namespace aliases declared with this access. |
|
|
Nested records. |
|
|
Static member functions. |
|
|
Static data members. |
|
|
Typedefs and using aliases. |
|
|
Using-declarations that pull members into the class. |
|
|
Data members. |
SourceInfo
Stores source information for a declaration.
| Field | Type | Description |
|---|---|---|
|
Optional. Location where the entity was defined |
|
|
Locations where the entity was declared. |
TableRow
An item in a list
| Field | Type | Description |
|---|---|---|
|
Cells contained in the row. |
|
|
|
True if this row represents a header. |
TemplateInfo
Information about templates and specializations thereof.
| Field | Type | Description |
|---|---|---|
|
Bound arguments for specializations. |
|
|
Template parameter list. |
|
|
|
Primary template ID for partial and explicit specializations. |
|
|
The requires-clause for the template parameter list, if any. |