line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
use strict; |
3
|
9
|
|
|
9
|
|
54
|
use warnings; |
|
9
|
|
|
|
|
10
|
|
|
9
|
|
|
|
|
274
|
|
4
|
9
|
|
|
9
|
|
39
|
|
|
9
|
|
|
|
|
18
|
|
|
9
|
|
|
|
|
185
|
|
5
|
|
|
|
|
|
|
use parent 'PLS::Server::Request'; |
6
|
9
|
|
|
9
|
|
254
|
|
|
9
|
|
|
|
|
83
|
|
|
9
|
|
|
|
|
52
|
|
7
|
|
|
|
|
|
|
=head1 NAME |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
PLS::Server::Request::Client::RegisterCapability |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=head1 DESCRIPTION |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
This is a message from the server to the client requesting that |
14
|
|
|
|
|
|
|
a new capability be registered. |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
This request must be sent for capabilities that cannot be registered for statically. |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=cut |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
{ |
21
|
|
|
|
|
|
|
my ($class, $registrations) = @_; |
22
|
|
|
|
|
|
|
|
23
|
5
|
|
|
5
|
0
|
23
|
my %self = ( |
24
|
|
|
|
|
|
|
method => 'client/registerCapability', |
25
|
5
|
|
|
|
|
60
|
params => { |
26
|
|
|
|
|
|
|
registrations => $registrations |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
); |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
return bless \%self, $class; |
31
|
|
|
|
|
|
|
} ## end sub new |
32
|
5
|
|
|
|
|
1032
|
|
33
|
|
|
|
|
|
|
1; |