MLIR
18.0.0git
|
#include "mlir/Tools/lsp-server-support/Protocol.h"
Public Member Functions | |
Location ()=default | |
Location (const URIForFile &uri, Range range) | |
Location (const URIForFile &uri, llvm::SourceMgr &mgr, SMRange range) | |
Construct a Location from the given source range. More... | |
Public Attributes | |
URIForFile | uri |
The text document's URI. More... | |
Range | range |
Friends | |
bool | operator== (const Location &lhs, const Location &rhs) |
bool | operator!= (const Location &lhs, const Location &rhs) |
bool | operator< (const Location &lhs, const Location &rhs) |
Definition at line 385 of file Protocol.h.
|
default |
|
inline |
Definition at line 387 of file Protocol.h.
|
inline |
Construct a Location from the given source range.
Definition at line 390 of file Protocol.h.
Definition at line 401 of file Protocol.h.
Definition at line 405 of file Protocol.h.
Definition at line 397 of file Protocol.h.
Range mlir::lsp::Location::range |
Definition at line 395 of file Protocol.h.
Referenced by mlir::lsp::fromJSON(), getLspDiagnoticFromDiag(), mlir::lsp::operator<<(), and mlir::lsp::toJSON().
URIForFile mlir::lsp::Location::uri |
The text document's URI.
Definition at line 394 of file Protocol.h.
Referenced by mlir::lsp::fromJSON(), getLspDiagnoticFromDiag(), mlir::lsp::operator<<(), and mlir::lsp::toJSON().