serve-d v0.7.0-beta.7 (2021-07-14T18:52:03Z)
Dub
Repo
Document.this
served
lsp
textdocumentmanager
Document
Creates a new D document at the given document URI, with version 0 and no text.
this
(DocumentUri uri)
struct
Document
this
(
DocumentUri
uri
)
this
(TextDocumentItem doc)
Meta
Source
See Implementation
served
lsp
textdocumentmanager
Document
constructors
this
functions
applyChange
bytesToOffset
bytesToPosition
clone
eolAt
getLanguageId
length
lineAt
lineAtScope
lineByteRangeAt
lineColumnBytesToPosition
movePositionBytes
nextPositionBytes
offsetToBytes
offsetToPosition
positionToBytes
positionToOffset
rawText
setContent
wordRangeAt
static functions
nullDocument
variables
languageId
uri
version_
Creates a new D document at the given document URI, with version 0 and no text.