LLVM: llvm::lsp::Range Struct Reference (original) (raw)

#include "[llvm/Support/LSP/Protocol.h](Protocol%5F8h%5Fsource.html)"

Public Member Functions
Range ()=default
Range (Position start, Position end)
Range (Position loc)
Range (llvm::SourceMgr &mgr, SMRange range)
Construct a range from the given source range.
bool contains (Position pos) const
bool contains (Range range) const
SMRange getAsSMRange (llvm::SourceMgr &mgr) const
Convert this range into a source range in the main file of the given source manager.
Public Attributes
Position start
The range's start position.
Position end
The range's end position.

Definition at line 346 of file Protocol.h.

Range() [1/4]

llvm::lsp::Range::Range ( ) default

Range() [2/4]

Range() [3/4]

llvm::lsp::Range::Range ( Position loc) inline

Range() [4/4]

Construct a range from the given source range.

Definition at line 352 of file Protocol.h.

References Range().

contains() [1/2]

bool llvm::lsp::Range::contains ( Position pos) const inline

contains() [2/2]

bool llvm::lsp::Range::contains ( Range range) const inline

getAsSMRange()

operator!=

operator<

operator==

end

start


The documentation for this struct was generated from the following file: