LLVM 22.0.0git
|
A range in a text document that links to an internal or external resource, like another text document or a web site. More...
#include "llvm/Support/LSP/Protocol.h"
Public Member Functions | |
DocumentLink ()=default | |
DocumentLink (Range range, URIForFile target) |
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) |
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 1040 of file Protocol.h.
|
default |
Referenced by operator!=, and operator==.
|
inline |
Definition at line 1042 of file Protocol.h.
References llvm::move(), range, and target.
|
friend |
Definition at line 1062 of file Protocol.h.
References DocumentLink().
|
friend |
Definition at line 1058 of file Protocol.h.
References DocumentLink(), range, and target.
Range llvm::lsp::DocumentLink::range |
The range this link applies to.
Definition at line 1046 of file Protocol.h.
Referenced by DocumentLink(), and operator==.
URIForFile llvm::lsp::DocumentLink::target |
The uri this link points to. If missing a resolve request is sent later.
Definition at line 1049 of file Protocol.h.
Referenced by DocumentLink(), and operator==.