File Coverage

blib/lib/Pod/POM/Constants.pm
Criterion Covered Total %
statement 36 36 100.0
branch n/a
condition n/a
subroutine 12 12 100.0
pod n/a
total 48 48 100.0


line stmt bran cond sub pod time code
1             #============================================================= -*-Perl-*-
2             #
3             # Pod::POM::Constants
4             #
5             # DESCRIPTION
6             # Constants used by Pod::POM.
7             #
8             # AUTHOR
9             # Andy Wardley
10             # Andrew Ford
11             #
12             # COPYRIGHT
13             # Copyright (C) 2000, 2001 Andy Wardley. All Rights Reserved.
14             # Copyright (C) 2009 Andrew Ford. All Rights Reserved.
15             #
16             # This module is free software; you can redistribute it and/or
17             # modify it under the same terms as Perl itself.
18             #
19             # REVISION
20             # $Id: Constants.pm 89 2013-05-30 07:41:52Z ford $
21             #
22             #========================================================================
23              
24             package Pod::POM::Constants;
25             $Pod::POM::Constants::VERSION = '2.00';
26             require 5.006;
27              
28 18     18   87 use strict;
  18         25  
  18         406  
29 18     18   85 use warnings;
  18         33  
  18         473  
30              
31 18     18   9478 use parent qw( Exporter );
  18         11757  
  18         341  
32              
33             our @SEQUENCE = qw( CMD LPAREN RPAREN FILE LINE CONTENT );
34             our @STATUS = qw( IGNORE REDUCE REJECT );
35             our @EXPORT_OK = ( @SEQUENCE, @STATUS );
36             our %EXPORT_TAGS = (
37             status => [ @STATUS ],
38             seq => [ @SEQUENCE ],
39             all => [ @STATUS, @SEQUENCE ],
40             );
41              
42             # sequence items
43 18     18   4669 use constant CMD => 0;
  18         29  
  18         2580  
44 18     18   314 use constant LPAREN => 1;
  18         72  
  18         1310  
45 18     18   320 use constant RPAREN => 2;
  18         32  
  18         2626  
46 18     18   95 use constant FILE => 3;
  18         36  
  18         1508  
47 18     18   303 use constant LINE => 4;
  18         39  
  18         1018  
48 18     18   87 use constant CONTENT => 5;
  18         35  
  18         906  
49              
50             # node add return values
51 18     18   92 use constant IGNORE => 0;
  18         26  
  18         849  
52 18     18   80 use constant REDUCE => 1;
  18         31  
  18         946  
53 18     18   83 use constant REJECT => 2;
  18         31  
  18         1039  
54              
55              
56             1;
57              
58             =head1 NAME
59              
60             Pod::POM::Constants
61              
62             =head1 DESCRIPTION
63              
64             Constants used by Pod::POM.
65              
66             =head1 AUTHOR
67              
68             Andy Wardley Eabw@kfs.orgE
69              
70             Andrew Ford Ea.ford@ford-mason.co.ukE
71              
72             =head1 COPYRIGHT AND LICENSE
73              
74             Copyright (C) 2000, 2001 Andy Wardley. All Rights Reserved.
75              
76             Copyright (C) 2009 Andrew Ford. All Rights Reserved.
77              
78             This module is free software; you can redistribute it and/or
79             modify it under the same terms as Perl itself.
80              
81             =cut