File Coverage

blib/lib/PLS/Server/Request/TextDocument/Definition.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::Definition;
2              
3 11     11   86 use strict;
  11         31  
  11         520  
4 11     11   60 use warnings;
  11         30  
  11         916  
5              
6 11     11   101 use parent 'PLS::Server::Request';
  11         42  
  11         124  
7              
8 11     11   7934 use PLS::Server::Response::Location;
  11         52  
  11         1302  
9              
10             =head1 NAME
11              
12             PLS::Server::Request::TextDocument::Definition
13              
14             =head1 DESCRIPTION
15              
16             This is a message from the client to the server requesting the
17             definition location of a particular symbol at a given location.
18              
19             =cut
20              
21             sub service
22             {
23 0     0 0   my ($self) = @_;
24              
25 0           return PLS::Server::Response::Location->new($self);
26             }
27              
28             1;