line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package JSON::TypeInference::Type::Null; |
2
|
4
|
|
|
4
|
|
23457
|
use strict; |
|
4
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
99
|
|
3
|
4
|
|
|
4
|
|
20
|
use warnings; |
|
4
|
|
|
|
|
6
|
|
|
4
|
|
|
|
|
116
|
|
4
|
4
|
|
|
4
|
|
669
|
use parent qw(JSON::TypeInference::Type::Atom); |
|
4
|
|
|
|
|
294
|
|
|
4
|
|
|
|
|
37
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
sub name { |
7
|
1
|
|
|
1
|
0
|
2
|
my ($class) = @_; |
8
|
1
|
|
|
|
|
5
|
return 'null'; |
9
|
|
|
|
|
|
|
} |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub accepts { |
12
|
35
|
|
|
35
|
0
|
1180
|
my ($class, $data) = @_; |
13
|
35
|
|
|
|
|
116
|
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
|
|
|
|
|
|
|
|