line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Moose::Meta::Method::Accessor::Native::Hash; |
2
|
|
|
|
|
|
|
our $VERSION = '2.2203'; |
3
|
|
|
|
|
|
|
|
4
|
8
|
|
|
8
|
|
4275
|
use strict; |
|
8
|
|
|
|
|
23
|
|
|
8
|
|
|
|
|
256
|
|
5
|
8
|
|
|
8
|
|
40
|
use warnings; |
|
8
|
|
|
|
|
21
|
|
|
8
|
|
|
|
|
204
|
|
6
|
|
|
|
|
|
|
|
7
|
8
|
|
|
8
|
|
40
|
use Moose::Role; |
|
8
|
|
|
|
|
18
|
|
|
8
|
|
|
|
|
54
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
sub _inline_check_var_is_valid_key { |
10
|
60
|
|
|
60
|
|
105
|
my $self = shift; |
11
|
60
|
|
|
|
|
115
|
my ($var) = @_; |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
return ( |
14
|
60
|
|
|
|
|
273
|
'if (!defined(' . $var . ')) {', |
15
|
|
|
|
|
|
|
$self->_inline_throw_exception( InvalidArgumentToMethod => |
16
|
|
|
|
|
|
|
'argument => '.$var.','. |
17
|
|
|
|
|
|
|
'method_name => "'.$self->delegate_to_method.'",'. |
18
|
|
|
|
|
|
|
'type_of_argument => "defined value",'. |
19
|
|
|
|
|
|
|
'type => "Defined",'. |
20
|
|
|
|
|
|
|
'argument_noun => "key"', |
21
|
|
|
|
|
|
|
) . ';', |
22
|
|
|
|
|
|
|
'}', |
23
|
|
|
|
|
|
|
); |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
8
|
|
|
8
|
|
73
|
no Moose::Role; |
|
8
|
|
|
|
|
20
|
|
|
8
|
|
|
|
|
42
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
1; |