line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
use strict; |
3
|
9
|
|
|
9
|
|
53
|
use warnings; |
|
9
|
|
|
|
|
9
|
|
|
9
|
|
|
|
|
358
|
|
4
|
9
|
|
|
9
|
|
52
|
|
|
9
|
|
|
|
|
18
|
|
|
9
|
|
|
|
|
179
|
|
5
|
|
|
|
|
|
|
use parent 'PLS::Server::Request'; |
6
|
9
|
|
|
9
|
|
44
|
|
|
9
|
|
|
|
|
9
|
|
|
9
|
|
|
|
|
35
|
|
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
|
18
|
my @hex_chars = ('0' .. '9', 'A' .. 'F'); |
22
|
|
|
|
|
|
|
my $token = join '', map { $hex_chars[rand @hex_chars] } 1 .. 8; |
23
|
5
|
|
|
|
|
48
|
|
24
|
5
|
|
|
|
|
17
|
return bless {method => 'window/workDoneProgress/create', params => {token => $token}}, $class; |
|
40
|
|
|
|
|
173
|
|
25
|
|
|
|
|
|
|
} ## end sub new |
26
|
5
|
|
|
|
|
99
|
|
27
|
|
|
|
|
|
|
1; |