line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Sereal::Path::Iterator; |
2
|
6
|
|
|
6
|
|
119
|
use 5.008; |
|
6
|
|
|
|
|
24
|
|
3
|
6
|
|
|
6
|
|
36
|
use strict; |
|
6
|
|
|
|
|
10
|
|
|
6
|
|
|
|
|
122
|
|
4
|
6
|
|
|
6
|
|
32
|
use warnings; |
|
6
|
|
|
|
|
9
|
|
|
6
|
|
|
|
|
165
|
|
5
|
6
|
|
|
6
|
|
33
|
use Carp qw/croak/; |
|
6
|
|
|
|
|
12
|
|
|
6
|
|
|
|
|
271
|
|
6
|
6
|
|
|
6
|
|
39
|
use XSLoader; |
|
6
|
|
|
|
|
11
|
|
|
6
|
|
|
|
|
521
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
our $VERSION = '4.004'; |
9
|
|
|
|
|
|
|
our $XS_VERSION = $VERSION; $VERSION= eval $VERSION; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
# TODO autogenerate constants from srl_iterator.h |
12
|
|
|
|
|
|
|
use constant { |
13
|
6
|
|
|
|
|
965
|
SRL_INFO_ROOT => (1 << 8), |
14
|
|
|
|
|
|
|
SRL_INFO_REF => (2 << 8), |
15
|
|
|
|
|
|
|
SRL_INFO_HASH => (4 << 8), |
16
|
|
|
|
|
|
|
SRL_INFO_ARRAY => (8 << 8), |
17
|
|
|
|
|
|
|
SRL_INFO_REGEXP => (16 << 8), |
18
|
|
|
|
|
|
|
SRL_INFO_SCALAR => (32 << 8), |
19
|
|
|
|
|
|
|
SRL_INFO_BLESSED => (1 << 16), |
20
|
|
|
|
|
|
|
SRL_INFO_REF_TO => (2 << 16), |
21
|
6
|
|
|
6
|
|
36
|
}; |
|
6
|
|
|
|
|
11
|
|
22
|
|
|
|
|
|
|
|
23
|
6
|
|
|
6
|
|
41
|
use Exporter 'import'; |
|
6
|
|
|
|
|
10
|
|
|
6
|
|
|
|
|
595
|
|
24
|
|
|
|
|
|
|
our @EXPORT = qw( |
25
|
|
|
|
|
|
|
SRL_INFO_ROOT |
26
|
|
|
|
|
|
|
SRL_INFO_REF |
27
|
|
|
|
|
|
|
SRL_INFO_HASH |
28
|
|
|
|
|
|
|
SRL_INFO_ARRAY |
29
|
|
|
|
|
|
|
SRL_INFO_REGEXP |
30
|
|
|
|
|
|
|
SRL_INFO_SCALAR |
31
|
|
|
|
|
|
|
SRL_INFO_BLESSED |
32
|
|
|
|
|
|
|
SRL_INFO_REF_TO |
33
|
|
|
|
|
|
|
); |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
our %EXPORT_TAGS = (all => \@EXPORT); |
36
|
|
|
|
|
|
|
|
37
|
0
|
|
|
0
|
|
|
sub CLONE_SKIP {1} |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
XSLoader::load(__PACKAGE__, $XS_VERSION); |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
1; |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
__END__ |