MLIR
20.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 "mlir/Tools/lsp-server-support/Protocol.h"
Public Member Functions | |
DocumentLink ()=default | |
DocumentLink (Range range, URIForFile target) | |
Public Attributes | |
Range | range |
The range this link applies to. More... | |
URIForFile | target |
The uri this link points to. If missing a resolve request is sent later. More... | |
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 1030 of file Protocol.h.
|
default |
|
inline |
Definition at line 1032 of file Protocol.h.
|
friend |
Definition at line 1052 of file Protocol.h.
|
friend |
Definition at line 1048 of file Protocol.h.
Range mlir::lsp::DocumentLink::range |
The range this link applies to.
Definition at line 1036 of file Protocol.h.
Referenced by mlir::lsp::toJSON().
URIForFile mlir::lsp::DocumentLink::target |
The uri this link points to. If missing a resolve request is sent later.
Definition at line 1039 of file Protocol.h.
Referenced by mlir::lsp::toJSON().