langserver

package
v0.0.0-...-080403f Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2020 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Capability

type Capability int
const (
	SemanticHighlightingCapability Capability
)

type LangServer

type LangServer struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer() *LangServer

func (*LangServer) Listen

func (ls *LangServer) Listen(ctx context.Context, r io.Reader, w io.WriteCloser) error

type TextDocument

type TextDocument struct {
	Identifier lsp.VersionedTextDocumentIdentifier
	Module     *parser.Module
	Text       string
	Err        error
}

func NewTextDocument

func NewTextDocument(uri lsp.DocumentURI, text string) TextDocument

Jump to

Keyboard shortcuts

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