nixd
Loading...
Searching...
No Matches
Namespaces | Functions
SourceCode.cpp File Reference
#include "lspserver/SourceCode.h"
#include "lspserver/Logger.h"
#include <llvm/Support/Errc.h>

Go to the source code of this file.

Namespaces

namespace  lspserver
 Whether current platform treats paths case insensitively.
 

Functions

size_t lspserver::lspLength (llvm::StringRef Code)
 
llvm::Expected< size_tlspserver::positionToOffset (llvm::StringRef Code, Position P, bool AllowColumnsBeyondLineLength=true)
 
Position lspserver::offsetToPosition (llvm::StringRef Code, size_t Offset)
 
llvm::Error lspserver::applyChange (std::string &Contents, const TextDocumentContentChangeEvent &Change)
 Apply an incremental update to a text document.