line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
2
|
|
|
2
|
|
6
|
use strict; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
46
|
|
2
|
2
|
|
|
2
|
|
7
|
use warnings FATAL => 'all'; |
|
2
|
|
|
|
|
25
|
|
|
2
|
|
|
|
|
97
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
package MarpaX::Languages::C::AST::Callback::Option; |
5
|
|
|
|
|
|
|
use Class::Struct |
6
|
2
|
|
|
|
|
9
|
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
|
|
893
|
; |
|
2
|
|
|
|
|
2576
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
# ABSTRACT: Options for the Simple callback generic framework. |
16
|
|
|
|
|
|
|
|
17
|
2
|
|
|
2
|
|
1671
|
use Carp qw/croak/; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
88
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
our $VERSION = '0.46'; # VERSION |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
1; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
__END__ |