line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
use strict; |
3
|
9
|
|
|
9
|
|
150
|
use warnings; |
|
9
|
|
|
|
|
31
|
|
|
9
|
|
|
|
|
562
|
|
4
|
9
|
|
|
9
|
|
156
|
|
|
9
|
|
|
|
|
114
|
|
|
9
|
|
|
|
|
893
|
|
5
|
|
|
|
|
|
|
use parent 'PLS::Server::Request'; |
6
|
9
|
|
|
9
|
|
67
|
|
|
9
|
|
|
|
|
72
|
|
|
9
|
|
|
|
|
372
|
|
7
|
|
|
|
|
|
|
use PLS::Parser::Document; |
8
|
9
|
|
|
9
|
|
1606
|
use PLS::Server::Request::TextDocument::PublishDiagnostics; |
|
9
|
|
|
|
|
18
|
|
|
9
|
|
|
|
|
376
|
|
9
|
9
|
|
|
9
|
|
59
|
|
|
9
|
|
|
|
|
68
|
|
|
9
|
|
|
|
|
1338
|
|
10
|
|
|
|
|
|
|
=head1 NAME |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
PLS::Server::Request::TextDocument::DidClose |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=head1 DESCRIPTION |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
This is a notification from the client to the server that |
17
|
|
|
|
|
|
|
a text document was closed. |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=cut |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
{ |
22
|
|
|
|
|
|
|
my ($self, $server) = @_; |
23
|
|
|
|
|
|
|
|
24
|
0
|
|
|
0
|
0
|
|
$server->send_server_request(PLS::Server::Request::TextDocument::PublishDiagnostics->new(uri => $self->{params}{textDocument}{uri}, close => 1)); |
25
|
|
|
|
|
|
|
|
26
|
0
|
|
|
|
|
|
my $text_document = $self->{params}{textDocument}; |
27
|
|
|
|
|
|
|
PLS::Parser::Document->close_file(%{$text_document}); |
28
|
0
|
|
|
|
|
|
|
29
|
0
|
|
|
|
|
|
return; |
|
0
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
} ## end sub service |
31
|
0
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
1; |