inoxlsp_ns

package
v0.2.1 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

View Source
const (
	NAMESPACE_NAME = "inoxlsp"
)

Variables

View Source
var (
	LSP_SESSION_PATTERN = &core.TypePattern{
		Name:          NAMESPACE_NAME + ".session",
		Type:          reflect.TypeOf((*LSPSession)(nil)),
		SymbolicValue: symbolic_inoxlsp.ANY_LSP_SESSION,
	}
)
View Source
var (
	LSP_SESSION_PROPNAMES = []string{}
)

Functions

func NewInoxLspNamespace

func NewInoxLspNamespace() *core.Namespace

func StartLspServer

func StartLspServer(ctx *core.Context, config *core.Object) error

Types

type LSPSession

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

func NewLspSession

func NewLspSession(rpcSession *jsonrpc.Session) *LSPSession

func (*LSPSession) Equal

func (s *LSPSession) Equal(ctx *core.Context, other core.Value, alreadyCompared map[uintptr]uintptr, depth int) bool

func (*LSPSession) GetGoMethod

func (s *LSPSession) GetGoMethod(name string) (*core.GoFunction, bool)

func (*LSPSession) IsMutable

func (s *LSPSession) IsMutable() bool

func (*LSPSession) IsSharable

func (s *LSPSession) IsSharable(originState *core.GlobalState) (bool, string)

func (*LSPSession) IsShared

func (s *LSPSession) IsShared() bool

func (*LSPSession) PrettyPrint

func (s *LSPSession) PrettyPrint(w *bufio.Writer, config *core.PrettyPrintConfig, depth int, parentIndentCount int)

func (*LSPSession) Prop

func (s *LSPSession) Prop(ctx *core.Context, name string) core.Value

func (*LSPSession) PropertyNames

func (*LSPSession) PropertyNames(ctx *core.Context) []string

func (*LSPSession) SetProp

func (*LSPSession) SetProp(ctx *core.Context, name string, value core.Value) error

func (*LSPSession) Share

func (s *LSPSession) Share(originState *core.GlobalState)

func (*LSPSession) SmartLock

func (s *LSPSession) SmartLock(state *core.GlobalState)

func (*LSPSession) SmartUnlock

func (s *LSPSession) SmartUnlock(state *core.GlobalState)

func (*LSPSession) ToSymbolicValue

func (evs *LSPSession) ToSymbolicValue(ctx *core.Context, encountered map[uintptr]symbolic.Value) (symbolic.Value, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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