File Coverage

blib/lib/MarpaX/Languages/C/AST/Callback/Method.pm
Criterion Covered Total %
statement 15 15 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 20 20 100.0


line stmt bran cond sub pod time code
1 2     2   6 use strict;
  2         2  
  2         49  
2 2     2   6 use warnings FATAL => 'all';
  2         2  
  2         74  
3              
4             package MarpaX::Languages::C::AST::Callback::Method;
5 2     2   709 use MarpaX::Languages::C::AST::Callback::Option;
  2         4  
  2         66  
6             use Class::Struct
7 2         6 description => '$',
8             extra_description => '$',
9             method => '@', # [ CODE ref, CODE ref arguments ]
10             method_void => '$', # Prevent push to topic data
11             method_mode => '$', # 'push' or 'replace'
12             option => 'MarpaX::Languages::C::AST::Callback::Option',
13 2     2   9 ;
  2         3  
14              
15             # ABSTRACT: Code reference for the Simple callback generic framework.
16              
17 2     2   1420 use Carp qw/croak/;
  2         3  
  2         116  
18              
19             our $VERSION = '0.46'; # VERSION
20              
21              
22             1;
23              
24             __END__