line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Regexp::Extended::MatchArray; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
12
|
use strict; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
113
|
|
4
|
2
|
|
|
2
|
|
11
|
use Carp; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
1015
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
sub STORE { |
7
|
0
|
|
|
0
|
|
|
my ($self, $arg1, $arg2) = @_; |
8
|
0
|
|
|
|
|
|
my $data = ${${$self}}; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
|
10
|
0
|
|
|
|
|
|
$data->{'matches'}->[$arg1]->{'value'} = $arg2; |
11
|
0
|
|
|
|
|
|
$data->{'matches'}->[$arg1]->{'dirty'} = 1; |
12
|
|
|
|
|
|
|
} |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub FETCH { |
15
|
0
|
|
|
0
|
|
|
my ($self, $arg1) = @_; |
16
|
0
|
|
|
|
|
|
my $data = ${${$self}}; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
|
18
|
0
|
|
|
|
|
|
return $data->{'matches'}->[$arg1]->{'value'}; |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
sub FETCHSIZE { |
22
|
0
|
|
|
0
|
|
|
my ($self) = @_; |
23
|
0
|
|
|
|
|
|
my $data = ${${$self}}; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
25
|
0
|
|
|
|
|
|
return scalar @{$data->{'matches'}}; |
|
0
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
sub PUSH { |
29
|
0
|
|
|
0
|
|
|
my ($self, $obj) = @_; |
30
|
0
|
|
|
|
|
|
my $data = ${${$self}}; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
|
32
|
0
|
|
|
|
|
|
push @{$data->{'matches'}}, $obj; |
|
0
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
} |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
sub EXISTS { |
36
|
0
|
|
|
0
|
|
|
print STDERR "Exists\n"; |
37
|
|
|
|
|
|
|
} |
38
|
|
|
|
|
|
|
sub DELETE { |
39
|
0
|
|
|
0
|
|
|
print STDERR "Delete\n"; |
40
|
|
|
|
|
|
|
} |
41
|
|
|
|
|
|
|
sub CLEAR { |
42
|
0
|
|
|
0
|
|
|
print STDERR "Clear\n"; |
43
|
|
|
|
|
|
|
} |
44
|
|
|
|
|
|
|
sub UNSHIFT { |
45
|
0
|
|
|
0
|
|
|
print STDERR "Unshift\n"; |
46
|
|
|
|
|
|
|
} |
47
|
|
|
|
|
|
|
sub POP { |
48
|
0
|
|
|
0
|
|
|
print STDERR "Pop\n"; |
49
|
|
|
|
|
|
|
} |
50
|
|
|
|
|
|
|
sub SHIFT { |
51
|
0
|
|
|
0
|
|
|
print STDERR "Shift\n"; |
52
|
|
|
|
|
|
|
} |
53
|
|
|
|
|
|
|
sub SPLICE { |
54
|
0
|
|
|
0
|
|
|
print STDERR "Splice\n"; |
55
|
|
|
|
|
|
|
} |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
return 1; |