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