Documentation
¶
Overview ¶
Package lsp provides an LSP server for DLiteScript.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AstNodeInfo ¶ added in v0.1.1
AstNodeInfo represents information about an AST node.
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler represents the LSP handler.
func (*Handler) GetShutdownChan ¶
func (h *Handler) GetShutdownChan() chan struct{}
GetShutdownChan returns the shutdown channel.
func (*Handler) Handle ¶
func (h *Handler) Handle( method string, params json.RawMessage, ) (json.RawMessage, *jsonrpc2.Error)
Handle handles a JSON-RPC request.
Source Files
¶
- calculate_line_count_and_lengths.go
- format_hover_content.go
- get_ast_node_at_position.go
- get_ast_node_info.go
- handle_did_change.go
- handle_did_close.go
- handle_did_open.go
- handle_exit.go
- handle_hover.go
- handle_initialize.go
- handle_shutdown.go
- handle_signature_help.go
- handler.go
- lsp.go
- parse_document_to_ast.go
- print_debug_message.go
- server.go
Click to show internal directories.
Click to hide internal directories.