blib/lib/Perl6/PVIP.pm

filter: Statementstmt 100% 31 / 31 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 10 / 10 Podpod 100% 3 / 3 totaltotal 100% 44 / 44 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/Perl6/PVIP.xs ↑ Summary blib/lib/Perl6/PVIP/_consts.pm »
1 package Perl6::PVIP;
2 28 ▶use 5.008005;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 28 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 28 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 28 ▶use parent qw(Exporter);
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 28 our $VERSION = "0.12";
8  
9 28 ▶use Perl6::PVIP::_consts;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 28 ▶use Perl6::PVIP::Node;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 28 ▶use XSLoader;
Subroutine BEGIN: called CC=1 SCAR=0.0
13 28 XSLoader::load(__PACKAGE__, $VERSION);
14  
15 4 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod documented
16 4 my $class = shift;
17 4 return bless {
18 }, $class;
19 }
20  
21 4 ▶sub parse_string {
Subroutine parse_string: called CC=1 SCAR=0.0
Pod documented
22 4 my ($self, $code) = @_;
23 4 my ($node, $err) = Perl6::PVIP::_parse_string($code);
24 4 $self->{errstr} = $err;
25 4 return $node;
26 }
27  
28 2 ▶sub errstr {
Subroutine errstr: called CC=1 SCAR=0.0
Pod documented
29 2 my $self = shift;
30 2 $self->{errstr};
31 }
32  
33 28 1;
34 __END__
« lib/Perl6/PVIP.xs ↑ Summary blib/lib/Perl6/PVIP/_consts.pm »