clang-tools 19.0.0git
Public Attributes | Friends | List of all members
clang::clangd::DocumentLink Struct Reference

A range in a text document that links to an internal or external resource, like another text document or a web site. More...

#include <Protocol.h>

Public Attributes

Range range
 The range this link applies to.
 
URIForFile target
 The uri this link points to. If missing a resolve request is sent later.
 

Friends

bool operator== (const DocumentLink &LHS, const DocumentLink &RHS)
 
bool operator!= (const DocumentLink &LHS, const DocumentLink &RHS)
 

Detailed Description

A range in a text document that links to an internal or external resource, like another text document or a web site.

Definition at line 1915 of file Protocol.h.

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( const DocumentLink LHS,
const DocumentLink RHS 
)
friend

Definition at line 1933 of file Protocol.h.

◆ operator==

bool operator== ( const DocumentLink LHS,
const DocumentLink RHS 
)
friend

Definition at line 1929 of file Protocol.h.

Member Data Documentation

◆ range

Range clang::clangd::DocumentLink::range

The range this link applies to.

Definition at line 1917 of file Protocol.h.

Referenced by clang::clangd::toJSON().

◆ target

URIForFile clang::clangd::DocumentLink::target

The uri this link points to. If missing a resolve request is sent later.

Definition at line 1920 of file Protocol.h.

Referenced by clang::clangd::toJSON().


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