Documentation ¶
Index ¶
- Constants
- Variables
- func NewInoxLspNamespace() *core.Namespace
- func StartLspServer(ctx *core.Context, config *core.Object) error
- type LSPSession
- func (s *LSPSession) Equal(ctx *core.Context, other core.Value, alreadyCompared map[uintptr]uintptr, ...) bool
- func (s *LSPSession) GetGoMethod(name string) (*core.GoFunction, bool)
- func (s *LSPSession) IsMutable() bool
- func (s *LSPSession) IsSharable(originState *core.GlobalState) (bool, string)
- func (s *LSPSession) IsShared() bool
- func (s *LSPSession) PrettyPrint(w *bufio.Writer, config *core.PrettyPrintConfig, depth int, ...)
- func (s *LSPSession) Prop(ctx *core.Context, name string) core.Value
- func (*LSPSession) PropertyNames(ctx *core.Context) []string
- func (*LSPSession) SetProp(ctx *core.Context, name string, value core.Value) error
- func (s *LSPSession) Share(originState *core.GlobalState)
- func (s *LSPSession) SmartLock(state *core.GlobalState)
- func (s *LSPSession) SmartUnlock(state *core.GlobalState)
- func (evs *LSPSession) ToSymbolicValue(ctx *core.Context, encountered map[uintptr]symbolic.Value) (symbolic.Value, error)
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 ¶
Types ¶
type LSPSession ¶
type LSPSession struct {
// contains filtered or unexported fields
}
func NewLspSession ¶
func NewLspSession(rpcSession *jsonrpc.Session) *LSPSession
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) PropertyNames ¶
func (*LSPSession) PropertyNames(ctx *core.Context) []string
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)
Click to show internal directories.
Click to hide internal directories.