MLIR
21.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 388 of file Protocol.h.
|
default |
|
inline |
Definition at line 390 of file Protocol.h.
|
inline |
Construct a Location from the given source range.
Definition at line 393 of file Protocol.h.
Definition at line 404 of file Protocol.h.
Definition at line 408 of file Protocol.h.
Definition at line 400 of file Protocol.h.
Range mlir::lsp::Location::range |
Definition at line 398 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 397 of file Protocol.h.
Referenced by mlir::lsp::fromJSON(), getLspDiagnoticFromDiag(), mlir::lsp::operator<<(), and mlir::lsp::toJSON().