File Coverage

blib/lib/MarpaX/Languages/C/AST/Callback/Option.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1 2     2   9 use strict;
  2         2  
  2         62  
2 2     2   9 use warnings FATAL => 'all';
  2         29  
  2         100  
3              
4             package MarpaX::Languages::C::AST::Callback::Option;
5             use Class::Struct
6 2         11 topic => '%', # Give topics for this callback.
7             topic_persistence => '$', # Give topic persistence for this callback.
8             subscription => '%', # Give subscription topics.
9             subscriptionMode => '$', # 'required' or 'optional'
10             condition => '@', # [ CODE ref, CODE ref arguments ]
11             conditionMode => '$', # 'or' or 'and'
12             priority => '$', # Priority.
13 2     2   6204 ;
  2         3096  
14              
15             # ABSTRACT: Options for the Simple callback generic framework.
16              
17 2     2   1989 use Carp qw/croak/;
  2         3  
  2         98  
18              
19             our $VERSION = '0.45'; # VERSION
20              
21              
22             1;
23              
24             __END__