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   8 use strict;
  2         2  
  2         49  
2 2     2   7 use warnings FATAL => 'all';
  2         25  
  2         101  
3              
4             package MarpaX::Languages::C::AST::Callback::Option;
5             use Class::Struct
6 2         10 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   987 ;
  2         2977  
14              
15             # ABSTRACT: Options for the Simple callback generic framework.
16              
17 2     2   1864 use Carp qw/croak/;
  2         2  
  2         90  
18              
19             our $VERSION = '0.47'; # VERSION
20              
21              
22             1;
23              
24             __END__