line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
5
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
38
|
|
2
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
51
|
|
3
|
|
|
|
|
|
|
package Data::Rx::TypeBundle::Core; |
4
|
|
|
|
|
|
|
# ABSTRACT: the bundle of core Rx types |
5
|
|
|
|
|
|
|
$Data::Rx::TypeBundle::Core::VERSION = '0.200006'; |
6
|
1
|
|
|
1
|
|
923
|
use parent 'Data::Rx::TypeBundle'; |
|
1
|
|
|
|
|
338
|
|
|
1
|
|
|
|
|
5
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub _prefix_pairs { |
9
|
|
|
|
|
|
|
return ( |
10
|
54
|
|
|
54
|
|
351
|
'' => 'tag:codesimply.com,2008:rx/core/', |
11
|
|
|
|
|
|
|
'.meta' => 'tag:codesimply.com,2008:rx/meta/', |
12
|
|
|
|
|
|
|
); |
13
|
|
|
|
|
|
|
} |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
my @plugins; |
16
|
|
|
|
|
|
|
sub type_plugins { |
17
|
54
|
50
|
|
54
|
0
|
192
|
return @plugins if @plugins; |
18
|
|
|
|
|
|
|
|
19
|
54
|
|
|
|
|
1254
|
require Data::Rx::CoreType::all; |
20
|
54
|
|
|
|
|
893
|
require Data::Rx::CoreType::any; |
21
|
54
|
|
|
|
|
894
|
require Data::Rx::CoreType::arr; |
22
|
54
|
|
|
|
|
830
|
require Data::Rx::CoreType::bool; |
23
|
54
|
|
|
|
|
797
|
require Data::Rx::CoreType::def; |
24
|
54
|
|
|
|
|
1015
|
require Data::Rx::CoreType::fail; |
25
|
54
|
|
|
|
|
786
|
require Data::Rx::CoreType::int; |
26
|
54
|
|
|
|
|
846
|
require Data::Rx::CoreType::map; |
27
|
54
|
|
|
|
|
897
|
require Data::Rx::CoreType::nil; |
28
|
54
|
|
|
|
|
289
|
require Data::Rx::CoreType::num; |
29
|
54
|
|
|
|
|
765
|
require Data::Rx::CoreType::one; |
30
|
54
|
|
|
|
|
829
|
require Data::Rx::CoreType::rec; |
31
|
54
|
|
|
|
|
810
|
require Data::Rx::CoreType::seq; |
32
|
54
|
|
|
|
|
866
|
require Data::Rx::CoreType::str; |
33
|
|
|
|
|
|
|
|
34
|
54
|
|
|
|
|
897
|
return qw( |
35
|
|
|
|
|
|
|
Data::Rx::CoreType::all |
36
|
|
|
|
|
|
|
Data::Rx::CoreType::any |
37
|
|
|
|
|
|
|
Data::Rx::CoreType::arr |
38
|
|
|
|
|
|
|
Data::Rx::CoreType::bool |
39
|
|
|
|
|
|
|
Data::Rx::CoreType::def |
40
|
|
|
|
|
|
|
Data::Rx::CoreType::fail |
41
|
|
|
|
|
|
|
Data::Rx::CoreType::int |
42
|
|
|
|
|
|
|
Data::Rx::CoreType::map |
43
|
|
|
|
|
|
|
Data::Rx::CoreType::nil |
44
|
|
|
|
|
|
|
Data::Rx::CoreType::num |
45
|
|
|
|
|
|
|
Data::Rx::CoreType::one |
46
|
|
|
|
|
|
|
Data::Rx::CoreType::rec |
47
|
|
|
|
|
|
|
Data::Rx::CoreType::seq |
48
|
|
|
|
|
|
|
Data::Rx::CoreType::str |
49
|
|
|
|
|
|
|
); |
50
|
|
|
|
|
|
|
} |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
1; |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
__END__ |