nixd
|
Whether current platform treats paths case insensitively. More...
Namespaces | |
namespace | detail |
Classes | |
struct | ApplyWorkspaceEditParams |
struct | ApplyWorkspaceEditResponse |
struct | ASTNode |
struct | ASTParams |
struct | CallHierarchyIncomingCall |
Represents an incoming call, e.g. a caller of a method or constructor. More... | |
struct | CallHierarchyIncomingCallsParams |
The parameter of a callHierarchy/incomingCalls request. More... | |
struct | CallHierarchyItem |
struct | CallHierarchyOutgoingCall |
struct | CallHierarchyOutgoingCallsParams |
The parameter of a callHierarchy/outgoingCalls request. More... | |
struct | CallHierarchyPrepareParams |
The parameter of a textDocument/prepareCallHierarchy request. More... | |
struct | ChangeAnnotation |
struct | ClangdCompileCommand |
struct | ClientCapabilities |
struct | CodeAction |
struct | CodeActionContext |
struct | CodeActionParams |
struct | CodeDescription |
Structure to capture a description for an error code. More... | |
struct | Command |
struct | CompletionContext |
struct | CompletionItem |
struct | CompletionList |
Represents a collection of completion items to be presented in the editor. More... | |
struct | CompletionParams |
struct | ConfigurationItem |
struct | ConfigurationParams |
struct | ConfigurationSettings |
struct | Diagnostic |
struct | DiagnosticRelatedInformation |
struct | DidChangeConfigurationParams |
struct | DidChangeTextDocumentParams |
struct | DidChangeWatchedFilesParams |
struct | DidCloseTextDocumentParams |
struct | DidOpenTextDocumentParams |
struct | DidSaveTextDocumentParams |
struct | DocumentFormattingParams |
struct | DocumentHighlight |
struct | DocumentLink |
struct | DocumentLinkParams |
Parameters for the document link request. More... | |
struct | DocumentOnTypeFormattingParams |
struct | DocumentRangeFormattingParams |
struct | DocumentSymbol |
struct | DocumentSymbolParams |
class | DraftStore |
class | Event |
An Event<T> allows events of type T to be broadcast to listeners. More... | |
struct | ExecuteCommandParams |
struct | FileEvent |
struct | FileStatus |
struct | FoldingRange |
Stores information about a region of code that can be folded. More... | |
struct | FoldingRangeParams |
struct | HandlerRegistry |
struct | Hover |
struct | InactiveRegionsParams |
class | InboundPort |
struct | InitializationOptions |
struct | InitializeParams |
struct | InlayHint |
Inlay hint information. More... | |
struct | InlayHintsParams |
A parameter literal used in inlay hint requests. More... | |
class | Key |
struct | Location |
class | Logger |
Interface to allow custom logging in clangd. More... | |
class | LoggingSession |
Only one LoggingSession can be active at a time. More... | |
struct | LSPDiagnosticCompare |
class | LSPError |
class | LSPServer |
struct | MarkupContent |
class | MessageHandler |
struct | NoParams |
class | OutboundPort |
struct | ParameterInformation |
A single parameter of a particular signature. More... | |
struct | Position |
struct | ProgressParams |
struct | PublishDiagnosticsParams |
struct | Range |
struct | ReferenceContext |
struct | ReferenceLocation |
struct | ReferenceParams |
struct | RenameParams |
struct | ResolveTypeHierarchyItemParams |
Parameters for the typeHierarchy/resolve request. More... | |
struct | SelectionRange |
struct | SelectionRangeParams |
struct | SemanticToken |
struct | SemanticTokens |
A versioned set of tokens. More... | |
struct | SemanticTokensDeltaParams |
struct | SemanticTokensEdit |
Describes a replacement of a contiguous range of semanticTokens. More... | |
struct | SemanticTokensOrDelta |
struct | SemanticTokensParams |
Body of textDocument/semanticTokens/full request. More... | |
struct | ShowMessageParams |
struct | SignatureHelp |
Represents the signature of a callable. More... | |
struct | SignatureInformation |
Represents the signature of something callable. More... | |
class | StreamLogger |
struct | SymbolInformation |
struct | TextDocumentContentChangeEvent |
struct | TextDocumentEdit |
struct | TextDocumentIdentifier |
struct | TextDocumentItem |
struct | TextDocumentPositionParams |
struct | TextEdit |
struct | TweakArgs |
struct | TypeHierarchyItem |
struct | TypeHierarchyPrepareParams |
class | URI |
struct | URIForFile |
class | URIScheme |
struct | VersionedTextDocumentIdentifier |
struct | WorkDoneProgressBegin |
struct | WorkDoneProgressCreateParams |
struct | WorkDoneProgressEnd |
Signals the end of progress reporting. More... | |
struct | WorkDoneProgressReport |
Reporting progress is done using the following payload. More... | |
struct | WorkspaceEdit |
struct | WorkspaceSymbolParams |
The parameters of a Workspace Symbol Request. More... | |
Typedefs | |
template<typename T > | |
using | Callback = llvm::unique_function<void(llvm::Expected<T>)> |
using | Path = std::string |
using | PathRef = llvm::StringRef |
using | ChangeAnnotationIdentifier = std::string |
using | InitializedParams = NoParams |
using | CompletionItemKindBitset = std::bitset<CompletionItemKindMax + 1> |
using | SymbolKindBitset = std::bitset<SymbolKindMax + 1> |
typedef llvm::Registry< URIScheme > | URISchemeRegistry |
Functions | |
template<typename... Ts> | |
void | elog (const char *Fmt, Ts &&...Vals) |
template<typename... Ts> | |
void | log (const char *Fmt, Ts &&...Vals) |
template<typename... Ts> | |
void | vlog (const char *Fmt, Ts &&...Vals) |
template<typename... Ts> | |
llvm::Error | error (std::error_code EC, const char *Fmt, Ts &&...Vals) |
template<typename... Ts> | |
llvm::Error | error (const char *Fmt, Ts &&...Vals) |
llvm::Error | error (std::error_code EC, std::string Msg) |
llvm::Error | error (std::string Msg) |
template<typename T > | |
llvm::Expected< T > | parseParam (const llvm::json::Value &Raw, llvm::StringRef PayloadName, llvm::StringRef PayloadKind) |
template<> | |
llvm::Expected< llvm::json::Value > | parseParam (const llvm::json::Value &Raw, llvm::StringRef PayloadName, llvm::StringRef PayloadKind) |
std::string | maybeCaseFoldPath (PathRef Path) |
bool | pathEqual (PathRef, PathRef) |
bool | pathStartsWith (PathRef Ancestor, PathRef Path, llvm::sys::path::Style Style=llvm::sys::path::Style::native) |
PathRef | absoluteParent (PathRef Path) |
llvm::json::Value | toJSON (const URIForFile &U) |
Serialize/deserialize URIForFile to/from a string URI. | |
bool | fromJSON (const llvm::json::Value &, URIForFile &, llvm::json::Path) |
llvm::json::Value | toJSON (const TextDocumentIdentifier &) |
bool | fromJSON (const llvm::json::Value &, TextDocumentIdentifier &, llvm::json::Path) |
llvm::json::Value | toJSON (const VersionedTextDocumentIdentifier &) |
bool | fromJSON (const llvm::json::Value &, VersionedTextDocumentIdentifier &, llvm::json::Path) |
bool | fromJSON (const llvm::json::Value &, Position &, llvm::json::Path) |
llvm::json::Value | toJSON (const Position &) |
llvm::raw_ostream & | operator<< (llvm::raw_ostream &, const Position &) |
bool | fromJSON (const llvm::json::Value &, Range &, llvm::json::Path) |
llvm::json::Value | toJSON (const Range &) |
llvm::raw_ostream & | operator<< (llvm::raw_ostream &, const Range &) |
llvm::json::Value | toJSON (const Location &) |
bool | fromJSON (const llvm::json::Value &, Location &, llvm::json::Path) |
llvm::raw_ostream & | operator<< (llvm::raw_ostream &, const Location &) |
llvm::json::Value | toJSON (const ReferenceLocation &) |
llvm::raw_ostream & | operator<< (llvm::raw_ostream &, const ReferenceLocation &) |
bool | operator== (const TextEdit &L, const TextEdit &R) |
bool | fromJSON (const llvm::json::Value &, TextEdit &, llvm::json::Path) |
llvm::json::Value | toJSON (const TextEdit &) |
llvm::raw_ostream & | operator<< (llvm::raw_ostream &, const TextEdit &) |
bool | fromJSON (const llvm::json::Value &, ChangeAnnotation &, llvm::json::Path) |
llvm::json::Value | toJSON (const ChangeAnnotation &) |
bool | fromJSON (const llvm::json::Value &, TextDocumentEdit &, llvm::json::Path) |
llvm::json::Value | toJSON (const TextDocumentEdit &) |
bool | fromJSON (const llvm::json::Value &, TextDocumentItem &, llvm::json::Path) |
bool | fromJSON (const llvm::json::Value &E, TraceLevel &Out, llvm::json::Path) |
llvm::json::Value | toJSON (const NoParams &) |
bool | fromJSON (const llvm::json::Value &, NoParams &, llvm::json::Path) |
bool | fromJSON (const llvm::json::Value &, CompletionItemKind &, llvm::json::Path) |
bool | fromJSON (const llvm::json::Value &, CompletionItemKindBitset &, llvm::json::Path) |
CompletionItemKind | adjustKindToCapability (CompletionItemKind Kind, CompletionItemKindBitset &SupportedCompletionItemKinds) |
bool | fromJSON (const llvm::json::Value &, SymbolKind &, llvm::json::Path) |
bool | fromJSON (const llvm::json::Value &, SymbolKindBitset &, llvm::json::Path) |
SymbolKind | adjustKindToCapability (SymbolKind Kind, SymbolKindBitset &supportedSymbolKinds) |
llvm::json::Value | toJSON (const OffsetEncoding &) |
bool | fromJSON (const llvm::json::Value &, OffsetEncoding &, llvm::json::Path) |
llvm::raw_ostream & | operator<< (llvm::raw_ostream &, OffsetEncoding) |
bool | fromJSON (const llvm::json::Value &, MarkupKind &, llvm::json::Path) |
llvm::raw_ostream & | operator<< (llvm::raw_ostream &OS, MarkupKind) |
bool | fromJSON (const llvm::json::Value &, ClientCapabilities &, llvm::json::Path) |
bool | fromJSON (const llvm::json::Value &, ClangdCompileCommand &, llvm::json::Path) |
bool | fromJSON (const llvm::json::Value &, ConfigurationSettings &, llvm::json::Path) |
bool | fromJSON (const llvm::json::Value &, InitializationOptions &, llvm::json::Path) |
bool | fromJSON (const llvm::json::Value &, InitializeParams &, llvm::json::Path) |
llvm::json::Value | toJSON (const WorkDoneProgressCreateParams &P) |
template<typename T > | |
llvm::json::Value | toJSON (const ProgressParams< T > &P) |
llvm::json::Value | toJSON (const WorkDoneProgressBegin &) |
llvm::json::Value | toJSON (const WorkDoneProgressReport &) |
llvm::json::Value | toJSON (const WorkDoneProgressEnd &) |
llvm::json::Value | toJSON (const MessageType &) |
llvm::json::Value | toJSON (const ShowMessageParams &) |
bool | fromJSON (const llvm::json::Value &, DidOpenTextDocumentParams &, llvm::json::Path) |
bool | fromJSON (const llvm::json::Value &, DidCloseTextDocumentParams &, llvm::json::Path) |
bool | fromJSON (const llvm::json::Value &, DidSaveTextDocumentParams &, llvm::json::Path) |
bool | fromJSON (const llvm::json::Value &, TextDocumentContentChangeEvent &, llvm::json::Path) |
bool | fromJSON (const llvm::json::Value &, DidChangeTextDocumentParams &, llvm::json::Path) |
bool | fromJSON (const llvm::json::Value &E, FileChangeType &Out, llvm::json::Path) |
bool | fromJSON (const llvm::json::Value &, FileEvent &, llvm::json::Path) |
bool | fromJSON (const llvm::json::Value &, DidChangeWatchedFilesParams &, llvm::json::Path) |
bool | fromJSON (const llvm::json::Value &, DidChangeConfigurationParams &, llvm::json::Path) |
bool | fromJSON (const llvm::json::Value &, DocumentRangeFormattingParams &, llvm::json::Path) |
bool | fromJSON (const llvm::json::Value &, DocumentOnTypeFormattingParams &, llvm::json::Path) |
bool | fromJSON (const llvm::json::Value &, DocumentFormattingParams &, llvm::json::Path) |
bool | fromJSON (const llvm::json::Value &, DocumentSymbolParams &, llvm::json::Path) |
llvm::json::Value | toJSON (const DiagnosticRelatedInformation &) |
llvm::json::Value | toJSON (DiagnosticTag Tag) |
llvm::json::Value | toJSON (const CodeDescription &) |
llvm::json::Value | toJSON (const Diagnostic &) |
bool | fromJSON (const llvm::json::Value &, Diagnostic &, llvm::json::Path) |
llvm::raw_ostream & | operator<< (llvm::raw_ostream &, const Diagnostic &) |
llvm::json::Value | toJSON (const PublishDiagnosticsParams &) |
bool | fromJSON (const llvm::json::Value &, CodeActionContext &, llvm::json::Path) |
bool | fromJSON (const llvm::json::Value &, CodeActionParams &, llvm::json::Path) |
bool | fromJSON (const llvm::json::Value &, WorkspaceEdit &, llvm::json::Path) |
llvm::json::Value | toJSON (const WorkspaceEdit &WE) |
bool | fromJSON (const llvm::json::Value &, TweakArgs &, llvm::json::Path) |
llvm::json::Value | toJSON (const TweakArgs &A) |
bool | fromJSON (const llvm::json::Value &, ExecuteCommandParams &, llvm::json::Path) |
llvm::json::Value | toJSON (const Command &C) |
llvm::json::Value | toJSON (const CodeAction &) |
llvm::raw_ostream & | operator<< (llvm::raw_ostream &O, const DocumentSymbol &S) |
llvm::json::Value | toJSON (const DocumentSymbol &S) |
llvm::json::Value | toJSON (const SymbolInformation &) |
llvm::raw_ostream & | operator<< (llvm::raw_ostream &, const SymbolInformation &) |
bool | fromJSON (const llvm::json::Value &, WorkspaceSymbolParams &, llvm::json::Path) |
llvm::json::Value | toJSON (const ApplyWorkspaceEditParams &) |
bool | fromJSON (const llvm::json::Value &, ApplyWorkspaceEditResponse &, llvm::json::Path) |
bool | fromJSON (const llvm::json::Value &, TextDocumentPositionParams &, llvm::json::Path) |
bool | fromJSON (const llvm::json::Value &, CompletionContext &, llvm::json::Path) |
bool | fromJSON (const llvm::json::Value &, CompletionParams &, llvm::json::Path) |
llvm::json::Value | toJSON (const MarkupContent &MC) |
bool | fromJSON (const llvm::json::Value &, MarkupContent &, llvm::json::Path) |
llvm::json::Value | toJSON (const Hover &H) |
llvm::json::Value | toJSON (const CompletionItem &) |
bool | fromJSON (const llvm::json::Value &, CompletionItem &, llvm::json::Path) |
llvm::raw_ostream & | operator<< (llvm::raw_ostream &, const CompletionItem &) |
bool | operator< (const CompletionItem &, const CompletionItem &) |
llvm::json::Value | toJSON (const CompletionList &) |
llvm::json::Value | toJSON (const ParameterInformation &) |
llvm::json::Value | toJSON (const SignatureInformation &) |
llvm::raw_ostream & | operator<< (llvm::raw_ostream &, const SignatureInformation &) |
llvm::json::Value | toJSON (const SignatureHelp &) |
bool | fromJSON (const llvm::json::Value &, RenameParams &, llvm::json::Path) |
llvm::json::Value | toJSON (const DocumentHighlight &DH) |
llvm::raw_ostream & | operator<< (llvm::raw_ostream &, const DocumentHighlight &) |
bool | fromJSON (const llvm::json::Value &E, TypeHierarchyDirection &Out, llvm::json::Path) |
bool | fromJSON (const llvm::json::Value &, TypeHierarchyPrepareParams &, llvm::json::Path) |
llvm::json::Value | toJSON (const TypeHierarchyItem::ResolveParams &) |
bool | fromJSON (const TypeHierarchyItem::ResolveParams &) |
llvm::json::Value | toJSON (const TypeHierarchyItem &) |
llvm::raw_ostream & | operator<< (llvm::raw_ostream &, const TypeHierarchyItem &) |
bool | fromJSON (const llvm::json::Value &, TypeHierarchyItem &, llvm::json::Path) |
bool | fromJSON (const llvm::json::Value &, ResolveTypeHierarchyItemParams &, llvm::json::Path) |
llvm::json::Value | toJSON (SymbolTag) |
llvm::json::Value | toJSON (const CallHierarchyItem &) |
bool | fromJSON (const llvm::json::Value &, CallHierarchyItem &, llvm::json::Path) |
bool | fromJSON (const llvm::json::Value &, CallHierarchyIncomingCallsParams &, llvm::json::Path) |
llvm::json::Value | toJSON (const CallHierarchyIncomingCall &) |
bool | fromJSON (const llvm::json::Value &, CallHierarchyOutgoingCallsParams &, llvm::json::Path) |
llvm::json::Value | toJSON (const CallHierarchyOutgoingCall &) |
bool | fromJSON (const llvm::json::Value &, InlayHintsParams &, llvm::json::Path) |
llvm::json::Value | toJSON (const InlayHintKind &) |
llvm::json::Value | toJSON (const InlayHint &) |
bool | operator== (const InlayHint &, const InlayHint &) |
bool | operator< (const InlayHint &, const InlayHint &) |
llvm::raw_ostream & | operator<< (llvm::raw_ostream &, InlayHintKind) |
bool | fromJSON (const llvm::json::Value &, ReferenceParams &, llvm::json::Path) |
llvm::json::Value | toJSON (const FileStatus &) |
bool | operator== (const SemanticToken &, const SemanticToken &) |
llvm::json::Value | toJSON (const SemanticTokens &) |
bool | fromJSON (const llvm::json::Value &, SemanticTokensParams &, llvm::json::Path) |
bool | fromJSON (const llvm::json::Value &Params, SemanticTokensDeltaParams &R, llvm::json::Path) |
llvm::json::Value | toJSON (const SemanticTokensEdit &) |
llvm::json::Value | toJSON (const SemanticTokensOrDelta &) |
llvm::json::Value | toJSON (const InactiveRegionsParams &InactiveRegions) |
bool | fromJSON (const llvm::json::Value &, SelectionRangeParams &, llvm::json::Path) |
llvm::json::Value | toJSON (const SelectionRange &) |
bool | fromJSON (const llvm::json::Value &, DocumentLinkParams &, llvm::json::Path) |
llvm::json::Value | toJSON (const DocumentLink &DocumentLink) |
bool | fromJSON (const llvm::json::Value &, FoldingRangeParams &, llvm::json::Path) |
llvm::json::Value | toJSON (const FoldingRange &Range) |
bool | fromJSON (const llvm::json::Value &, ASTParams &, llvm::json::Path) |
llvm::json::Value | toJSON (const ASTNode &) |
llvm::raw_ostream & | operator<< (llvm::raw_ostream &, const ASTNode &) |
llvm::json::Value | toJSON (const ConfigurationItem &) |
llvm::json::Value | toJSON (const ConfigurationParams &) |
size_t | lspLength (llvm::StringRef Code) |
llvm::Expected< size_t > | positionToOffset (llvm::StringRef Code, Position P, bool AllowColumnsBeyondLineLength=true) |
Position | offsetToPosition (llvm::StringRef Code, size_t Offset) |
void | unionRanges (Range &A, Range B) |
llvm::Error | applyChange (std::string &Contents, const TextDocumentContentChangeEvent &Change) |
Apply an incremental update to a text document. | |
llvm::StringSet | collectWords (llvm::StringRef Content) |
llvm::Error | decodeError (const llvm::json::Object &O) |
Decode the given JSON object into an error. | |
bool | readLine (int fd, const std::atomic< bool > &Close, llvm::SmallString< 128 > &Line) |
llvm::raw_ostream & | operator<< (llvm::raw_ostream &OS, const URIForFile &U) |
bool | fromJSON (const llvm::json::Value &Params, TypeHierarchyItem::ResolveParams &RP, llvm::json::Path P) |
bool | fromJSON (const llvm::json::Value &Params, ReferenceContext &R, llvm::json::Path P) |
Variables | |
constexpr auto | CompletionItemKindMin |
constexpr auto | CompletionItemKindMax |
constexpr auto | SymbolKindMin = static_cast<size_t>(SymbolKind::File) |
constexpr auto | SymbolKindMax = static_cast<size_t>(SymbolKind::TypeParameter) |
Key< OffsetEncoding > | kCurrentOffsetEncoding |
constexpr unsigned | SemanticTokenEncodingSize = 5 |
Whether current platform treats paths case insensitively.
using lspserver::Callback = llvm::unique_function<void(llvm::Expected<T>)> |
A Callback<T> is a void function that accepts Expected<T>. This is accepted by ClangdServer functions that logically return T.
Definition at line 14 of file Function.h.
using lspserver::ChangeAnnotationIdentifier = std::string |
Definition at line 223 of file lspserver/include/lspserver/Protocol.h.
using lspserver::CompletionItemKindBitset = std::bitset<CompletionItemKindMax + 1> |
Definition at line 354 of file lspserver/include/lspserver/Protocol.h.
using lspserver::InitializedParams = NoParams |
Definition at line 303 of file lspserver/include/lspserver/Protocol.h.
using lspserver::Path = std::string |
using lspserver::PathRef = llvm::StringRef |
using lspserver::SymbolKindBitset = std::bitset<SymbolKindMax + 1> |
Definition at line 393 of file lspserver/include/lspserver/Protocol.h.
typedef llvm::Registry<URIScheme> lspserver::URISchemeRegistry |
|
strong |
The kind of a completion entry.
Definition at line 320 of file lspserver/include/lspserver/Protocol.h.
|
strong |
Definition at line 1171 of file lspserver/include/lspserver/Protocol.h.
Definition at line 870 of file lspserver/include/lspserver/Protocol.h.
|
strong |
Enumerator | |
---|---|
Text | |
Read | |
Write |
Definition at line 1381 of file lspserver/include/lspserver/Protocol.h.
|
strong |
Enumerator | |
---|---|
ParseError | |
InvalidRequest | |
MethodNotFound | |
InvalidParams | |
InternalError | |
ServerNotInitialized | |
UnknownErrorCode | |
RequestCancelled | |
ContentModified |
Definition at line 22 of file lspserver/include/lspserver/Protocol.h.
|
strong |
Enumerator | |
---|---|
Created | The file got created. |
Changed | The file got changed. |
Deleted | The file got deleted. |
Definition at line 782 of file lspserver/include/lspserver/Protocol.h.
|
strong |
Inlay hint kinds.
Definition at line 1584 of file lspserver/include/lspserver/Protocol.h.
|
strong |
Defines whether the insert text in a completion item should be interpreted as plain text or a snippet.
Enumerator | |
---|---|
Missing | |
PlainText | The primary text to be inserted is treated as a plain string. |
Snippet | The primary text to be inserted is treated as a snippet. A snippet can define tab stops and placeholders with See also: https://github.com/Microsoft/vscode/blob/main/src/vs/editor/contrib/snippet/snippet.md |
Definition at line 1219 of file lspserver/include/lspserver/Protocol.h.
|
strong |
Enumerator | |
---|---|
Standard | |
Delimited |
Definition at line 13 of file Connection.h.
|
strong |
Enumerator | |
---|---|
PlainText | |
Markdown |
Definition at line 415 of file lspserver/include/lspserver/Protocol.h.
|
strong |
Enumerator | |
---|---|
Error | An error message. |
Warning | A warning message. |
Info | An information message. |
Log | A log message. |
Definition at line 702 of file lspserver/include/lspserver/Protocol.h.
|
strong |
Enumerator | |
---|---|
UnsupportedEncoding | |
UTF16 | |
UTF8 | |
UTF32 |
Definition at line 399 of file lspserver/include/lspserver/Protocol.h.
|
strong |
A symbol kind.
Definition at line 362 of file lspserver/include/lspserver/Protocol.h.
|
strong |
Enumerator | |
---|---|
Deprecated |
Definition at line 1493 of file lspserver/include/lspserver/Protocol.h.
|
strong |
Defines how the host (editor) should sync document changes to the language server.
Definition at line 307 of file lspserver/include/lspserver/Protocol.h.
|
strong |
Enumerator | |
---|---|
Off | |
Messages | |
Verbose |
Definition at line 291 of file lspserver/include/lspserver/Protocol.h.
|
strong |
Enumerator | |
---|---|
Children | |
Parents | |
Both |
Definition at line 1409 of file lspserver/include/lspserver/Protocol.h.
Variant of parent_path that operates only on absolute paths. Unlike parent_path doesn't consider C: a parent of C:.
CompletionItemKind lspserver::adjustKindToCapability | ( | CompletionItemKind | Kind, |
CompletionItemKindBitset & | SupportedCompletionItemKinds ) |
Definition at line 956 of file lspserver/src/Protocol.cpp.
References Class, CompletionItemKindMin, Enum, EnumMember, File, Folder, Struct, and Text.
SymbolKind lspserver::adjustKindToCapability | ( | SymbolKind | Kind, |
SymbolKindBitset & | supportedSymbolKinds ) |
Definition at line 283 of file lspserver/src/Protocol.cpp.
References Class, Enum, EnumMember, String, Struct, and SymbolKindMin.
llvm::Error lspserver::applyChange | ( | std::string & | Contents, |
const TextDocumentContentChangeEvent & | Change ) |
Apply an incremental update to a text document.
Definition at line 191 of file SourceCode.cpp.
References error(), lspLength(), positionToOffset(), lspserver::TextDocumentContentChangeEvent::range, lspserver::TextDocumentContentChangeEvent::rangeLength, and lspserver::TextDocumentContentChangeEvent::text.
llvm::StringSet lspserver::collectWords | ( | llvm::StringRef | Content | ) |
Collects words from the source code. Unlike collectIdentifiers:
llvm::Error lspserver::decodeError | ( | const llvm::json::Object & | O | ) |
Decode the given JSON object into an error.
Definition at line 49 of file Connection.cpp.
Referenced by lspserver::InboundPort::dispatch().
void lspserver::elog | ( | const char * | Fmt, |
Ts &&... | Vals ) |
Definition at line 52 of file Logger.h.
References lspserver::Logger::Error, and lspserver::detail::log().
Referenced by lspserver::URIForFile::canonicalize(), lspserver::DraftStore::decodeVersion(), lspserver::InboundPort::dispatch(), lspserver::InboundPort::loop(), parseParam(), and lspserver::InboundPort::readStandardMessage().
llvm::Error lspserver::error | ( | const char * | Fmt, |
Ts &&... | Vals ) |
Definition at line 76 of file Logger.h.
References lspserver::detail::error(), and lspserver::detail::wrap().
llvm::Error lspserver::error | ( | std::error_code | EC, |
const char * | Fmt, | ||
Ts &&... | Vals ) |
Definition at line 70 of file Logger.h.
References lspserver::detail::error(), and lspserver::detail::wrap().
Referenced by applyChange(), lspserver::URI::create(), nixd::AttrSetProvider::onAttrPathComplete(), nixd::AttrSetProvider::onAttrPathInfo(), nixd::AttrSetProvider::onEvalExpr(), nixd::AttrSetProvider::onOptionComplete(), nixd::AttrSetProvider::onOptionInfo(), lspserver::URI::parse(), and positionToOffset().
|
inline |
Definition at line 82 of file Logger.h.
References lspserver::detail::error().
|
inline |
Definition at line 86 of file Logger.h.
References lspserver::detail::error().
bool lspserver::fromJSON | ( | const llvm::json::Value & | Response, |
ApplyWorkspaceEditResponse & | R, | ||
llvm::json::Path | P ) |
Definition at line 841 of file lspserver/src/Protocol.cpp.
References lspserver::ApplyWorkspaceEditResponse::applied, and lspserver::ApplyWorkspaceEditResponse::failureReason.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
ASTParams & | R, | ||
llvm::json::Path | P ) |
Definition at line 1501 of file lspserver/src/Protocol.cpp.
References lspserver::ASTParams::range, and lspserver::ASTParams::textDocument.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
CallHierarchyIncomingCallsParams & | C, | ||
llvm::json::Path | P ) |
Definition at line 1347 of file lspserver/src/Protocol.cpp.
References lspserver::CallHierarchyIncomingCallsParams::item.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
CallHierarchyItem & | I, | ||
llvm::json::Path | P ) |
Definition at line 1334 of file lspserver/src/Protocol.cpp.
References lspserver::CallHierarchyItem::data, lspserver::CallHierarchyItem::kind, lspserver::CallHierarchyItem::name, lspserver::CallHierarchyItem::range, lspserver::CallHierarchyItem::selectionRange, and lspserver::CallHierarchyItem::uri.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
CallHierarchyOutgoingCallsParams & | C, | ||
llvm::json::Path | P ) |
Definition at line 1357 of file lspserver/src/Protocol.cpp.
References lspserver::CallHierarchyOutgoingCallsParams::item.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
ChangeAnnotation & | R, | ||
llvm::json::Path | P ) |
Definition at line 208 of file lspserver/src/Protocol.cpp.
References lspserver::ChangeAnnotation::description, lspserver::ChangeAnnotation::label, and lspserver::ChangeAnnotation::needsConfirmation.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
ClangdCompileCommand & | CDbUpdate, | ||
llvm::json::Path | P ) |
Definition at line 1201 of file lspserver/src/Protocol.cpp.
References lspserver::ClangdCompileCommand::compilationCommand, and lspserver::ClangdCompileCommand::workingDirectory.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
ClientCapabilities & | R, | ||
llvm::json::Path | P ) |
Definition at line 301 of file lspserver/src/Protocol.cpp.
References lspserver::ClientCapabilities::CancelsStaleRequests, lspserver::ClientCapabilities::ChangeAnnotation, lspserver::ClientCapabilities::CodeActionStructure, lspserver::ClientCapabilities::CompletionDocumentationFormat, lspserver::ClientCapabilities::CompletionFixes, lspserver::ClientCapabilities::CompletionItemKinds, lspserver::ClientCapabilities::CompletionSnippets, lspserver::ClientCapabilities::DiagnosticCategory, lspserver::ClientCapabilities::DiagnosticFixes, lspserver::ClientCapabilities::DiagnosticRelatedInformation, lspserver::ClientCapabilities::DocumentChanges, fromJSON(), lspserver::ClientCapabilities::HasSignatureHelp, lspserver::ClientCapabilities::HierarchicalDocumentSymbol, lspserver::ClientCapabilities::HoverContentFormat, lspserver::ClientCapabilities::ImplicitProgressCreation, lspserver::ClientCapabilities::InactiveRegions, Info, lspserver::ClientCapabilities::LineFoldingOnly, lspserver::ClientCapabilities::offsetEncoding, lspserver::ClientCapabilities::OffsetsInSignatureHelp, Parameter, lspserver::ClientCapabilities::ReferenceContainer, lspserver::ClientCapabilities::RenamePrepareSupport, lspserver::ClientCapabilities::SemanticTokenRefreshSupport, lspserver::ClientCapabilities::SemanticTokens, lspserver::ClientCapabilities::SignatureHelpDocumentationFormat, lspserver::ClientCapabilities::TheiaSemanticHighlighting, lspserver::ClientCapabilities::WorkDoneProgress, lspserver::ClientCapabilities::WorkspaceConfiguration, and lspserver::ClientCapabilities::WorkspaceSymbolKinds.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
CodeActionContext & | R, | ||
llvm::json::Path | P ) |
Definition at line 665 of file lspserver/src/Protocol.cpp.
References lspserver::CodeActionContext::diagnostics, and lspserver::CodeActionContext::only.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
CodeActionParams & | R, | ||
llvm::json::Path | P ) |
Definition at line 696 of file lspserver/src/Protocol.cpp.
References lspserver::CodeActionParams::context, lspserver::CodeActionParams::range, and lspserver::CodeActionParams::textDocument.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
CompletionContext & | R, | ||
llvm::json::Path | P ) |
Definition at line 855 of file lspserver/src/Protocol.cpp.
References lspserver::CompletionContext::triggerCharacter, and lspserver::CompletionContext::triggerKind.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
CompletionItem & | R, | ||
llvm::json::Path | P ) |
Definition at line 1018 of file lspserver/src/Protocol.cpp.
References lspserver::CompletionItem::additionalTextEdits, lspserver::CompletionItem::data, lspserver::CompletionItem::detail, lspserver::CompletionItem::documentation, lspserver::CompletionItem::filterText, lspserver::CompletionItem::insertText, lspserver::CompletionItem::insertTextFormat, lspserver::CompletionItem::kind, lspserver::CompletionItem::label, lspserver::CompletionItem::sortText, and lspserver::CompletionItem::textEdit.
bool lspserver::fromJSON | ( | const llvm::json::Value & | E, |
CompletionItemKind & | Out, | ||
llvm::json::Path | P ) |
Definition at line 943 of file lspserver/src/Protocol.cpp.
References Text, and TypeParameter.
bool lspserver::fromJSON | ( | const llvm::json::Value & | E, |
CompletionItemKindBitset & | Out, | ||
llvm::json::Path | P ) |
Definition at line 977 of file lspserver/src/Protocol.cpp.
References fromJSON().
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
CompletionParams & | R, | ||
llvm::json::Path | P ) |
Definition at line 866 of file lspserver/src/Protocol.cpp.
References lspserver::CompletionParams::context, fromJSON(), and lspserver::CompletionParams::limit.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
ConfigurationSettings & | S, | ||
llvm::json::Path | P ) |
Definition at line 1208 of file lspserver/src/Protocol.cpp.
References lspserver::ConfigurationSettings::compilationDatabaseChanges.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
Diagnostic & | R, | ||
llvm::json::Path | P ) |
Definition at line 641 of file lspserver/src/Protocol.cpp.
References lspserver::Diagnostic::category, lspserver::Diagnostic::code, lspserver::Diagnostic::data, lspserver::Diagnostic::message, lspserver::Diagnostic::range, lspserver::Diagnostic::severity, and lspserver::Diagnostic::source.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
DidChangeConfigurationParams & | CCP, | ||
llvm::json::Path | P ) |
Definition at line 1195 of file lspserver/src/Protocol.cpp.
References lspserver::DidChangeConfigurationParams::settings.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
DidChangeTextDocumentParams & | R, | ||
llvm::json::Path | P ) |
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
DidChangeWatchedFilesParams & | R, | ||
llvm::json::Path | P ) |
Definition at line 564 of file lspserver/src/Protocol.cpp.
References lspserver::DidChangeWatchedFilesParams::changes.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
DidCloseTextDocumentParams & | R, | ||
llvm::json::Path | P ) |
Definition at line 525 of file lspserver/src/Protocol.cpp.
References lspserver::DidCloseTextDocumentParams::textDocument.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
DidOpenTextDocumentParams & | R, | ||
llvm::json::Path | P ) |
Definition at line 519 of file lspserver/src/Protocol.cpp.
References lspserver::DidOpenTextDocumentParams::textDocument.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
DidSaveTextDocumentParams & | R, | ||
llvm::json::Path | P ) |
Definition at line 531 of file lspserver/src/Protocol.cpp.
References lspserver::DidSaveTextDocumentParams::textDocument.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
DocumentFormattingParams & | R, | ||
llvm::json::Path | P ) |
Definition at line 590 of file lspserver/src/Protocol.cpp.
References lspserver::DocumentFormattingParams::textDocument.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
DocumentLinkParams & | R, | ||
llvm::json::Path | P ) |
Definition at line 1464 of file lspserver/src/Protocol.cpp.
References lspserver::DocumentLinkParams::textDocument.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
DocumentOnTypeFormattingParams & | R, | ||
llvm::json::Path | P ) |
Definition at line 583 of file lspserver/src/Protocol.cpp.
References lspserver::DocumentOnTypeFormattingParams::ch, lspserver::DocumentOnTypeFormattingParams::position, and lspserver::DocumentOnTypeFormattingParams::textDocument.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
DocumentRangeFormattingParams & | R, | ||
llvm::json::Path | P ) |
Definition at line 577 of file lspserver/src/Protocol.cpp.
References lspserver::DocumentRangeFormattingParams::range, and lspserver::DocumentRangeFormattingParams::textDocument.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
DocumentSymbolParams & | R, | ||
llvm::json::Path | P ) |
Definition at line 596 of file lspserver/src/Protocol.cpp.
References lspserver::DocumentSymbolParams::textDocument.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
ExecuteCommandParams & | R, | ||
llvm::json::Path | P ) |
Definition at line 711 of file lspserver/src/Protocol.cpp.
References lspserver::ExecuteCommandParams::argument, and lspserver::ExecuteCommandParams::command.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
FileEvent & | R, | ||
llvm::json::Path | P ) |
Definition at line 558 of file lspserver/src/Protocol.cpp.
References lspserver::FileEvent::type, and lspserver::FileEvent::uri.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
FoldingRangeParams & | R, | ||
llvm::json::Path | P ) |
Definition at line 1477 of file lspserver/src/Protocol.cpp.
References lspserver::FoldingRangeParams::textDocument.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
InitializationOptions & | Opts, | ||
llvm::json::Path | P ) |
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
InitializeParams & | R, | ||
llvm::json::Path | P ) |
Definition at line 455 of file lspserver/src/Protocol.cpp.
References lspserver::InitializeParams::capabilities, lspserver::InitializeParams::initializationOptions, lspserver::InitializeParams::processId, lspserver::InitializeParams::rawCapabilities, lspserver::InitializeParams::rootPath, lspserver::InitializeParams::rootUri, and lspserver::InitializeParams::trace.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
InlayHintsParams & | R, | ||
llvm::json::Path | P ) |
Definition at line 1367 of file lspserver/src/Protocol.cpp.
References lspserver::InlayHintsParams::range, and lspserver::InlayHintsParams::textDocument.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
Location & | R, | ||
llvm::json::Path | P ) |
Definition at line 158 of file lspserver/src/Protocol.cpp.
References lspserver::Location::range, and lspserver::Location::uri.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
MarkupContent & | R, | ||
llvm::json::Path | P ) |
Definition at line 925 of file lspserver/src/Protocol.cpp.
References lspserver::MarkupContent::kind, and lspserver::MarkupContent::value.
bool lspserver::fromJSON | ( | const llvm::json::Value & | V, |
MarkupKind & | K, | ||
llvm::json::Path | P ) |
Definition at line 894 of file lspserver/src/Protocol.cpp.
|
inline |
Definition at line 300 of file lspserver/include/lspserver/Protocol.h.
bool lspserver::fromJSON | ( | const llvm::json::Value & | V, |
OffsetEncoding & | OE, | ||
llvm::json::Path | P ) |
Definition at line 1433 of file lspserver/src/Protocol.cpp.
References UnsupportedEncoding, UTF16, UTF32, and UTF8.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
Position & | R, | ||
llvm::json::Path | P ) |
Definition at line 118 of file lspserver/src/Protocol.cpp.
References lspserver::Position::character, and lspserver::Position::line.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
Range & | R, | ||
llvm::json::Path | P ) |
Definition at line 135 of file lspserver/src/Protocol.cpp.
References lspserver::Range::end, and lspserver::Range::start.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
ReferenceParams & | R, | ||
llvm::json::Path | P ) |
Definition at line 1308 of file lspserver/src/Protocol.cpp.
References lspserver::ReferenceParams::context, and fromJSON().
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
RenameParams & | R, | ||
llvm::json::Path | P ) |
Definition at line 1102 of file lspserver/src/Protocol.cpp.
References lspserver::RenameParams::newName, lspserver::RenameParams::position, and lspserver::RenameParams::textDocument.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
ResolveTypeHierarchyItemParams & | R, | ||
llvm::json::Path | P ) |
Definition at line 1294 of file lspserver/src/Protocol.cpp.
References lspserver::ResolveTypeHierarchyItemParams::direction, lspserver::ResolveTypeHierarchyItemParams::item, and lspserver::ResolveTypeHierarchyItemParams::resolve.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
SelectionRangeParams & | S, | ||
llvm::json::Path | P ) |
Definition at line 1449 of file lspserver/src/Protocol.cpp.
References lspserver::SelectionRangeParams::positions, and lspserver::SelectionRangeParams::textDocument.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
SemanticTokensParams & | R, | ||
llvm::json::Path | P ) |
Definition at line 1166 of file lspserver/src/Protocol.cpp.
References lspserver::SemanticTokensParams::textDocument.
bool lspserver::fromJSON | ( | const llvm::json::Value & | E, |
SymbolKind & | Out, | ||
llvm::json::Path | P ) |
Definition at line 259 of file lspserver/src/Protocol.cpp.
References File, and TypeParameter.
bool lspserver::fromJSON | ( | const llvm::json::Value & | E, |
SymbolKindBitset & | Out, | ||
llvm::json::Path | P ) |
Definition at line 270 of file lspserver/src/Protocol.cpp.
References fromJSON().
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
TextDocumentContentChangeEvent & | R, | ||
llvm::json::Path | P ) |
Definition at line 570 of file lspserver/src/Protocol.cpp.
References lspserver::TextDocumentContentChangeEvent::range, lspserver::TextDocumentContentChangeEvent::rangeLength, and lspserver::TextDocumentContentChangeEvent::text.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
TextDocumentEdit & | R, | ||
llvm::json::Path | P ) |
Definition at line 224 of file lspserver/src/Protocol.cpp.
References lspserver::TextDocumentEdit::edits, and lspserver::TextDocumentEdit::textDocument.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
TextDocumentIdentifier & | R, | ||
llvm::json::Path | P ) |
Definition at line 99 of file lspserver/src/Protocol.cpp.
References lspserver::TextDocumentIdentifier::uri.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
TextDocumentItem & | R, | ||
llvm::json::Path | P ) |
Definition at line 184 of file lspserver/src/Protocol.cpp.
References lspserver::TextDocumentItem::languageId, lspserver::TextDocumentItem::text, lspserver::TextDocumentItem::uri, and lspserver::TextDocumentItem::version.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
TextDocumentPositionParams & | R, | ||
llvm::json::Path | P ) |
Definition at line 848 of file lspserver/src/Protocol.cpp.
References lspserver::TextDocumentPositionParams::position, and lspserver::TextDocumentPositionParams::textDocument.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
TextEdit & | R, | ||
llvm::json::Path | P ) |
Definition at line 191 of file lspserver/src/Protocol.cpp.
References lspserver::TextEdit::annotationId, lspserver::TextEdit::newText, and lspserver::TextEdit::range.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
TweakArgs & | A, | ||
llvm::json::Path | P ) |
Definition at line 825 of file lspserver/src/Protocol.cpp.
References lspserver::TweakArgs::file, lspserver::TweakArgs::selection, and lspserver::TweakArgs::tweakID.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
TypeHierarchyItem & | I, | ||
llvm::json::Path | P ) |
Definition at line 1279 of file lspserver/src/Protocol.cpp.
References lspserver::TypeHierarchyItem::children, lspserver::TypeHierarchyItem::data, lspserver::TypeHierarchyItem::deprecated, lspserver::TypeHierarchyItem::detail, lspserver::TypeHierarchyItem::kind, lspserver::TypeHierarchyItem::name, lspserver::TypeHierarchyItem::parents, lspserver::TypeHierarchyItem::range, lspserver::TypeHierarchyItem::selectionRange, and lspserver::TypeHierarchyItem::uri.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
TypeHierarchyPrepareParams & | R, | ||
llvm::json::Path | P ) |
bool lspserver::fromJSON | ( | const llvm::json::Value & | E, |
URIForFile & | R, | ||
llvm::json::Path | P ) |
Definition at line 64 of file lspserver/src/Protocol.cpp.
References lspserver::URIForFile::fromURI(), and lspserver::URI::parse().
Referenced by fromJSON(), fromJSON(), fromJSON(), fromJSON(), fromJSON(), fromJSON(), fromJSON(), and parseParam().
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
VersionedTextDocumentIdentifier & | R, | ||
llvm::json::Path | P ) |
Definition at line 111 of file lspserver/src/Protocol.cpp.
References fromJSON(), and lspserver::VersionedTextDocumentIdentifier::version.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
WorkspaceEdit & | R, | ||
llvm::json::Path | P ) |
Definition at line 703 of file lspserver/src/Protocol.cpp.
References lspserver::WorkspaceEdit::changeAnnotations, lspserver::WorkspaceEdit::changes, and lspserver::WorkspaceEdit::documentChanges.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
WorkspaceSymbolParams & | R, | ||
llvm::json::Path | P ) |
Definition at line 753 of file lspserver/src/Protocol.cpp.
References lspserver::WorkspaceSymbolParams::limit, and lspserver::WorkspaceSymbolParams::query.
bool lspserver::fromJSON | ( | const llvm::json::Value & | E, |
FileChangeType & | Out, | ||
llvm::json::Path | P ) |
Definition at line 546 of file lspserver/src/Protocol.cpp.
bool lspserver::fromJSON | ( | const llvm::json::Value & | E, |
TraceLevel & | Out, | ||
llvm::json::Path | P ) |
Definition at line 241 of file lspserver/src/Protocol.cpp.
bool lspserver::fromJSON | ( | const llvm::json::Value & | E, |
TypeHierarchyDirection & | Out, | ||
llvm::json::Path | P ) |
Definition at line 1229 of file lspserver/src/Protocol.cpp.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
ReferenceContext & | R, | ||
llvm::json::Path | P ) |
Definition at line 1302 of file lspserver/src/Protocol.cpp.
References lspserver::ReferenceContext::includeDeclaration.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
SemanticTokensDeltaParams & | R, | ||
llvm::json::Path | P ) |
Definition at line 1172 of file lspserver/src/Protocol.cpp.
References lspserver::SemanticTokensDeltaParams::previousResultId, and lspserver::SemanticTokensDeltaParams::textDocument.
bool lspserver::fromJSON | ( | const llvm::json::Value & | Params, |
TypeHierarchyItem::ResolveParams & | RP, | ||
llvm::json::Path | P ) |
Definition at line 1261 of file lspserver/src/Protocol.cpp.
References lspserver::TypeHierarchyItem::ResolveParams::parents.
bool lspserver::fromJSON | ( | const TypeHierarchyItem::ResolveParams & | ) |
void lspserver::log | ( | const char * | Fmt, |
Ts &&... | Vals ) |
Definition at line 58 of file Logger.h.
References lspserver::Logger::Info, and lspserver::detail::log().
Referenced by lspserver::LSPServer::mkOutNotifiction(), and nixd::EvalClient::onReady().
size_t lspserver::lspLength | ( | llvm::StringRef | Code | ) |
Definition at line 51 of file SourceCode.cpp.
References UnsupportedEncoding, UTF16, UTF32, and UTF8.
Referenced by applyChange(), and offsetToPosition().
std::string lspserver::maybeCaseFoldPath | ( | PathRef | Path | ) |
Position lspserver::offsetToPosition | ( | llvm::StringRef | Code, |
size_t | Offset ) |
Turn an offset in Code into a [line, column] pair. The offset must be in range [0, Code.size()].
Definition at line 145 of file SourceCode.cpp.
References lspserver::Position::character, lspserver::Position::line, and lspLength().
Referenced by nixd::toLSPPosition().
bool lspserver::operator< | ( | const CompletionItem & | L, |
const CompletionItem & | R ) |
Definition at line 1047 of file lspserver/src/Protocol.cpp.
References lspserver::CompletionItem::label, and lspserver::CompletionItem::sortText.
Definition at line 1399 of file lspserver/src/Protocol.cpp.
References lspserver::InlayHint::kind, lspserver::InlayHint::label, lspserver::InlayHint::position, and lspserver::InlayHint::range.
llvm::raw_ostream & lspserver::operator<< | ( | llvm::raw_ostream & | OS, |
const ASTNode & | Root ) |
Definition at line 1523 of file lspserver/src/Protocol.cpp.
References lspserver::ASTNode::children, lspserver::ASTNode::detail, lspserver::ASTNode::kind, and lspserver::ASTNode::role.
llvm::raw_ostream & lspserver::operator<< | ( | llvm::raw_ostream & | O, |
const CompletionItem & | I ) |
Definition at line 1042 of file lspserver/src/Protocol.cpp.
References lspserver::CompletionItem::label, and toJSON().
llvm::raw_ostream & lspserver::operator<< | ( | llvm::raw_ostream & | OS, |
const Diagnostic & | D ) |
Definition at line 674 of file lspserver/src/Protocol.cpp.
References lspserver::Diagnostic::message, lspserver::Diagnostic::range, and lspserver::Diagnostic::severity.
llvm::raw_ostream & lspserver::operator<< | ( | llvm::raw_ostream & | O, |
const DocumentHighlight & | V ) |
Definition at line 1185 of file lspserver/src/Protocol.cpp.
References lspserver::DocumentHighlight::kind, lspserver::DocumentHighlight::range, Read, and Write.
llvm::raw_ostream & lspserver::operator<< | ( | llvm::raw_ostream & | OS, |
const Location & | L ) |
Definition at line 164 of file lspserver/src/Protocol.cpp.
References lspserver::Location::range, and lspserver::Location::uri.
llvm::raw_ostream & lspserver::operator<< | ( | llvm::raw_ostream & | OS, |
const Position & | P ) |
Definition at line 131 of file lspserver/src/Protocol.cpp.
References lspserver::Position::character, and lspserver::Position::line.
llvm::raw_ostream & lspserver::operator<< | ( | llvm::raw_ostream & | OS, |
const Range & | R ) |
Definition at line 147 of file lspserver/src/Protocol.cpp.
References lspserver::Range::end, and lspserver::Range::start.
llvm::raw_ostream & lspserver::operator<< | ( | llvm::raw_ostream & | OS, |
const ReferenceLocation & | L ) |
Definition at line 178 of file lspserver/src/Protocol.cpp.
References lspserver::ReferenceLocation::containerName, lspserver::Location::range, and lspserver::Location::uri.
llvm::raw_ostream & lspserver::operator<< | ( | llvm::raw_ostream & | O, |
const SignatureInformation & | I ) |
Definition at line 1084 of file lspserver/src/Protocol.cpp.
References lspserver::SignatureInformation::label, and toJSON().
llvm::raw_ostream & lspserver::operator<< | ( | llvm::raw_ostream & | O, |
const SymbolInformation & | SI ) |
Definition at line 747 of file lspserver/src/Protocol.cpp.
References lspserver::SymbolInformation::containerName, lspserver::SymbolInformation::name, and toJSON().
llvm::raw_ostream & lspserver::operator<< | ( | llvm::raw_ostream & | OS, |
const TextEdit & | TE ) |
Definition at line 235 of file lspserver/src/Protocol.cpp.
References lspserver::TextEdit::newText, and lspserver::TextEdit::range.
llvm::raw_ostream & lspserver::operator<< | ( | llvm::raw_ostream & | O, |
const TypeHierarchyItem & | I ) |
Definition at line 1250 of file lspserver/src/Protocol.cpp.
References lspserver::TypeHierarchyItem::name, and toJSON().
llvm::raw_ostream & lspserver::operator<< | ( | llvm::raw_ostream & | OS, |
InlayHintKind | Kind ) |
Definition at line 1404 of file lspserver/src/Protocol.cpp.
References Designator, Parameter, and Type.
llvm::raw_ostream & lspserver::operator<< | ( | llvm::raw_ostream & | OS, |
OffsetEncoding | Enc ) |
Definition at line 1445 of file lspserver/src/Protocol.cpp.
llvm::raw_ostream & lspserver::operator<< | ( | llvm::raw_ostream & | O, |
const DocumentSymbol & | S ) |
Definition at line 786 of file lspserver/src/Protocol.cpp.
References lspserver::DocumentSymbol::name, and toJSON().
llvm::raw_ostream & lspserver::operator<< | ( | llvm::raw_ostream & | OS, |
const URIForFile & | U ) |
Definition at line 91 of file lspserver/src/Protocol.cpp.
References lspserver::URIForFile::uri().
llvm::raw_ostream & lspserver::operator<< | ( | llvm::raw_ostream & | OS, |
MarkupKind | K ) |
Definition at line 911 of file lspserver/src/Protocol.cpp.
Definition at line 1395 of file lspserver/src/Protocol.cpp.
References lspserver::InlayHint::kind, lspserver::InlayHint::label, lspserver::InlayHint::position, and lspserver::InlayHint::range.
bool lspserver::operator== | ( | const SemanticToken & | L, |
const SemanticToken & | R ) |
Definition at line 1138 of file lspserver/src/Protocol.cpp.
References lspserver::SemanticToken::deltaLine, lspserver::SemanticToken::deltaStart, lspserver::SemanticToken::length, lspserver::SemanticToken::tokenModifiers, and lspserver::SemanticToken::tokenType.
Definition at line 238 of file lspserver/include/lspserver/Protocol.h.
References lspserver::TextEdit::annotationId, lspserver::TextEdit::newText, and lspserver::TextEdit::range.
llvm::Expected< T > lspserver::parseParam | ( | const llvm::json::Value & | Raw, |
llvm::StringRef | PayloadName, | ||
llvm::StringRef | PayloadKind ) |
Definition at line 13 of file LSPBinder.h.
References elog(), fromJSON(), InvalidParams, and vlog().
Referenced by lspserver::HandlerRegistry::addCommand(), lspserver::HandlerRegistry::addMethod(), lspserver::HandlerRegistry::addNotification(), and lspserver::LSPServer::mkOutMethod().
|
inline |
Definition at line 37 of file LSPBinder.h.
bool lspserver::pathStartsWith | ( | PathRef | Ancestor, |
PathRef | Path, | ||
llvm::sys::path::Style | Style = llvm::sys::path::Style::native ) |
Checks if Ancestor
is a proper ancestor of Path
. This is just a smarter lexical prefix match, e.g: foo/bar/baz doesn't start with foo/./bar. Both Ancestor
and Path
must be absolute.
llvm::Expected< size_t > lspserver::positionToOffset | ( | llvm::StringRef | Code, |
Position | P, | ||
bool | AllowColumnsBeyondLineLength = true ) |
Turn a [line, column] pair into an offset in Code.
If P.character exceeds the line length, returns the offset at end-of-line. (If !AllowColumnsBeyondLineLength, then returns an error instead). If the line number is out of range, returns an error.
The returned value is in the range [0, Code.size()].
Definition at line 116 of file SourceCode.cpp.
References lspserver::Position::character, error(), and lspserver::Position::line.
Referenced by applyChange().
bool lspserver::readLine | ( | int | fd, |
const std::atomic< bool > & | Close, | ||
llvm::SmallString< 128 > & | Line ) |
Definition at line 141 of file Connection.cpp.
Referenced by lspserver::InboundPort::readDelimitedMessage(), and lspserver::InboundPort::readStandardMessage().
llvm::json::Value lspserver::toJSON | ( | const ApplyWorkspaceEditParams & | Params | ) |
Definition at line 837 of file lspserver/src/Protocol.cpp.
References lspserver::ApplyWorkspaceEditParams::edit.
llvm::json::Value lspserver::toJSON | ( | const ASTNode & | N | ) |
Definition at line 1507 of file lspserver/src/Protocol.cpp.
References lspserver::ASTNode::arcana, lspserver::ASTNode::children, lspserver::ASTNode::detail, lspserver::ASTNode::kind, lspserver::ASTNode::range, and lspserver::ASTNode::role.
llvm::json::Value lspserver::toJSON | ( | const CallHierarchyIncomingCall & | C | ) |
Definition at line 1353 of file lspserver/src/Protocol.cpp.
References lspserver::CallHierarchyIncomingCall::from, and lspserver::CallHierarchyIncomingCall::fromRanges.
llvm::json::Value lspserver::toJSON | ( | const CallHierarchyItem & | I | ) |
Definition at line 1319 of file lspserver/src/Protocol.cpp.
References lspserver::CallHierarchyItem::data, lspserver::CallHierarchyItem::detail, lspserver::CallHierarchyItem::kind, lspserver::CallHierarchyItem::name, lspserver::CallHierarchyItem::range, lspserver::CallHierarchyItem::selectionRange, lspserver::CallHierarchyItem::tags, and lspserver::CallHierarchyItem::uri.
llvm::json::Value lspserver::toJSON | ( | const CallHierarchyOutgoingCall & | C | ) |
Definition at line 1363 of file lspserver/src/Protocol.cpp.
References lspserver::CallHierarchyOutgoingCall::fromRanges, and lspserver::CallHierarchyOutgoingCall::to.
llvm::json::Value lspserver::toJSON | ( | const ChangeAnnotation & | CA | ) |
Definition at line 215 of file lspserver/src/Protocol.cpp.
References lspserver::ChangeAnnotation::description, lspserver::ChangeAnnotation::label, and lspserver::ChangeAnnotation::needsConfirmation.
llvm::json::Value lspserver::toJSON | ( | const CodeAction & | CA | ) |
Definition at line 771 of file lspserver/src/Protocol.cpp.
References lspserver::CodeAction::command, lspserver::CodeAction::diagnostics, lspserver::CodeAction::edit, lspserver::CodeAction::isPreferred, lspserver::CodeAction::kind, and lspserver::CodeAction::title.
llvm::json::Value lspserver::toJSON | ( | const CodeDescription & | D | ) |
Definition at line 611 of file lspserver/src/Protocol.cpp.
References lspserver::CodeDescription::href.
llvm::json::Value lspserver::toJSON | ( | const Command & | C | ) |
Definition at line 760 of file lspserver/src/Protocol.cpp.
References lspserver::ExecuteCommandParams::argument, lspserver::ExecuteCommandParams::command, and lspserver::Command::title.
llvm::json::Value lspserver::toJSON | ( | const CompletionItem & | CI | ) |
Definition at line 990 of file lspserver/src/Protocol.cpp.
References lspserver::CompletionItem::additionalTextEdits, lspserver::CompletionItem::data, lspserver::CompletionItem::deprecated, lspserver::CompletionItem::detail, lspserver::CompletionItem::documentation, lspserver::CompletionItem::filterText, lspserver::CompletionItem::insertText, lspserver::CompletionItem::insertTextFormat, lspserver::CompletionItem::kind, lspserver::CompletionItem::label, Missing, lspserver::CompletionItem::score, lspserver::CompletionItem::sortText, and lspserver::CompletionItem::textEdit.
llvm::json::Value lspserver::toJSON | ( | const CompletionList & | L | ) |
Definition at line 1052 of file lspserver/src/Protocol.cpp.
References lspserver::CompletionList::isIncomplete, and lspserver::CompletionList::items.
llvm::json::Value lspserver::toJSON | ( | const ConfigurationItem & | N | ) |
Definition at line 1537 of file lspserver/src/Protocol.cpp.
References lspserver::ConfigurationItem::scopeUri, and lspserver::ConfigurationItem::section.
llvm::json::Value lspserver::toJSON | ( | const ConfigurationParams & | N | ) |
Definition at line 1546 of file lspserver/src/Protocol.cpp.
References lspserver::ConfigurationParams::items.
llvm::json::Value lspserver::toJSON | ( | const Diagnostic & | D | ) |
Definition at line 615 of file lspserver/src/Protocol.cpp.
References lspserver::Diagnostic::category, lspserver::Diagnostic::code, lspserver::Diagnostic::codeActions, lspserver::Diagnostic::codeDescription, lspserver::Diagnostic::data, lspserver::Diagnostic::message, lspserver::Diagnostic::range, lspserver::Diagnostic::relatedInformation, lspserver::Diagnostic::severity, lspserver::Diagnostic::source, and lspserver::Diagnostic::tags.
llvm::json::Value lspserver::toJSON | ( | const DiagnosticRelatedInformation & | DRI | ) |
Definition at line 602 of file lspserver/src/Protocol.cpp.
References lspserver::DiagnosticRelatedInformation::location, and lspserver::DiagnosticRelatedInformation::message.
llvm::json::Value lspserver::toJSON | ( | const DocumentHighlight & | DH | ) |
Definition at line 1109 of file lspserver/src/Protocol.cpp.
References lspserver::DocumentHighlight::kind, lspserver::DocumentHighlight::range, and toJSON().
llvm::json::Value lspserver::toJSON | ( | const DocumentLink & | DocumentLink | ) |
Definition at line 1470 of file lspserver/src/Protocol.cpp.
References lspserver::DocumentLink::range, and lspserver::DocumentLink::target.
llvm::json::Value lspserver::toJSON | ( | const DocumentSymbol & | S | ) |
Definition at line 790 of file lspserver/src/Protocol.cpp.
References lspserver::DocumentSymbol::children, lspserver::DocumentSymbol::deprecated, lspserver::DocumentSymbol::detail, lspserver::DocumentSymbol::kind, lspserver::DocumentSymbol::name, lspserver::DocumentSymbol::range, and lspserver::DocumentSymbol::selectionRange.
llvm::json::Value lspserver::toJSON | ( | const FileStatus & | FStatus | ) |
Definition at line 1116 of file lspserver/src/Protocol.cpp.
References lspserver::FileStatus::state, and lspserver::FileStatus::uri.
llvm::json::Value lspserver::toJSON | ( | const FoldingRange & | Range | ) |
Definition at line 1487 of file lspserver/src/Protocol.cpp.
llvm::json::Value lspserver::toJSON | ( | const Hover & | H | ) |
Definition at line 934 of file lspserver/src/Protocol.cpp.
References lspserver::Hover::contents, lspserver::Hover::range, and toJSON().
llvm::json::Value lspserver::toJSON | ( | const InactiveRegionsParams & | InactiveRegions | ) |
Definition at line 1179 of file lspserver/src/Protocol.cpp.
References lspserver::InactiveRegionsParams::InactiveRegions, and lspserver::InactiveRegionsParams::TextDocument.
llvm::json::Value lspserver::toJSON | ( | const InlayHint & | H | ) |
Definition at line 1385 of file lspserver/src/Protocol.cpp.
References lspserver::InlayHint::kind, lspserver::InlayHint::label, lspserver::InlayHint::paddingLeft, lspserver::InlayHint::paddingRight, lspserver::InlayHint::position, and toJSON().
llvm::json::Value lspserver::toJSON | ( | const InlayHintKind & | Kind | ) |
Definition at line 1373 of file lspserver/src/Protocol.cpp.
References Designator, Parameter, and Type.
llvm::json::Value lspserver::toJSON | ( | const Location & | P | ) |
Definition at line 151 of file lspserver/src/Protocol.cpp.
References lspserver::Location::range, and lspserver::Location::uri.
llvm::json::Value lspserver::toJSON | ( | const MarkupContent & | MC | ) |
Definition at line 915 of file lspserver/src/Protocol.cpp.
References lspserver::MarkupContent::kind, and lspserver::MarkupContent::value.
llvm::json::Value lspserver::toJSON | ( | const MessageType & | R | ) |
Definition at line 511 of file lspserver/src/Protocol.cpp.
|
inline |
Definition at line 299 of file lspserver/include/lspserver/Protocol.h.
llvm::json::Value lspserver::toJSON | ( | const OffsetEncoding & | OE | ) |
Definition at line 1432 of file lspserver/src/Protocol.cpp.
llvm::json::Value lspserver::toJSON | ( | const ParameterInformation & | PI | ) |
Definition at line 1059 of file lspserver/src/Protocol.cpp.
References lspserver::ParameterInformation::documentation, lspserver::ParameterInformation::labelOffsets, and lspserver::ParameterInformation::labelString.
llvm::json::Value lspserver::toJSON | ( | const Position & | P | ) |
Definition at line 124 of file lspserver/src/Protocol.cpp.
References lspserver::Position::character, and lspserver::Position::line.
llvm::json::Value lspserver::toJSON | ( | const ProgressParams< T > & | P | ) |
Definition at line 632 of file lspserver/include/lspserver/Protocol.h.
References lspserver::ProgressParams< T >::token, and lspserver::ProgressParams< T >::value.
llvm::json::Value lspserver::toJSON | ( | const PublishDiagnosticsParams & | PDP | ) |
Definition at line 655 of file lspserver/src/Protocol.cpp.
References lspserver::PublishDiagnosticsParams::diagnostics, lspserver::PublishDiagnosticsParams::uri, and lspserver::PublishDiagnosticsParams::version.
llvm::json::Value lspserver::toJSON | ( | const Range & | P | ) |
Definition at line 140 of file lspserver/src/Protocol.cpp.
References lspserver::Range::end, and lspserver::Range::start.
llvm::json::Value lspserver::toJSON | ( | const ReferenceLocation & | P | ) |
Definition at line 168 of file lspserver/src/Protocol.cpp.
References lspserver::ReferenceLocation::containerName, lspserver::Location::range, and lspserver::Location::uri.
llvm::json::Value lspserver::toJSON | ( | const SelectionRange & | Out | ) |
Definition at line 1456 of file lspserver/src/Protocol.cpp.
References lspserver::SelectionRange::parent, lspserver::SelectionRange::range, and toJSON().
llvm::json::Value lspserver::toJSON | ( | const SemanticTokens & | Tokens | ) |
Definition at line 1145 of file lspserver/src/Protocol.cpp.
References lspserver::SemanticTokens::resultId, and lspserver::SemanticTokens::tokens.
llvm::json::Value lspserver::toJSON | ( | const SemanticTokensEdit & | Edit | ) |
Definition at line 1150 of file lspserver/src/Protocol.cpp.
References lspserver::SemanticTokensEdit::deleteTokens, SemanticTokenEncodingSize, lspserver::SemanticTokensEdit::startToken, and lspserver::SemanticTokensEdit::tokens.
llvm::json::Value lspserver::toJSON | ( | const SemanticTokensOrDelta & | TE | ) |
Definition at line 1157 of file lspserver/src/Protocol.cpp.
References lspserver::SemanticTokensOrDelta::edits, lspserver::SemanticTokensOrDelta::resultId, and lspserver::SemanticTokensOrDelta::tokens.
llvm::json::Value lspserver::toJSON | ( | const ShowMessageParams & | R | ) |
Definition at line 515 of file lspserver/src/Protocol.cpp.
References lspserver::ShowMessageParams::message, and lspserver::ShowMessageParams::type.
llvm::json::Value lspserver::toJSON | ( | const SignatureHelp & | SH | ) |
Definition at line 1090 of file lspserver/src/Protocol.cpp.
References lspserver::SignatureHelp::activeParameter, lspserver::SignatureHelp::activeSignature, and lspserver::SignatureHelp::signatures.
llvm::json::Value lspserver::toJSON | ( | const SignatureInformation & | SI | ) |
Definition at line 1073 of file lspserver/src/Protocol.cpp.
References lspserver::SignatureInformation::documentation, lspserver::SignatureInformation::label, lspserver::SignatureInformation::parameters, and lspserver::MarkupContent::value.
llvm::json::Value lspserver::toJSON | ( | const SymbolInformation & | P | ) |
Definition at line 735 of file lspserver/src/Protocol.cpp.
References lspserver::SymbolInformation::containerName, lspserver::SymbolInformation::kind, lspserver::SymbolInformation::location, lspserver::SymbolInformation::name, and lspserver::SymbolInformation::score.
llvm::json::Value lspserver::toJSON | ( | const TextDocumentEdit & | P | ) |
Definition at line 229 of file lspserver/src/Protocol.cpp.
References lspserver::TextDocumentEdit::edits, and lspserver::TextDocumentEdit::textDocument.
llvm::json::Value lspserver::toJSON | ( | const TextDocumentIdentifier & | R | ) |
Definition at line 95 of file lspserver/src/Protocol.cpp.
References lspserver::TextDocumentIdentifier::uri.
llvm::json::Value lspserver::toJSON | ( | const TextEdit & | P | ) |
Definition at line 198 of file lspserver/src/Protocol.cpp.
References lspserver::TextEdit::annotationId, lspserver::TextEdit::newText, and lspserver::TextEdit::range.
llvm::json::Value lspserver::toJSON | ( | const TweakArgs & | A | ) |
Definition at line 832 of file lspserver/src/Protocol.cpp.
References lspserver::TweakArgs::file, lspserver::TweakArgs::selection, and lspserver::TweakArgs::tweakID.
llvm::json::Value lspserver::toJSON | ( | const TypeHierarchyItem & | I | ) |
Definition at line 1267 of file lspserver/src/Protocol.cpp.
References lspserver::TypeHierarchyItem::data, lspserver::TypeHierarchyItem::detail, lspserver::TypeHierarchyItem::kind, lspserver::TypeHierarchyItem::name, lspserver::TypeHierarchyItem::range, lspserver::TypeHierarchyItem::selectionRange, and lspserver::TypeHierarchyItem::uri.
llvm::json::Value lspserver::toJSON | ( | const TypeHierarchyItem::ResolveParams & | RP | ) |
Definition at line 1255 of file lspserver/src/Protocol.cpp.
References lspserver::TypeHierarchyItem::ResolveParams::parents.
llvm::json::Value lspserver::toJSON | ( | const URIForFile & | U | ) |
Serialize/deserialize URIForFile
to/from a string URI.
Definition at line 89 of file lspserver/src/Protocol.cpp.
References lspserver::URIForFile::uri().
Referenced by operator<<(), operator<<(), operator<<(), operator<<(), operator<<(), toJSON(), toJSON(), toJSON(), toJSON(), and toJSON().
llvm::json::Value lspserver::toJSON | ( | const VersionedTextDocumentIdentifier & | R | ) |
Definition at line 105 of file lspserver/src/Protocol.cpp.
References toJSON(), and lspserver::VersionedTextDocumentIdentifier::version.
llvm::json::Value lspserver::toJSON | ( | const WorkDoneProgressBegin & | P | ) |
Definition at line 477 of file lspserver/src/Protocol.cpp.
References lspserver::WorkDoneProgressBegin::cancellable, lspserver::WorkDoneProgressBegin::percentage, and lspserver::WorkDoneProgressBegin::title.
llvm::json::Value lspserver::toJSON | ( | const WorkDoneProgressCreateParams & | P | ) |
Definition at line 473 of file lspserver/src/Protocol.cpp.
References lspserver::WorkDoneProgressCreateParams::token.
llvm::json::Value lspserver::toJSON | ( | const WorkDoneProgressEnd & | P | ) |
Definition at line 503 of file lspserver/src/Protocol.cpp.
References lspserver::WorkDoneProgressEnd::message.
llvm::json::Value lspserver::toJSON | ( | const WorkDoneProgressReport & | P | ) |
Definition at line 491 of file lspserver/src/Protocol.cpp.
References lspserver::WorkDoneProgressReport::cancellable, lspserver::WorkDoneProgressReport::message, and lspserver::WorkDoneProgressReport::percentage.
llvm::json::Value lspserver::toJSON | ( | const WorkspaceEdit & | WE | ) |
Definition at line 806 of file lspserver/src/Protocol.cpp.
References lspserver::WorkspaceEdit::changeAnnotations, lspserver::WorkspaceEdit::changes, and lspserver::WorkspaceEdit::documentChanges.
llvm::json::Value lspserver::toJSON | ( | DiagnosticTag | Tag | ) |
Definition at line 609 of file lspserver/src/Protocol.cpp.
llvm::json::Value lspserver::toJSON | ( | SymbolTag | Tag | ) |
Definition at line 1315 of file lspserver/src/Protocol.cpp.
void lspserver::vlog | ( | const char * | Fmt, |
Ts &&... | Vals ) |
Definition at line 63 of file Logger.h.
References lspserver::detail::log(), and lspserver::Logger::Verbose.
Referenced by lspserver::InboundPort::loop(), parseParam(), and lspserver::OutboundPort::sendMessage().
|
constexpr |
Definition at line 352 of file lspserver/include/lspserver/Protocol.h.
|
constexpr |
Definition at line 350 of file lspserver/include/lspserver/Protocol.h.
Referenced by adjustKindToCapability().
|
extern |
|
constexpr |
Definition at line 1123 of file lspserver/src/Protocol.cpp.
Referenced by toJSON().
|
constexpr |
Definition at line 392 of file lspserver/include/lspserver/Protocol.h.
|
constexpr |
Definition at line 391 of file lspserver/include/lspserver/Protocol.h.
Referenced by adjustKindToCapability().