« blib/lib/PLS/Server/Request/TextDocument/DidClose.pm
↑ Summary
blib/lib/PLS/Server/Response/InitializeResult.pm »
| 1 | package PLS::Server::Request::TextDocument::DidSave; | ||
| 2 | |||
| 3 | 13 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 13 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 13 | ▶ | use parent 'PLS::Server::Request'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 13 | ▶ | use PLS::Parser::Document; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 13 | ▶ | use PLS::Server::Request::TextDocument::PublishDiagnostics; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | PLS::Server::Request::TextDocument::DidSave | ||
| 14 | |||
| 15 | =head1 DESCRIPTION | ||
| 16 | |||
| 17 | This is a notification from the client to the server that | ||
| 18 | a text document was saved. | ||
| 19 | |||
| 20 | =cut | ||
| 21 | |||
| 22 | sub service | ||
| 23 | 0 | ▶ | { |
|
Subroutine
service: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 24 | 0 | my ($self, $server) = @_; | |
| 25 | |||
| 26 | 0 | my $uri = $self->{params}{textDocument}{uri}; | |
| 27 | 0 | $server->send_server_request(PLS::Server::Request::TextDocument::PublishDiagnostics->new(uri => $uri)); | |
| 28 | |||
| 29 | 0 | return; | |
| 30 | } ## end sub service | ||
| 31 | |||
| 32 | 13 | 1; | |