File Coverage

blib/lib/PPI/Token/QuoteLike.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package PPI::Token::QuoteLike;
2              
3             =pod
4              
5             =head1 NAME
6              
7             PPI::Token::QuoteLike - Quote-like operator abstract base class
8              
9             =head1 INHERITANCE
10              
11             PPI::Token::QuoteLike
12             isa PPI::Token
13             isa PPI::Element
14              
15             =head1 DESCRIPTION
16              
17             The C class is never instantiated, and simply
18             provides a common abstract base class for the five quote-like operator
19             classes. In PPI, a "quote-like" is the set of quote-like things that
20             exclude the string quotes and regular expressions.
21              
22             The subclasses of C are:
23              
24             =over 2
25              
26             =item qw{} - L
27              
28             =item `` - L
29              
30             =item qx{} - L
31              
32             =item qr// - L
33              
34             =item - L
35              
36             =back
37              
38             The names are hopefully obvious enough not to have to explain what
39             each class is. See their pages for more details.
40              
41             You may note that the backtick and command quote-like are treated
42             separately, even though they do the same thing. This is intentional,
43             as the inherit from and are processed by two different parts of the
44             PPI's quote engine.
45              
46             =cut
47              
48 64     64   347 use strict;
  64         121  
  64         1407  
49 64     64   254 use PPI::Token ();
  64         99  
  64         2938  
50              
51             our $VERSION = '1.275';
52              
53             our @ISA = "PPI::Token";
54              
55             1;
56              
57             =pod
58              
59             =head1 SUPPORT
60              
61             See the L in the main module.
62              
63             =head1 AUTHOR
64              
65             Adam Kennedy Eadamk@cpan.orgE
66              
67             =head1 COPYRIGHT
68              
69             Copyright 2001 - 2011 Adam Kennedy.
70              
71             This program is free software; you can redistribute
72             it and/or modify it under the same terms as Perl itself.
73              
74             The full text of the license can be found in the
75             LICENSE file included with this module.
76              
77             =cut