Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
lsprotocol
main
LSProtocol
AnnotatedTextEdit
ApplyKind
ApplyWorkspaceEditParams
ApplyWorkspaceEditRequest
ApplyWorkspaceEditResponse
ApplyWorkspaceEditResult
BaseSymbolInformation
CallHierarchyClientCapabilities
CallHierarchyIncomingCall
CallHierarchyIncomingCallsParams
CallHierarchyIncomingCallsRequest
CallHierarchyIncomingCallsResponse
CallHierarchyIncomingCallsResult
CallHierarchyItem
CallHierarchyOptions
CallHierarchyOutgoingCall
CallHierarchyOutgoingCallsParams
CallHierarchyOutgoingCallsRequest
CallHierarchyOutgoingCallsResponse
CallHierarchyOutgoingCallsResult
CallHierarchyPrepareParams
CallHierarchyPrepareRequest
CallHierarchyPrepareResponse
CallHierarchyPrepareResult
CallHierarchyRegistrationOptions
CancelNotification
CancelParams
ChangeAnnotation
ChangeAnnotationIdentifier
ChangeAnnotationsSupportOptions
ClientCapabilities
ClientCodeActionKindOptions
ClientCodeActionLiteralOptions
ClientCodeActionResolveOptions
ClientCodeLensResolveOptions
ClientCompletionItemInsertTextModeOptions
ClientCompletionItemOptions
ClientCompletionItemOptionsKind
ClientCompletionItemResolveOptions
ClientDiagnosticsTagOptions
ClientFoldingRangeKindOptions
ClientFoldingRangeOptions
ClientInfo
ClientInlayHintResolveOptions
ClientSemanticTokensRequestFullDelta
ClientSemanticTokensRequestOptions
ClientShowMessageActionItemOptions
ClientSignatureInformationOptions
ClientSignatureParameterInformationOptions
ClientSymbolKindOptions
ClientSymbolResolveOptions
ClientSymbolTagOptions
CodeAction
CodeActionClientCapabilities
CodeActionContext
CodeActionDisabled
CodeActionKind
CodeActionKindDocumentation
CodeActionOptions
CodeActionParams
CodeActionRegistrationOptions
CodeActionRequest
CodeActionResolveRequest
CodeActionResolveResponse
CodeActionResponse
CodeActionResult
CodeActionTag
CodeActionTagOptions
CodeActionTriggerKind
CodeDescription
CodeLens
CodeLensClientCapabilities
CodeLensOptions
CodeLensParams
CodeLensRefreshRequest
CodeLensRefreshResponse
CodeLensRegistrationOptions
CodeLensRequest
CodeLensResolveRequest
CodeLensResolveResponse
CodeLensResponse
CodeLensResult
CodeLensWorkspaceClientCapabilities
Color
ColorInformation
ColorPresentation
ColorPresentationParams
ColorPresentationRequest
ColorPresentationRequestOptions
ColorPresentationResponse
ColorPresentationResult
Command
CompletionClientCapabilities
CompletionContext
CompletionItem
CompletionItemApplyKinds
CompletionItemDefaults
CompletionItemKind
CompletionItemLabelDetails
CompletionItemTag
CompletionItemTagOptions
CompletionList
CompletionListCapabilities
CompletionOptions
CompletionParams
CompletionRegistrationOptions
CompletionRequest
CompletionResolveRequest
CompletionResolveResponse
CompletionResponse
CompletionResult
CompletionTriggerKind
ConfigurationItem
ConfigurationParams
ConfigurationRequest
ConfigurationResponse
ConfigurationResult
CreateFile
CreateFileOptions
CreateFilesParams
Declaration
DeclarationClientCapabilities
DeclarationLink
DeclarationOptions
DeclarationParams
DeclarationRegistrationOptions
DeclarationRequest
DeclarationResponse
DeclarationResult
Definition
DefinitionClientCapabilities
DefinitionLink
DefinitionOptions
DefinitionParams
DefinitionRegistrationOptions
DefinitionRequest
DefinitionResponse
DefinitionResult
DeleteFile
DeleteFileOptions
DeleteFilesParams
Diagnostic
DiagnosticClientCapabilities
DiagnosticOptions
DiagnosticRefreshRequest
DiagnosticRefreshResponse
DiagnosticRegistrationOptions
DiagnosticRelatedInformation
DiagnosticsCapabilities
DiagnosticServerCancellationData
DiagnosticSeverity
DiagnosticTag
DiagnosticWorkspaceClientCapabilities
DidChangeConfigurationClientCapabilities
DidChangeConfigurationNotification
DidChangeConfigurationParams
DidChangeConfigurationRegistrationOptions
DidChangeNotebookDocumentNotification
DidChangeNotebookDocumentParams
DidChangeTextDocumentNotification
DidChangeTextDocumentParams
DidChangeWatchedFilesClientCapabilities
DidChangeWatchedFilesNotification
DidChangeWatchedFilesParams
DidChangeWatchedFilesRegistrationOptions
DidChangeWorkspaceFoldersNotification
DidChangeWorkspaceFoldersParams
DidCloseNotebookDocumentNotification
DidCloseNotebookDocumentParams
DidCloseTextDocumentNotification
DidCloseTextDocumentParams
DidCreateFilesNotification
DidDeleteFilesNotification
DidOpenNotebookDocumentNotification
DidOpenNotebookDocumentParams
DidOpenTextDocumentNotification
DidOpenTextDocumentParams
DidRenameFilesNotification
DidSaveNotebookDocumentNotification
DidSaveNotebookDocumentParams
DidSaveTextDocumentNotification
DidSaveTextDocumentParams
DocumentColorClientCapabilities
DocumentColorOptions
DocumentColorParams
DocumentColorRegistrationOptions
DocumentColorRequest
DocumentColorResponse
DocumentColorResult
DocumentDiagnosticParams
DocumentDiagnosticReport
DocumentDiagnosticReportKind
DocumentDiagnosticReportPartialResult
DocumentDiagnosticRequest
DocumentDiagnosticResponse
DocumentFilter
DocumentFormattingClientCapabilities
DocumentFormattingOptions
DocumentFormattingParams
DocumentFormattingRegistrationOptions
DocumentFormattingRequest
DocumentFormattingResponse
DocumentFormattingResult
DocumentHighlight
DocumentHighlightClientCapabilities
DocumentHighlightKind
DocumentHighlightOptions
DocumentHighlightParams
DocumentHighlightRegistrationOptions
DocumentHighlightRequest
DocumentHighlightResponse
DocumentHighlightResult
DocumentLink
DocumentLinkClientCapabilities
DocumentLinkOptions
DocumentLinkParams
DocumentLinkRegistrationOptions
DocumentLinkRequest
DocumentLinkResolveRequest
DocumentLinkResolveResponse
DocumentLinkResponse
DocumentLinkResult
DocumentOnTypeFormattingClientCapabilities
DocumentOnTypeFormattingOptions
DocumentOnTypeFormattingParams
DocumentOnTypeFormattingRegistrationOptions
DocumentOnTypeFormattingRequest
DocumentOnTypeFormattingResponse
DocumentOnTypeFormattingResult
DocumentRangeFormattingClientCapabilities
DocumentRangeFormattingOptions
DocumentRangeFormattingParams
DocumentRangeFormattingRegistrationOptions
DocumentRangeFormattingRequest
DocumentRangeFormattingResponse
DocumentRangeFormattingResult
DocumentRangesFormattingParams
DocumentRangesFormattingRequest
DocumentRangesFormattingResponse
DocumentRangesFormattingResult
DocumentSelector
DocumentSymbol
DocumentSymbolClientCapabilities
DocumentSymbolOptions
DocumentSymbolParams
DocumentSymbolRegistrationOptions
DocumentSymbolRequest
DocumentSymbolResponse
DocumentSymbolResult
EditRangeWithInsertReplace
ErrorCodes
ExecuteCommandClientCapabilities
ExecuteCommandOptions
ExecuteCommandParams
ExecuteCommandRegistrationOptions
ExecuteCommandRequest
ExecuteCommandResponse
ExecuteCommandResult
ExecutionSummary
ExitNotification
FailureHandlingKind
FileChangeType
FileCreate
FileDelete
FileEvent
FileOperationClientCapabilities
FileOperationFilter
FileOperationOptions
FileOperationPattern
FileOperationPatternKind
FileOperationPatternOptions
FileOperationRegistrationOptions
FileRename
FileSystemWatcher
FoldingRange
FoldingRangeClientCapabilities
FoldingRangeKind
FoldingRangeOptions
FoldingRangeParams
FoldingRangeRefreshRequest
FoldingRangeRefreshResponse
FoldingRangeRegistrationOptions
FoldingRangeRequest
FoldingRangeResponse
FoldingRangeResult
FoldingRangeWorkspaceClientCapabilities
FormattingOptions
FullDocumentDiagnosticReport
GeneralClientCapabilities
GlobPattern
Hover
HoverClientCapabilities
HoverOptions
HoverParams
HoverRegistrationOptions
HoverRequest
HoverResponse
HoverResult
ImplementationClientCapabilities
ImplementationOptions
ImplementationParams
ImplementationRegistrationOptions
ImplementationRequest
ImplementationResponse
ImplementationResult
InitializedNotification
InitializedParams
InitializeError
InitializeParams
InitializeParamsPrivate
InitializeRequest
InitializeResponse
InitializeResult
InlayHint
InlayHintClientCapabilities
InlayHintKind
InlayHintLabelPart
InlayHintOptions
InlayHintParams
InlayHintRefreshRequest
InlayHintRefreshResponse
InlayHintRegistrationOptions
InlayHintRequest
InlayHintResolveRequest
InlayHintResolveResponse
InlayHintResponse
InlayHintResult
InlayHintWorkspaceClientCapabilities
InlineCompletionClientCapabilities
InlineCompletionContext
InlineCompletionItem
InlineCompletionList
InlineCompletionOptions
InlineCompletionParams
InlineCompletionRegistrationOptions
InlineCompletionRequest
InlineCompletionResponse
InlineCompletionResult
InlineCompletionTriggerKind
InlineValue
InlineValueClientCapabilities
InlineValueContext
InlineValueEvaluatableExpression
InlineValueOptions
InlineValueParams
InlineValueRefreshRequest
InlineValueRefreshResponse
InlineValueRegistrationOptions
InlineValueRequest
InlineValueResponse
InlineValueResult
InlineValueText
InlineValueVariableLookup
InlineValueWorkspaceClientCapabilities
InsertReplaceEdit
InsertTextFormat
InsertTextMode
LanguageKind
LinkedEditingRangeClientCapabilities
LinkedEditingRangeOptions
LinkedEditingRangeParams
LinkedEditingRangeRegistrationOptions
LinkedEditingRangeRequest
LinkedEditingRangeResponse
LinkedEditingRangeResult
LinkedEditingRanges
Location
LocationLink
LocationUriOnly
LogMessageNotification
LogMessageParams
LogTraceNotification
LogTraceParams
LSPAny
LSPArray
LSPErrorCodes
LSPObject
MarkdownClientCapabilities
MarkedString
MarkedStringWithLanguage
MarkupContent
MarkupKind
Message
MessageActionItem
MessageDirection
MessageType
Moniker
MonikerClientCapabilities
MonikerKind
MonikerOptions
MonikerParams
MonikerRegistrationOptions
MonikerRequest
MonikerResponse
MonikerResult
NotebookCell
NotebookCellArrayChange
NotebookCellKind
NotebookCellLanguage
NotebookCellTextDocumentFilter
NotebookDocument
NotebookDocumentCellChanges
NotebookDocumentCellChangeStructure
NotebookDocumentCellContentChanges
NotebookDocumentChangeEvent
NotebookDocumentClientCapabilities
NotebookDocumentFilter
NotebookDocumentFilterNotebookType
NotebookDocumentFilterPattern
NotebookDocumentFilterScheme
NotebookDocumentFilterWithCells
NotebookDocumentFilterWithNotebook
NotebookDocumentIdentifier
NotebookDocumentSyncClientCapabilities
NotebookDocumentSyncOptions
NotebookDocumentSyncRegistrationOptions
Notification
OptionalVersionedTextDocumentIdentifier
ParameterInformation
ParseError
PartialResultParams
Pattern
Position
PositionEncodingKind
PrepareRenameDefaultBehavior
PrepareRenameParams
PrepareRenamePlaceholder
PrepareRenameRequest
PrepareRenameResponse
PrepareRenameResult
PrepareSupportDefaultBehavior
PreviousResultId
ProgressNotification
ProgressParams
ProgressToken
PublishDiagnosticsClientCapabilities
PublishDiagnosticsNotification
PublishDiagnosticsParams
Range
ReferenceClientCapabilities
ReferenceContext
ReferenceOptions
ReferenceParams
ReferenceRegistrationOptions
ReferencesRequest
ReferencesResponse
ReferencesResult
Registration
RegistrationParams
RegistrationRequest
RegistrationResponse
RegularExpressionEngineKind
RegularExpressionsClientCapabilities
RelatedFullDocumentDiagnosticReport
RelatedUnchangedDocumentDiagnosticReport
RelativePattern
RenameClientCapabilities
RenameFile
RenameFileOptions
RenameFilesParams
RenameOptions
RenameParams
RenameRegistrationOptions
RenameRequest
RenameResponse
RenameResult
Request
ResourceOperation
ResourceOperationKind
Response
ResponseError
ResponseErrorMessage
ResponseMessage
SaveOptions
SelectedCompletionInfo
SelectionRange
SelectionRangeClientCapabilities
SelectionRangeOptions
SelectionRangeParams
SelectionRangeRegistrationOptions
SelectionRangeRequest
SelectionRangeResponse
SelectionRangeResult
SemanticTokenModifiers
SemanticTokens
SemanticTokensClientCapabilities
SemanticTokensDelta
SemanticTokensDeltaParams
SemanticTokensDeltaPartialResult
SemanticTokensDeltaRequest
SemanticTokensDeltaResponse
SemanticTokensDeltaResult
SemanticTokensEdit
SemanticTokensFullDelta
SemanticTokensLegend
SemanticTokensOptions
SemanticTokensParams
SemanticTokensPartialResult
SemanticTokensRangeParams
SemanticTokensRangeRequest
SemanticTokensRangeResponse
SemanticTokensRangeResult
SemanticTokensRefreshRequest
SemanticTokensRefreshResponse
SemanticTokensRegistrationOptions
SemanticTokensRequest
SemanticTokensResponse
SemanticTokensResult
SemanticTokensWorkspaceClientCapabilities
SemanticTokenTypes
ServerCapabilities
ServerCompletionItemOptions
ServerInfo
SetTraceNotification
SetTraceParams
ShowDocumentClientCapabilities
ShowDocumentParams
ShowDocumentRequest
ShowDocumentResponse
ShowDocumentResult
ShowMessageNotification
ShowMessageParams
ShowMessageRequest
ShowMessageRequestClientCapabilities
ShowMessageRequestParams
ShowMessageResponse
ShowMessageResult
ShutdownRequest
ShutdownResponse
SignatureHelp
SignatureHelpClientCapabilities
SignatureHelpContext
SignatureHelpOptions
SignatureHelpParams
SignatureHelpRegistrationOptions
SignatureHelpRequest
SignatureHelpResponse
SignatureHelpResult
SignatureHelpTriggerKind
SignatureInformation
SnippetTextEdit
StaleRequestSupportOptions
StaticRegistrationOptions
StringValue
SymbolInformation
SymbolKind
SymbolTag
TelemetryEventNotification
TextDocumentChangeRegistrationOptions
TextDocumentClientCapabilities
TextDocumentContentChangeEvent
TextDocumentContentChangePartial
TextDocumentContentChangeWholeDocument
TextDocumentContentClientCapabilities
TextDocumentContentOptions
TextDocumentContentParams
TextDocumentContentRefreshParams
TextDocumentContentRefreshRequest
TextDocumentContentRefreshResponse
TextDocumentContentRegistrationOptions
TextDocumentContentRequest
TextDocumentContentResponse
TextDocumentContentResult
TextDocumentEdit
TextDocumentFilter
TextDocumentFilterLanguage
TextDocumentFilterPattern
TextDocumentFilterScheme
TextDocumentIdentifier
TextDocumentItem
TextDocumentPositionParams
TextDocumentRegistrationOptions
TextDocumentSaveReason
TextDocumentSaveRegistrationOptions
TextDocumentSyncClientCapabilities
TextDocumentSyncKind
TextDocumentSyncOptions
TextEdit
TokenFormat
TraceValue
TypeDefinitionClientCapabilities
TypeDefinitionOptions
TypeDefinitionParams
TypeDefinitionRegistrationOptions
TypeDefinitionRequest
TypeDefinitionResponse
TypeDefinitionResult
TypeHierarchyClientCapabilities
TypeHierarchyItem
TypeHierarchyOptions
TypeHierarchyPrepareParams
TypeHierarchyPrepareRequest
TypeHierarchyPrepareResponse
TypeHierarchyPrepareResult
TypeHierarchyRegistrationOptions
TypeHierarchySubtypesParams
TypeHierarchySubtypesRequest
TypeHierarchySubtypesResponse
TypeHierarchySubtypesResult
TypeHierarchySupertypesParams
TypeHierarchySupertypesRequest
TypeHierarchySupertypesResponse
TypeHierarchySupertypesResult
UnchangedDocumentDiagnosticReport
UniquenessLevel
Unregistration
UnregistrationParams
UnregistrationRequest
UnregistrationResponse
VersionedNotebookDocumentIdentifier
VersionedTextDocumentIdentifier
WatchKind
WillCreateFilesRequest
WillCreateFilesResponse
WillCreateFilesResult
WillDeleteFilesRequest
WillDeleteFilesResponse
WillDeleteFilesResult
WillRenameFilesRequest
WillRenameFilesResponse
WillRenameFilesResult
WillSaveTextDocumentNotification
WillSaveTextDocumentParams
WillSaveTextDocumentWaitUntilRequest
WillSaveTextDocumentWaitUntilResponse
WillSaveTextDocumentWaitUntilResult
WindowClientCapabilities
WorkDoneProgressBegin
WorkDoneProgressCancelNotification
WorkDoneProgressCancelParams
WorkDoneProgressCreateParams
WorkDoneProgressCreateRequest
WorkDoneProgressCreateResponse
WorkDoneProgressEnd
WorkDoneProgressOptions
WorkDoneProgressParams
WorkDoneProgressReport
WorkspaceClientCapabilities
WorkspaceDiagnosticParams
WorkspaceDiagnosticReport
WorkspaceDiagnosticReportPartialResult
WorkspaceDiagnosticRequest
WorkspaceDiagnosticResponse
WorkspaceDocumentDiagnosticReport
WorkspaceEdit
WorkspaceEditClientCapabilities
WorkspaceEditMetadata
WorkspaceFolder
WorkspaceFoldersChangeEvent
WorkspaceFoldersInitializeParams
WorkspaceFoldersRequest
WorkspaceFoldersResponse
WorkspaceFoldersResult
WorkspaceFoldersServerCapabilities
WorkspaceFullDocumentDiagnosticReport
WorkspaceOptions
WorkspaceSymbol
WorkspaceSymbolClientCapabilities
WorkspaceSymbolOptions
WorkspaceSymbolParams
WorkspaceSymbolRegistrationOptions
WorkspaceSymbolRequest
WorkspaceSymbolResolveRequest
WorkspaceSymbolResolveResponse
WorkspaceSymbolResponse
WorkspaceSymbolResult
WorkspaceUnchangedDocumentDiagnosticReport
URI
Generated using Crystal 1.12.2
2024-10-05 22:30:58 UTC
class
LSProtocol::
DeclarationResponse
LSProtocol::DeclarationResponse
Reference
Object
Included Modules
JSON::Serializable
Defined in:
lsprotocol/types.cr
Constructors
.new
(id : Int32 | String, result : DeclarationResult | Nil)
.new
(pull : JSON::PullParser)
Instance Method Summary
#id
: Int32 | String | Nil
The request id.
#jsonrpc
: String
#result
: DeclarationResult | Nil
Constructor Detail
def self.
new
(id : Int32 | String, result :
DeclarationResult
| Nil)
#
[
View source
]
def self.
new
(pull : JSON::PullParser)
#
[
View source
]
Instance Method Detail
def
id
: Int32 | String | Nil
#
The request id.
[
View source
]
def
jsonrpc
: String
#
[
View source
]
def
result
:
DeclarationResult
| Nil
#
[
View source
]