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 = '0.30';
26             require 5.006;
27              
28 18     18   87 use strict;
  18         28  
  18         393  
29 18     18   78 use warnings;
  18         29  
  18         437  
30              
31 18     18   8661 use parent qw( Exporter );
  18         4020  
  18         91  
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   2263 use constant CMD => 0;
  18         27  
  18         1509  
44 18     18   83 use constant LPAREN => 1;
  18         64  
  18         789  
45 18     18   78 use constant RPAREN => 2;
  18         32  
  18         815  
46 18     18   77 use constant FILE => 3;
  18         28  
  18         847  
47 18     18   79 use constant LINE => 4;
  18         38  
  18         750  
48 18     18   77 use constant CONTENT => 5;
  18         36  
  18         713  
49              
50             # node add return values
51 18     18   76 use constant IGNORE => 0;
  18         27  
  18         758  
52 18     18   75 use constant REDUCE => 1;
  18         25  
  18         710  
53 18     18   74 use constant REJECT => 2;
  18         32  
  18         954  
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