serve-d v0.7.0-beta.7 (2021-07-14T18:52:03Z)
Dub
Repo
Position
served
lsp
protocol
Undocumented in source.
struct
Position {
uint
line
;
uint
character
;
int
opCmp
(Position other);
JSONValue
_toJSON
();
static
Position
_fromJSON
(JSONValue val);
}
Members
Functions
_toJSON
JSONValue
_toJSON
()
Undocumented in source. Be warned that the author may not have intended to support it.
opCmp
int
opCmp
(Position other)
Undocumented in source. Be warned that the author may not have intended to support it.
Static functions
_fromJSON
Position
_fromJSON
(JSONValue val)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
character
uint
character
;
Zero-based line & character offset (UTF-16 codepoints)
line
uint
line
;
Zero-based line & character offset (UTF-16 codepoints)
Meta
Source
See Implementation
served
lsp
protocol
aliases
DocumentSelector
DocumentUri
TextEditCollection
classes
MethodException
enums
CodeActionKind
CompletionItemKind
DiagnosticSeverity
DiagnosticTag
DocumentHighlightKind
EolType
ErrorCode
FailureHandlingKind
FileChangeType
InsertTextFormat
MarkupKind
MessageType
ResourceOperationKind
SymbolKind
TextDocumentSaveReason
TextDocumentSyncKind
functions
opt
toString
mixin templates
StrictOptionalSerializer
structs
ApplyWorkspaceEditParams
ApplyWorkspaceEditResponse
ArrayOrSingle
ClientCapabilities
CodeAction
CodeActionContext
CodeActionParams
CodeLens
CodeLensOptions
CodeLensParams
CodeLensRegistrationOptions
Color
ColorInformation
ColorPresentation
ColorPresentationParams
ColorProviderOptions
Command
CompletionItem
CompletionList
CompletionOptions
CompletionRegistrationOptions
ConfigurationItem
ConfigurationParams
CreateFile
CreateFileOptions
DeleteFile
DeleteFileOptions
Diagnostic
DiagnosticRelatedInformation
DidChangeConfigurationParams
DidChangeTextDocumentParams
DidChangeWatchedFilesParams
DidChangeWorkspaceFoldersParams
DidCloseTextDocumentParams
DidOpenTextDocumentParams
DidSaveTextDocumentParams
DocumentColorParams
DocumentFilter
DocumentFormattingParams
DocumentHighlight
DocumentHighlightParams
DocumentLink
DocumentLinkOptions
DocumentLinkParams
DocumentLinkRegistrationOptions
DocumentOnTypeFormattingOptions
DocumentOnTypeFormattingParams
DocumentOnTypeFormattingRegistrationOptions
DocumentRangeFormattingParams
DocumentSymbol
DocumentSymbolParams
DynamicRegistration
ExecuteCommandOptions
ExecuteCommandParams
ExecuteCommandRegistrationOptions
FileEvent
FormattingOptions
Hover
InitializeError
InitializeParams
InitializeResult
Location
LogMessageParams
MarkedString
MarkupContent
MessageActionItem
Optional
ParameterInformation
Position
PublishDiagnosticsParams
ReferenceContext
ReferenceParams
Registration
RegistrationParams
RenameFile
RenameFileOptions
RenameParams
RequestMessage
RequestToken
ResponseError
ResponseMessage
SaveOptions
ServerCapabilities
ServerWorkspaceCapabilities
ShowMessageParams
ShowMessageRequestParams
SignatureHelp
SignatureHelpOptions
SignatureHelpRegistrationOptions
SignatureInformation
SymbolInformation
TextDocumentChangeRegistrationOptions
TextDocumentClientCapabilities
TextDocumentContentChangeEvent
TextDocumentEdit
TextDocumentIdentifier
TextDocumentItem
TextDocumentPositionParams
TextDocumentRegistrationOptions
TextDocumentSaveRegistrationOptions
TextDocumentSyncOptions
TextEdit
TextRange
Unregistration
UnregistrationParams
VersionedTextDocumentIdentifier
WillSaveTextDocumentParams
WorkspaceClientCapabilities
WorkspaceEdit
WorkspaceEditClientCapabilities
WorkspaceFolder
WorkspaceFoldersChangeEvent
WorkspaceSymbolParams