File Coverage

blib/lib/Dallycot/AST/FullPlaceholder.pm
Criterion Covered Total %
statement 12 18 66.6
branch n/a
condition n/a
subroutine 4 7 57.1
pod 0 3 0.0
total 16 28 57.1


line stmt bran cond sub pod time code
1             package Dallycot::AST::FullPlaceholder;
2             our $AUTHORITY = 'cpan:JSMITH';
3              
4             # ABSTRACT: A no-op placeholder in function calls
5              
6 23     23   11973 use strict;
  23         40  
  23         697  
7 23     23   87 use warnings;
  23         34  
  23         449  
8              
9 23     23   163 use utf8;
  23         32  
  23         90  
10 23     23   412 use parent 'Dallycot::AST';
  23         32  
  23         99  
11              
12 0     0 0   sub to_string { return "___" }
13              
14             sub to_rdf {
15 0     0 0   my($self, $model) = @_;
16              
17 0           my $bnode = $model -> bnode;
18 0           $model -> add_type($bnode, 'loc:FullPlaceholder');
19 0           return $bnode;
20             }
21              
22             sub new {
23 0     0 0   return bless [] => __PACKAGE__;
24             }
25              
26             1;