File Coverage

blib/lib/PPIx/Regexp/Token/CharClass/POSIX/Unknown.pm
Criterion Covered Total %
statement 14 16 87.5
branch n/a
condition n/a
subroutine 5 7 71.4
pod 1 1 100.0
total 20 24 83.3


line stmt bran cond sub pod time code
1             package PPIx::Regexp::Token::CharClass::POSIX::Unknown;
2              
3 9     9   223 use 5.006;
  9         34  
4              
5 9     9   58 use strict;
  9         24  
  9         228  
6 9     9   49 use warnings;
  9         34  
  9         339  
7              
8 9     9   64 use base qw{ PPIx::Regexp::Token::CharClass::POSIX };
  9         39  
  9         1100  
9              
10 9     9   80 use PPIx::Regexp::Constant qw{ MINIMUM_PERL @CARP_NOT };
  9         20  
  9         1451  
11              
12             our $VERSION = '0.087';
13              
14             sub perl_version_introduced {
15             # my ( $self ) = @_;
16 0     0 1   return MINIMUM_PERL;
17             }
18              
19             # Note that these guys are recognized by PPIx::Regexp::CharClass::POSIX,
20             # and if one of them becomes supported that is where the change needs to
21             # be made.
22              
23             # This is the handiest way to make this object represent a parse error.
24             sub __PPIX_LEXER__finalize {
25 0     0     return 1;
26             }
27              
28             1;
29              
30             __END__