line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package MooseX::MethodAttributes::Role::Meta::Method::Wrapped; |
2
|
|
|
|
|
|
|
# ABSTRACT: wrapped metamethod role allowing code attribute introspection |
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
our $VERSION = '0.30'; |
5
|
|
|
|
|
|
|
|
6
|
20
|
|
|
20
|
|
111
|
use Moose::Role; |
|
20
|
|
|
|
|
47
|
|
|
20
|
|
|
|
|
141
|
|
7
|
|
|
|
|
|
|
|
8
|
20
|
|
|
20
|
|
98212
|
use namespace::autoclean; |
|
20
|
|
|
|
|
49
|
|
|
20
|
|
|
|
|
203
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
#pod =method attributes |
11
|
|
|
|
|
|
|
#pod |
12
|
|
|
|
|
|
|
#pod Gets the list of code attributes of the original method this meta method wraps. |
13
|
|
|
|
|
|
|
#pod |
14
|
|
|
|
|
|
|
#pod =cut |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
sub attributes { |
17
|
7
|
|
|
7
|
1
|
341
|
my ($self) = @_; |
18
|
7
|
|
|
|
|
32
|
return $self->get_original_method->attributes; |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
sub _get_attributed_coderef { |
22
|
23
|
|
|
23
|
|
45
|
my ($self) = @_; |
23
|
23
|
|
|
|
|
120
|
return $self->get_original_method->_get_attributed_coderef; |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
1; |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
__END__ |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=pod |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=encoding UTF-8 |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 NAME |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
MooseX::MethodAttributes::Role::Meta::Method::Wrapped - wrapped metamethod role allowing code attribute introspection |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 VERSION |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
version 0.30 |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 METHODS |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head2 attributes |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
Gets the list of code attributes of the original method this meta method wraps. |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head1 AUTHORS |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=over 4 |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=item * |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
Florian Ragwitz <rafl@debian.org> |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=item * |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
Tomas Doran <bobtfish@bobtfish.net> |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=back |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
This software is copyright (c) 2009 by Florian Ragwitz. |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
67
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=cut |