line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package JSON::TypeInference::Type::Null; |
2
|
4
|
|
|
4
|
|
25376
|
use strict; |
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
97
|
|
3
|
4
|
|
|
4
|
|
20
|
use warnings; |
|
4
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
112
|
|
4
|
4
|
|
|
4
|
|
711
|
use parent qw(JSON::TypeInference::Type::Atom); |
|
4
|
|
|
|
|
299
|
|
|
4
|
|
|
|
|
36
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
sub name { |
7
|
1
|
|
|
1
|
0
|
2
|
my ($class) = @_; |
8
|
1
|
|
|
|
|
4
|
return 'null'; |
9
|
|
|
|
|
|
|
} |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub accepts { |
12
|
36
|
|
|
36
|
0
|
1659
|
my ($class, $data) = @_; |
13
|
36
|
|
|
|
|
121
|
return !defined($data); |
14
|
|
|
|
|
|
|
} |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
1; |
17
|
|
|
|
|
|
|
__END__ |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=encoding utf-8 |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head1 NAME |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
JSON::TypeInference::Type::Null - JSON null type |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 DESCRIPTION |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
C< JSON::TypeInference::Type::Null > represents JSON null type. |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
It is a value type, and so has no parameters. |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 AUTHOR |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
aereal E<lt>aereal@aereal.orgE<gt> |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=cut |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
|