Documentation ¶
Overview ¶
Package lsp implements a JSON-RPC 2.0 server handler which implements the Language Server Protocol.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler handles JSON-RPC requests and notifications.
func (*Handler) HandleNotification ¶
func (h *Handler) HandleNotification(method string, jsonParams *json.RawMessage)
HandleNotification responds to a JSON-RPC notification.
func (*Handler) HandleRequest ¶
HandleRequest responds to a JSON-RPC request.
Directories ¶
Path | Synopsis |
---|---|
Package protocol contains the types required to implement handlers for the LSP methods that loxls supports.
|
Package protocol contains the types required to implement handlers for the LSP methods that loxls supports. |
typegen
Entry point for typegen.
|
Entry point for typegen. |
typegen/generate
Package generate provides a function to generate Go source code for LSP types.
|
Package generate provides a function to generate Go source code for LSP types. |
typegen/metamodel
Package metamodel contains the types that make up the LSP meta model and a function to load the meta model from Microsoft's website.
|
Package metamodel contains the types that make up the LSP meta model and a function to load the meta model from Microsoft's website. |
Click to show internal directories.
Click to hide internal directories.