lib/Perl/ToPerl6/Exception/Parse.pm

filter: Statementstmt 100% 25 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 8 / 8 Podpod n/a totaltotal 100% 33 / 33 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/Perl/ToPerl6/Exception/IO.pm ↑ Summary lib/Perl/ToPerl6/Utils/Constants.pm »
1 package Perl::ToPerl6::Exception::Parse;
2  
3 15 ▶use 5.006001;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 15 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 15 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 15 ▶use English qw< -no_match_vars >;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 15 ▶use Carp qw< confess >;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 15 ▶use Readonly;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 15 ▶use Perl::ToPerl6::Utils qw< :characters >;
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 #-----------------------------------------------------------------------------
14  
15 15 ▶use Exception::Class (
Subroutine BEGIN: called CC=1 SCAR=0.0
16 15 'Perl::ToPerl6::Exception::Parse' => {
17 isa => 'Perl::ToPerl6::Exception',
18 description => 'A problem parsing source code.',
19 fields => [ qw< file_name > ],
20 alias => 'throw_parse',
21 },
22 15 );
23  
24 #-----------------------------------------------------------------------------
25  
26 15 Readonly::Array our @EXPORT_OK => qw< throw_parse >;
27  
28 #-----------------------------------------------------------------------------
29  
30 15 1;
31  
32 #-----------------------------------------------------------------------------
33  
34 __END__
« lib/Perl/ToPerl6/Exception/IO.pm ↑ Summary lib/Perl/ToPerl6/Utils/Constants.pm »