line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Aspect::Pointcut::Returning; |
2
|
|
|
|
|
|
|
|
3
|
26
|
|
|
26
|
|
140
|
use strict; |
|
26
|
|
|
|
|
56
|
|
|
26
|
|
|
|
|
855
|
|
4
|
26
|
|
|
26
|
|
134
|
use Carp (); |
|
26
|
|
|
|
|
48
|
|
|
26
|
|
|
|
|
374
|
|
5
|
26
|
|
|
26
|
|
134
|
use Aspect::Pointcut (); |
|
26
|
|
|
|
|
47
|
|
|
26
|
|
|
|
|
3316
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '1.04'; |
8
|
|
|
|
|
|
|
our @ISA = 'Aspect::Pointcut'; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
###################################################################### |
15
|
|
|
|
|
|
|
# Weaving Methods |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
# Exception pointcuts always match at weave time and should curry away |
18
|
|
|
|
|
|
|
sub curry_weave { |
19
|
19
|
|
|
19
|
1
|
55
|
return; |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
# Exception-related pointcuts do not curry. |
23
|
|
|
|
|
|
|
sub curry_runtime { |
24
|
19
|
|
|
19
|
1
|
152
|
return $_[0]; |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
sub compile_runtime { |
28
|
19
|
|
|
19
|
1
|
56
|
'defined $Aspect::POINT->{exception} and not ref $Aspect::POINT->{exception} and $Aspect::POINT->{exception} eq ""'; |
29
|
|
|
|
|
|
|
} |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
1; |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
__END__ |