mirror of
https://github.com/golang/go
synced 2024-11-18 15:04:44 -07:00
186 lines
6.6 KiB
Go
186 lines
6.6 KiB
Go
|
package lsp
|
||
|
|
||
|
// code generated by helper. DO NOT EDIT.
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
|
||
|
"golang.org/x/tools/internal/lsp/protocol"
|
||
|
)
|
||
|
|
||
|
func (s *Server) CodeAction(ctx context.Context, params *protocol.CodeActionParams) ([]protocol.CodeAction, error) {
|
||
|
return s.codeAction(ctx, params)
|
||
|
}
|
||
|
|
||
|
func (s *Server) CodeLens(ctx context.Context, params *protocol.CodeLensParams) ([]protocol.CodeLens, error) {
|
||
|
return s.codeLens(ctx, params)
|
||
|
}
|
||
|
|
||
|
func (s *Server) ColorPresentation(context.Context, *protocol.ColorPresentationParams) ([]protocol.ColorPresentation, error) {
|
||
|
return nil, notImplemented("ColorPresentation")
|
||
|
}
|
||
|
|
||
|
func (s *Server) Completion(ctx context.Context, params *protocol.CompletionParams) (*protocol.CompletionList, error) {
|
||
|
return s.completion(ctx, params)
|
||
|
}
|
||
|
|
||
|
func (s *Server) Declaration(context.Context, *protocol.DeclarationParams) (protocol.Declaration, error) {
|
||
|
return nil, notImplemented("Declaration")
|
||
|
}
|
||
|
|
||
|
func (s *Server) Definition(ctx context.Context, params *protocol.DefinitionParams) (protocol.Definition, error) {
|
||
|
return s.definition(ctx, params)
|
||
|
}
|
||
|
|
||
|
func (s *Server) DidChange(ctx context.Context, params *protocol.DidChangeTextDocumentParams) error {
|
||
|
return s.didChange(ctx, params)
|
||
|
}
|
||
|
|
||
|
func (s *Server) DidChangeConfiguration(ctx context.Context, changed *protocol.DidChangeConfigurationParams) error {
|
||
|
return s.didChangeConfiguration(ctx, changed)
|
||
|
}
|
||
|
|
||
|
func (s *Server) DidChangeWatchedFiles(ctx context.Context, params *protocol.DidChangeWatchedFilesParams) error {
|
||
|
return s.didChangeWatchedFiles(ctx, params)
|
||
|
}
|
||
|
|
||
|
func (s *Server) DidChangeWorkspaceFolders(ctx context.Context, params *protocol.DidChangeWorkspaceFoldersParams) error {
|
||
|
return s.didChangeWorkspaceFolders(ctx, params)
|
||
|
}
|
||
|
|
||
|
func (s *Server) DidClose(ctx context.Context, params *protocol.DidCloseTextDocumentParams) error {
|
||
|
return s.didClose(ctx, params)
|
||
|
}
|
||
|
|
||
|
func (s *Server) DidOpen(ctx context.Context, params *protocol.DidOpenTextDocumentParams) error {
|
||
|
return s.didOpen(ctx, params)
|
||
|
}
|
||
|
|
||
|
func (s *Server) DidSave(ctx context.Context, params *protocol.DidSaveTextDocumentParams) error {
|
||
|
return s.didSave(ctx, params)
|
||
|
}
|
||
|
|
||
|
func (s *Server) DocumentColor(context.Context, *protocol.DocumentColorParams) ([]protocol.ColorInformation, error) {
|
||
|
return nil, notImplemented("DocumentColor")
|
||
|
}
|
||
|
|
||
|
func (s *Server) DocumentHighlight(ctx context.Context, params *protocol.DocumentHighlightParams) ([]protocol.DocumentHighlight, error) {
|
||
|
return s.documentHighlight(ctx, params)
|
||
|
}
|
||
|
|
||
|
func (s *Server) DocumentLink(ctx context.Context, params *protocol.DocumentLinkParams) ([]protocol.DocumentLink, error) {
|
||
|
return s.documentLink(ctx, params)
|
||
|
}
|
||
|
|
||
|
func (s *Server) DocumentSymbol(ctx context.Context, params *protocol.DocumentSymbolParams) ([]protocol.DocumentSymbol, error) {
|
||
|
return s.documentSymbol(ctx, params)
|
||
|
}
|
||
|
|
||
|
func (s *Server) ExecuteCommand(ctx context.Context, params *protocol.ExecuteCommandParams) (interface{}, error) {
|
||
|
return s.executeCommand(ctx, params)
|
||
|
}
|
||
|
|
||
|
func (s *Server) Exit(ctx context.Context) error {
|
||
|
return s.exit(ctx)
|
||
|
}
|
||
|
|
||
|
func (s *Server) FoldingRange(ctx context.Context, params *protocol.FoldingRangeParams) ([]protocol.FoldingRange, error) {
|
||
|
return s.foldingRange(ctx, params)
|
||
|
}
|
||
|
|
||
|
func (s *Server) Formatting(ctx context.Context, params *protocol.DocumentFormattingParams) ([]protocol.TextEdit, error) {
|
||
|
return s.formatting(ctx, params)
|
||
|
}
|
||
|
|
||
|
func (s *Server) Hover(ctx context.Context, params *protocol.HoverParams) (*protocol.Hover, error) {
|
||
|
return s.hover(ctx, params)
|
||
|
}
|
||
|
|
||
|
func (s *Server) Implementation(ctx context.Context, params *protocol.ImplementationParams) (protocol.Definition, error) {
|
||
|
return s.implementation(ctx, params)
|
||
|
}
|
||
|
|
||
|
func (s *Server) Initialize(ctx context.Context, params *protocol.ParamInitialize) (*protocol.InitializeResult, error) {
|
||
|
return s.initialize(ctx, params)
|
||
|
}
|
||
|
|
||
|
func (s *Server) Initialized(ctx context.Context, params *protocol.InitializedParams) error {
|
||
|
return s.initialized(ctx, params)
|
||
|
}
|
||
|
|
||
|
func (s *Server) LogTraceNotification(context.Context, *protocol.LogTraceParams) error {
|
||
|
return notImplemented("LogTraceNotification")
|
||
|
}
|
||
|
|
||
|
func (s *Server) NonstandardRequest(ctx context.Context, method string, params interface{}) (interface{}, error) {
|
||
|
return s.nonstandardRequest(ctx, method, params)
|
||
|
}
|
||
|
|
||
|
func (s *Server) OnTypeFormatting(context.Context, *protocol.DocumentOnTypeFormattingParams) ([]protocol.TextEdit, error) {
|
||
|
return nil, notImplemented("OnTypeFormatting")
|
||
|
}
|
||
|
|
||
|
func (s *Server) PrepareRename(ctx context.Context, params *protocol.PrepareRenameParams) (interface{}, error) {
|
||
|
return s.prepareRename(ctx, params)
|
||
|
}
|
||
|
|
||
|
func (s *Server) Progress(context.Context, *protocol.ProgressParams) error {
|
||
|
return notImplemented("Progress")
|
||
|
}
|
||
|
|
||
|
func (s *Server) RangeFormatting(context.Context, *protocol.DocumentRangeFormattingParams) ([]protocol.TextEdit, error) {
|
||
|
return nil, notImplemented("RangeFormatting")
|
||
|
}
|
||
|
|
||
|
func (s *Server) References(ctx context.Context, params *protocol.ReferenceParams) ([]protocol.Location, error) {
|
||
|
return s.references(ctx, params)
|
||
|
}
|
||
|
|
||
|
func (s *Server) Rename(ctx context.Context, params *protocol.RenameParams) (*protocol.WorkspaceEdit, error) {
|
||
|
return s.rename(ctx, params)
|
||
|
}
|
||
|
|
||
|
func (s *Server) Resolve(context.Context, *protocol.CompletionItem) (*protocol.CompletionItem, error) {
|
||
|
return nil, notImplemented("Resolve")
|
||
|
}
|
||
|
|
||
|
func (s *Server) ResolveCodeLens(context.Context, *protocol.CodeLens) (*protocol.CodeLens, error) {
|
||
|
return nil, notImplemented("ResolveCodeLens")
|
||
|
}
|
||
|
|
||
|
func (s *Server) ResolveDocumentLink(context.Context, *protocol.DocumentLink) (*protocol.DocumentLink, error) {
|
||
|
return nil, notImplemented("ResolveDocumentLink")
|
||
|
}
|
||
|
|
||
|
func (s *Server) SelectionRange(context.Context, *protocol.SelectionRangeParams) ([]protocol.SelectionRange, error) {
|
||
|
return nil, notImplemented("SelectionRange")
|
||
|
}
|
||
|
|
||
|
func (s *Server) SetTraceNotification(context.Context, *protocol.SetTraceParams) error {
|
||
|
return notImplemented("SetTraceNotification")
|
||
|
}
|
||
|
|
||
|
func (s *Server) Shutdown(ctx context.Context) error {
|
||
|
return s.shutdown(ctx)
|
||
|
}
|
||
|
|
||
|
func (s *Server) SignatureHelp(ctx context.Context, params *protocol.SignatureHelpParams) (*protocol.SignatureHelp, error) {
|
||
|
return s.signatureHelp(ctx, params)
|
||
|
}
|
||
|
|
||
|
func (s *Server) Symbol(context.Context, *protocol.WorkspaceSymbolParams) ([]protocol.SymbolInformation, error) {
|
||
|
return nil, notImplemented("Symbol")
|
||
|
}
|
||
|
|
||
|
func (s *Server) TypeDefinition(ctx context.Context, params *protocol.TypeDefinitionParams) (protocol.Definition, error) {
|
||
|
return s.typeDefinition(ctx, params)
|
||
|
}
|
||
|
|
||
|
func (s *Server) WillSave(context.Context, *protocol.WillSaveTextDocumentParams) error {
|
||
|
return notImplemented("WillSave")
|
||
|
}
|
||
|
|
||
|
func (s *Server) WillSaveWaitUntil(context.Context, *protocol.WillSaveTextDocumentParams) ([]protocol.TextEdit, error) {
|
||
|
return nil, notImplemented("WillSaveWaitUntil")
|
||
|
}
|