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::InlineContent::LinkData Struct Reference

#include <contentblock.h>

Collaboration diagram for IR::InlineContent::LinkData:

Public Member Functions

 LinkData ()=default
 LinkData (LinkOrigin o, LinkState s, std::optional< SourceLocation > loc=std::nullopt)

Public Attributes

LinkOrigin origin { LinkOrigin::Auto }
LinkState state { LinkState::Unresolved }
std::optional< SourceLocationsourceLocation
 Set for author-written links; unset for synthesized links.

Detailed Description

Definition at line 64 of file contentblock.h.

Constructor & Destructor Documentation

◆ LinkData() [1/2]

IR::InlineContent::LinkData::LinkData ( )
default

◆ LinkData() [2/2]

IR::InlineContent::LinkData::LinkData ( LinkOrigin o,
LinkState s,
std::optional< SourceLocation > loc = std::nullopt )
inline

Definition at line 70 of file contentblock.h.

References origin.

Referenced by IR::makeResolvedLink(), and IR::makeTopicLink().

Here is the caller graph for this function:

Member Data Documentation

◆ origin

LinkOrigin IR::InlineContent::LinkData::origin { LinkOrigin::Auto }

Definition at line 65 of file contentblock.h.

Referenced by LinkData().

◆ sourceLocation

std::optional<SourceLocation> IR::InlineContent::LinkData::sourceLocation

Set for author-written links; unset for synthesized links.

Definition at line 67 of file contentblock.h.

◆ state

LinkState IR::InlineContent::LinkData::state { LinkState::Unresolved }

Definition at line 66 of file contentblock.h.


The documentation for this struct was generated from the following file: