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