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   7 use strict;
  2         3  
  2         50  
2 2     2   6 use warnings FATAL => 'all';
  2         2  
  2         70  
3              
4             package MarpaX::Languages::C::AST::Callback::Method;
5 2     2   756 use MarpaX::Languages::C::AST::Callback::Option;
  2         5  
  2         70  
6             use Class::Struct
7 2         7 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   8 ;
  2         2  
14              
15             # ABSTRACT: Code reference for the Simple callback generic framework.
16              
17 2     2   1387 use Carp qw/croak/;
  2         3  
  2         113  
18              
19             our $VERSION = '0.47'; # VERSION
20              
21              
22             1;
23              
24             __END__