gotools/gopls/internal/test/integration/fake/client.go

type ClientHooks

type Client

type ApplyEditHandler

// SetApplyEditHandler sets the (non-nil) handler for ApplyEdit
// downcalls, and returns a function to restore the previous one.
// Use it around client-to-server RPCs to capture the edits.
// The default handler is c.Editor.onApplyEdit
func (c *Client) SetApplyEditHandler(h ApplyEditHandler) func() {}

func (c *Client) CodeLensRefresh(context.Context) error {}

func (c *Client) InlayHintRefresh(context.Context) error {}

func (c *Client) DiagnosticRefresh(context.Context) error {}

func (c *Client) FoldingRangeRefresh(context.Context) error {}

func (c *Client) InlineValueRefresh(context.Context) error {}

func (c *Client) SemanticTokensRefresh(context.Context) error {}

func (c *Client) LogTrace(context.Context, *protocol.LogTraceParams) error {}

func (c *Client) TextDocumentContentRefresh(context.Context, *protocol.TextDocumentContentRefreshParams) error {}

func (c *Client) ShowMessage(ctx context.Context, params *protocol.ShowMessageParams) error {}

func (c *Client) ShowMessageRequest(ctx context.Context, params *protocol.ShowMessageRequestParams) (*protocol.MessageActionItem, error) {}

func (c *Client) LogMessage(ctx context.Context, params *protocol.LogMessageParams) error {}

func (c *Client) Event(ctx context.Context, event *interface{}

func (c *Client) PublishDiagnostics(ctx context.Context, params *protocol.PublishDiagnosticsParams) error {}

func (c *Client) WorkspaceFolders(context.Context) ([]protocol.WorkspaceFolder, error) {}

func (c *Client) Configuration(_ context.Context, p *protocol.ParamConfiguration) ([]interface{}

func (c *Client) RegisterCapability(ctx context.Context, params *protocol.RegistrationParams) error {}

func (c *Client) UnregisterCapability(ctx context.Context, params *protocol.UnregistrationParams) error {}

func (c *Client) Progress(ctx context.Context, params *protocol.ProgressParams) error {}

func (c *Client) WorkDoneProgressCreate(ctx context.Context, params *protocol.WorkDoneProgressCreateParams) error {}

func (c *Client) ShowDocument(ctx context.Context, params *protocol.ShowDocumentParams) (*protocol.ShowDocumentResult, error) {}

func (c *Client) ApplyEdit(ctx context.Context, params *protocol.ApplyWorkspaceEditParams) (*protocol.ApplyWorkspaceEditResult, error) {}