Lines Matching full:server
15 // langsvr implements a Language Server for the SPIRV assembly language.
74 log.Println("language server started")
77 s := server{
86 log.Println("language server stopped")
89 type server struct { struct
118 func (s *server) DidChangeWorkspaceFolders(ctx context.Context, p *lsp.DidChangeWorkspaceFoldersPar… argument
119 log.Println("server.DidChangeWorkspaceFolders()")
122 func (s *server) Initialized(ctx context.Context, p *lsp.InitializedParams) error { argument
123 log.Println("server.Initialized()")
126 func (s *server) Exit(ctx context.Context) error { argument
127 log.Println("server.Exit()")
130 func (s *server) DidChangeConfiguration(ctx context.Context, p *lsp.DidChangeConfigurationParams) e… argument
131 log.Println("server.DidChangeConfiguration()")
134 func (s *server) DidOpen(ctx context.Context, p *lsp.DidOpenTextDocumentParams) error { argument
135 log.Println("server.DidOpen()")
138 func (s *server) DidChange(ctx context.Context, p *lsp.DidChangeTextDocumentParams) error { argument
139 log.Println("server.DidChange()")
142 func (s *server) DidClose(ctx context.Context, p *lsp.DidCloseTextDocumentParams) error { argument
143 log.Println("server.DidClose()")
146 func (s *server) DidSave(ctx context.Context, p *lsp.DidSaveTextDocumentParams) error { argument
147 log.Println("server.DidSave()")
150 func (s *server) WillSave(ctx context.Context, p *lsp.WillSaveTextDocumentParams) error { argument
151 log.Println("server.WillSave()")
154 func (s *server) DidChangeWatchedFiles(ctx context.Context, p *lsp.DidChangeWatchedFilesParams) err… argument
155 log.Println("server.DidChangeWatchedFiles()")
158 func (s *server) Progress(ctx context.Context, p *lsp.ProgressParams) error { argument
159 log.Println("server.Progress()")
162 func (s *server) SetTraceNotification(ctx context.Context, p *lsp.SetTraceParams) error { argument
163 log.Println("server.SetTraceNotification()")
166 func (s *server) LogTraceNotification(ctx context.Context, p *lsp.LogTraceParams) error { argument
167 log.Println("server.LogTraceNotification()")
170 func (s *server) Implementation(ctx context.Context, p *lsp.ImplementationParams) ([]lsp.Location, … argument
171 log.Println("server.Implementation()")
174 func (s *server) TypeDefinition(ctx context.Context, p *lsp.TypeDefinitionParams) ([]lsp.Location, … argument
175 log.Println("server.TypeDefinition()")
178 func (s *server) DocumentColor(ctx context.Context, p *lsp.DocumentColorParams) ([]lsp.ColorInforma… argument
179 log.Println("server.DocumentColor()")
182 func (s *server) ColorPresentation(ctx context.Context, p *lsp.ColorPresentationParams) ([]lsp.Colo… argument
183 log.Println("server.ColorPresentation()")
186 func (s *server) FoldingRange(ctx context.Context, p *lsp.FoldingRangeParams) ([]lsp.FoldingRange, … argument
187 log.Println("server.FoldingRange()")
190 func (s *server) Declaration(ctx context.Context, p *lsp.DeclarationParams) ([]lsp.DeclarationLink,… argument
191 log.Println("server.Declaration()")
194 func (s *server) SelectionRange(ctx context.Context, p *lsp.SelectionRangeParams) ([]lsp.SelectionR… argument
195 log.Println("server.SelectionRange()")
198 func (s *server) Initialize(ctx context.Context, p *lsp.ParamInitia) (*lsp.InitializeResult, error)… argument
199 log.Println("server.Initialize()")
215 func (s *server) Shutdown(ctx context.Context) error { argument
216 log.Println("server.Shutdown()")
219 func (s *server) WillSaveWaitUntil(ctx context.Context, p *lsp.WillSaveTextDocumentParams) ([]lsp.T… argument
220 log.Println("server.WillSaveWaitUntil()")
223 func (s *server) Completion(ctx context.Context, p *lsp.CompletionParams) (*lsp.CompletionList, err… argument
224 log.Println("server.Completion()")
227 func (s *server) Resolve(ctx context.Context, p *lsp.CompletionItem) (*lsp.CompletionItem, error) { argument
228 log.Println("server.Resolve()")
231 func (s *server) Hover(ctx context.Context, p *lsp.HoverParams) (*lsp.Hover, error) { argument
232 log.Println("server.Hover()")
286 func (s *server) SignatureHelp(ctx context.Context, p *lsp.SignatureHelpParams) (*lsp.SignatureHelp… argument
287 log.Println("server.SignatureHelp()")
290 func (s *server) Definition(ctx context.Context, p *lsp.DefinitionParams) ([]lsp.Location, error) { argument
291 log.Println("server.Definition()")
307 func (s *server) References(ctx context.Context, p *lsp.ReferenceParams) ([]lsp.Location, error) { argument
308 log.Println("server.References()")
327 func (s *server) DocumentHighlight(ctx context.Context, p *lsp.DocumentHighlightParams) ([]lsp.Docu… argument
328 log.Println("server.DocumentHighlight()")
331 func (s *server) DocumentSymbol(ctx context.Context, p *lsp.DocumentSymbolParams) ([]lsp.DocumentSy… argument
332 log.Println("server.DocumentSymbol()")
335 func (s *server) CodeAction(ctx context.Context, p *lsp.CodeActionParams) ([]lsp.CodeAction, error)… argument
336 log.Println("server.CodeAction()")
339 func (s *server) Symbol(ctx context.Context, p *lsp.WorkspaceSymbolParams) ([]lsp.SymbolInformation… argument
340 log.Println("server.Symbol()")
343 func (s *server) CodeLens(ctx context.Context, p *lsp.CodeLensParams) ([]lsp.CodeLens, error) { argument
344 log.Println("server.CodeLens()")
347 func (s *server) ResolveCodeLens(ctx context.Context, p *lsp.CodeLens) (*lsp.CodeLens, error) { argument
348 log.Println("server.ResolveCodeLens()")
351 func (s *server) DocumentLink(ctx context.Context, p *lsp.DocumentLinkParams) ([]lsp.DocumentLink, … argument
352 log.Println("server.DocumentLink()")
355 func (s *server) ResolveDocumentLink(ctx context.Context, p *lsp.DocumentLink) (*lsp.DocumentLink, … argument
356 log.Println("server.ResolveDocumentLink()")
359 func (s *server) Formatting(ctx context.Context, p *lsp.DocumentFormattingParams) ([]lsp.TextEdit, … argument
360 log.Println("server.Formatting()")
422 func (s *server) RangeFormatting(ctx context.Context, p *lsp.DocumentRangeFormattingParams) ([]lsp.… argument
423 log.Println("server.RangeFormatting()")
426 func (s *server) OnTypeFormatting(ctx context.Context, p *lsp.DocumentOnTypeFormattingParams) ([]ls… argument
427 log.Println("server.OnTypeFormatting()")
430 func (s *server) Rename(ctx context.Context, p *lsp.RenameParams) (*lsp.WorkspaceEdit, error) { argument
431 log.Println("server.Rename()")
450 func (s *server) PrepareRename(ctx context.Context, p *lsp.PrepareRenameParams) (*lsp.Range, error)… argument
451 log.Println("server.PrepareRename()")
454 func (s *server) ExecuteCommand(ctx context.Context, p *lsp.ExecuteCommandParams) (interface{}, err… argument
455 log.Println("server.ExecuteCommand()")
459 func (s *server) processFile(ctx context.Context, uri, source string) error { argument
460 log.Println("server.DidOpen()")
485 func (s *server) getFile(uri string) *file { argument