languageserver

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Document

type Document struct {
	URI               protocol.DocumentUri
	RunningDiagnostic bool
	Content           string
}

type DocumentStore

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

func (*DocumentStore) Add

func (s *DocumentStore) Add(uri string, content string) *Document

func (*DocumentStore) Get

func (s *DocumentStore) Get(uri string) (*Document, bool)

func (*DocumentStore) Remove

func (s *DocumentStore) Remove(uri string)

type ServerState

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

func NewServer

func NewServer(version string, lintRequest *utils.LintFileRequest) *ServerState

func (*ServerState) Run

func (s *ServerState) Run() error

Jump to

Keyboard shortcuts

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