File Coverage

blib/lib/PLS/Server/Request/TextDocument/DocumentSymbol.pm
Criterion Covered Total %
statement 12 14 85.7
branch n/a
condition n/a
subroutine 4 5 80.0
pod 0 1 0.0
total 16 20 80.0


line stmt bran cond sub pod time code
1             package PLS::Server::Request::TextDocument::DocumentSymbol;
2              
3 9     9   71 use strict;
  9         73  
  9         238  
4 9     9   45 use warnings;
  9         36  
  9         200  
5              
6 9     9   37 use parent 'PLS::Server::Request';
  9         26  
  9         100  
7              
8 9     9   4301 use PLS::Server::Response::DocumentSymbol;
  9         20  
  9         550  
9              
10             =head1 NAME
11              
12             PLS::Server::Response::DocumentSymbol
13              
14             =head1 DESCRIPTION
15              
16             This is a message from the client to the server requesting
17             a list of all symbols in the current document.
18              
19             =cut
20              
21             sub service
22             {
23 0     0 0   my ($self) = @_;
24              
25 0           return PLS::Server::Response::DocumentSymbol->new($self);
26             }
27              
28             1;