-
-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathdeclaration.gen.go
More file actions
47 lines (39 loc) · 1.53 KB
/
Copy pathdeclaration.gen.go
File metadata and controls
47 lines (39 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// Copyright 2026 The Go Language Server Authors
// SPDX-License-Identifier: BSD-3-Clause
// Code generated by internal/genlsp from metaModel.json; DO NOT EDIT.
package protocol
// DeclarationLink Information about where a symbol is declared.
//
// Provides additional metadata over normal [Location] declarations, including the range of
// the declaring symbol.
//
// Servers should prefer returning `DeclarationLink` over `Declaration` if supported
// by the client.
type DeclarationLink LocationLink
// DeclarationParams is defined by the LSP specification.
type DeclarationParams struct {
TextDocumentPositionParams
WorkDoneProgressParams
PartialResultParams
}
// DeclarationRegistrationOptions is defined by the LSP specification.
type DeclarationRegistrationOptions struct {
DeclarationOptions
TextDocumentRegistrationOptions
StaticRegistrationOptions
}
// DeclarationOptions is defined by the LSP specification.
type DeclarationOptions struct {
WorkDoneProgressOptions
}
// DeclarationClientCapabilities is defined by the LSP specification.
//
// Since: 3.14.0
type DeclarationClientCapabilities struct {
// DynamicRegistration Whether declaration supports dynamic registration. If this is set to `true`
// the client supports the new `DeclarationRegistrationOptions` return value
// for the corresponding server capability as well.
DynamicRegistration *bool `json:"dynamicRegistration,omitzero"`
// LinkSupport The client supports additional metadata in the form of declaration links.
LinkSupport *bool `json:"linkSupport,omitzero"`
}