line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Perl::LanguageServer::Req ; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
8
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
30
|
|
4
|
1
|
|
|
1
|
|
5
|
use Moose ; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
14
|
|
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
8163
|
no warnings 'uninitialized' ; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
186
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
# --------------------------------------------------------------------------- |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
has 'id' => |
11
|
|
|
|
|
|
|
( |
12
|
|
|
|
|
|
|
isa => 'Maybe[Str]', |
13
|
|
|
|
|
|
|
is => 'ro' |
14
|
|
|
|
|
|
|
) ; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
has 'params' => |
17
|
|
|
|
|
|
|
( |
18
|
|
|
|
|
|
|
isa => 'HashRef', |
19
|
|
|
|
|
|
|
is => 'ro' |
20
|
|
|
|
|
|
|
) ; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
has 'cancel' => |
23
|
|
|
|
|
|
|
( |
24
|
|
|
|
|
|
|
isa => 'Bool', |
25
|
|
|
|
|
|
|
is => 'rw', |
26
|
|
|
|
|
|
|
default => 0, |
27
|
|
|
|
|
|
|
) ; |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
has 'is_dap' => |
30
|
|
|
|
|
|
|
( |
31
|
|
|
|
|
|
|
isa => 'Bool', |
32
|
|
|
|
|
|
|
is => 'rw', |
33
|
|
|
|
|
|
|
default => 0, |
34
|
|
|
|
|
|
|
) ; |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
has 'type' => |
37
|
|
|
|
|
|
|
( |
38
|
|
|
|
|
|
|
isa => 'Str', |
39
|
|
|
|
|
|
|
is => 'rw', |
40
|
|
|
|
|
|
|
) ; |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
# --------------------------------------------------------------------------- |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
sub cancel_req |
45
|
|
|
|
|
|
|
{ |
46
|
0
|
|
|
0
|
0
|
|
my ($self) = @_ ; |
47
|
|
|
|
|
|
|
|
48
|
0
|
|
|
|
|
|
$self -> cancel (1) ; |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
} |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
# --------------------------------------------------------------------------- |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
1 ; |
56
|
|
|
|
|
|
|
|