nixd
|
#include "Protocol.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/StringSet.h"
#include "llvm/Support/Error.h"
#include <optional>
#include <string>
Go to the source code of this file.
Classes | |
class | lspserver::Key< Type > |
Namespaces | |
namespace | lspserver |
Whether current platform treats paths case insensitively. | |
Functions | |
size_t | lspserver::lspLength (llvm::StringRef Code) |
llvm::Expected< size_t > | lspserver::positionToOffset (llvm::StringRef Code, Position P, bool AllowColumnsBeyondLineLength=true) |
Position | lspserver::offsetToPosition (llvm::StringRef Code, size_t Offset) |
void | lspserver::unionRanges (Range &A, Range B) |
llvm::Error | lspserver::applyChange (std::string &Contents, const TextDocumentContentChangeEvent &Change) |
Apply an incremental update to a text document. | |
llvm::StringSet | lspserver::collectWords (llvm::StringRef Content) |
Variables | |
Key< OffsetEncoding > | lspserver::kCurrentOffsetEncoding |