line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package JSON::TypeInference::Type::Null; |
2
|
4
|
|
|
4
|
|
23748
|
use strict; |
|
4
|
|
|
|
|
9
|
|
|
4
|
|
|
|
|
97
|
|
3
|
4
|
|
|
4
|
|
21
|
use warnings; |
|
4
|
|
|
|
|
6
|
|
|
4
|
|
|
|
|
198
|
|
4
|
4
|
|
|
4
|
|
665
|
use parent qw(JSON::TypeInference::Type::Atom); |
|
4
|
|
|
|
|
367
|
|
|
4
|
|
|
|
|
41
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
sub name { |
7
|
1
|
|
|
1
|
0
|
3
|
my ($class) = @_; |
8
|
1
|
|
|
|
|
4
|
return 'null'; |
9
|
|
|
|
|
|
|
} |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub accepts { |
12
|
36
|
|
|
36
|
0
|
1232
|
my ($class, $data) = @_; |
13
|
36
|
|
|
|
|
112
|
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
|
|
|
|
|
|
|
|