MLIR
20.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 382 of file Protocol.h.
|
default |
|
inline |
Definition at line 384 of file Protocol.h.
|
inline |
Construct a Location from the given source range.
Definition at line 387 of file Protocol.h.
Definition at line 398 of file Protocol.h.
Definition at line 402 of file Protocol.h.
Definition at line 394 of file Protocol.h.
Range mlir::lsp::Location::range |
Definition at line 392 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 391 of file Protocol.h.
Referenced by mlir::lsp::fromJSON(), getLspDiagnoticFromDiag(), mlir::lsp::operator<<(), and mlir::lsp::toJSON().