lsp

package
v0.0.0-...-ec16dcc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package lsp is the Dogma language server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	In             io.ReadCloser
	Out            io.Writer
	Version        string
	Logger         *slog.Logger
	ExchangeLogger harpy.ExchangeLogger
}

Server is a JSON-RPC server that handles LSP requests.

func (*Server) Run

func (s *Server) Run(ctx context.Context) error

Run starts the JSON-RPC server.

Directories

Path Synopsis
Package proto is the data model for the language server protocol.
Package proto is the data model for the language server protocol.
generate
Package main generates Go code that represents the LSP data model.
Package main generates Go code that represents the LSP data model.
metamodel
Package metamodel parses and represents the LSP meta-model.
Package metamodel parses and represents the LSP meta-model.
Package transport provides a JSON-RPC transport over standard IO streams.
Package transport provides a JSON-RPC transport over standard IO streams.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL