analysis

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RadShebang = "#!/usr/bin/env rad"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DocState

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

func (*DocState) GetLine

func (d *DocState) GetLine(line int) string

type State

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

func NewState

func NewState() *State

func (*State) AddDoc

func (s *State) AddDoc(uri, text string)

func (*State) CodeAction

func (s *State) CodeAction(uri string, r lsp.Range) (result []lsp.CodeAction, err error)

func (*State) Complete

func (s *State) Complete(uri string, pos lsp.Pos) (result []lsp.CompletionItem, err error)

func (*State) GetDiagnostics

func (s *State) GetDiagnostics(uri string) []lsp.Diagnostic

func (*State) NewDocState

func (s *State) NewDocState(uri, text string) *DocState

func (*State) UpdateDoc

func (s *State) UpdateDoc(uri string, changes []lsp.TextDocumentContentChangeEvent)

Jump to

Keyboard shortcuts

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