line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Aspect::Library::Wormhole; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
2033
|
use strict; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
62
|
|
4
|
2
|
|
|
2
|
|
451
|
use Aspect::Modular (); |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
33
|
|
5
|
2
|
|
|
2
|
|
106
|
use Aspect::Advice::Before (); |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
30
|
|
6
|
2
|
|
|
2
|
|
10
|
use Aspect::Pointcut::And (); |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
26
|
|
7
|
2
|
|
|
2
|
|
10
|
use Aspect::Pointcut::Call (); |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
25
|
|
8
|
2
|
|
|
2
|
|
9
|
use Aspect::Pointcut::Cflow (); |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
328
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
our $VERSION = '1.04'; |
11
|
|
|
|
|
|
|
our @ISA = 'Aspect::Modular'; |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub get_advice { |
14
|
2
|
|
|
2
|
0
|
4
|
my $self = shift; |
15
|
|
|
|
|
|
|
Aspect::Advice::Before->new( |
16
|
|
|
|
|
|
|
lexical => $self->lexical, |
17
|
|
|
|
|
|
|
pointcut => Aspect::Pointcut::And->new( |
18
|
|
|
|
|
|
|
Aspect::Pointcut::Call->new( $_[1] ), |
19
|
|
|
|
|
|
|
Aspect::Pointcut::Cflow->new( source => $_[0] ), |
20
|
|
|
|
|
|
|
), |
21
|
|
|
|
|
|
|
code => sub { |
22
|
2
|
|
|
2
|
|
14
|
$_->args( $_->args, $_->source->self ); |
23
|
|
|
|
|
|
|
}, |
24
|
2
|
|
|
|
|
23
|
); |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
1; |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
__END__ |