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 9     9   55 use strict;
  9         18  
  9         244  
4 9     9   37 use warnings;
  9         18  
  9         209  
5              
6 9     9   53 use parent 'PLS::Server::Request';
  9         10  
  9         61  
7              
8 9     9   3506 use PLS::Server::Response::Location;
  9         27  
  9         541  
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;