line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
use strict; |
3
|
9
|
|
|
9
|
|
45
|
use warnings; |
|
9
|
|
|
|
|
18
|
|
|
9
|
|
|
|
|
215
|
|
4
|
9
|
|
|
9
|
|
36
|
|
|
9
|
|
|
|
|
10
|
|
|
9
|
|
|
|
|
188
|
|
5
|
|
|
|
|
|
|
use parent 'PLS::Server::Request'; |
6
|
9
|
|
|
9
|
|
35
|
|
|
9
|
|
|
|
|
10
|
|
|
9
|
|
|
|
|
37
|
|
7
|
|
|
|
|
|
|
=head1 NAME |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
PLS::Server::Request::Window::WorkDoneProgress::Create |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=head1 DESCRIPTION |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
This is a request from the server to the client to ask the client |
14
|
|
|
|
|
|
|
to create a work done progress. |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=cut |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
{ |
19
|
|
|
|
|
|
|
my ($class) = @_; |
20
|
|
|
|
|
|
|
|
21
|
5
|
|
|
5
|
0
|
25
|
my @hex_chars = ('0' .. '9', 'A' .. 'F'); |
22
|
|
|
|
|
|
|
my $token = join '', map { $hex_chars[rand @hex_chars] } 1 .. 8; |
23
|
5
|
|
|
|
|
44
|
|
24
|
5
|
|
|
|
|
28
|
return bless {method => 'window/workDoneProgress/create', params => {token => $token}}, $class; |
|
40
|
|
|
|
|
325
|
|
25
|
|
|
|
|
|
|
} ## end sub new |
26
|
5
|
|
|
|
|
169
|
|
27
|
|
|
|
|
|
|
1; |