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