blib/lib/XML/Grammar/Fiction/FromProto/Node/Text.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 100% 1 / 1 totaltotal 100% 19 / 19 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/XML/Grammar/Fiction/FromProto/Node/Saying.pm ↑ Summary blib/lib/XML/Grammar/Fiction/FromProto/Parser.pm »
1 package XML::Grammar::Fiction::FromProto::Node::Text;
2 24 $XML::Grammar::Fiction::FromProto::Node::Text::VERSION = '0.32.0';
3 24 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 24 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 24 ▶use MooX 'late';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 24 extends("XML::Grammar::Fiction::FromProto::Node::WithContent");
9  
10  
11 sub get_text
12 256 ▶{
Subroutine get_text: called CC=1 SCAR=0.0
Pod documented
13 256 my ( $self, $re ) = @_;
14  
15 256 return $self->children->contents->[0];
16 }
17  
18 24 1;
19  
20 __END__
« blib/lib/XML/Grammar/Fiction/FromProto/Node/Saying.pm ↑ Summary blib/lib/XML/Grammar/Fiction/FromProto/Parser.pm »