line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Wikibase::Datatype::Print; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
230638
|
use strict; |
|
2
|
|
|
|
|
26
|
|
|
2
|
|
|
|
|
57
|
|
4
|
2
|
|
|
2
|
|
12
|
use warnings; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
97
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION = 0.12; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
1; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
__END__ |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=pod |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=encoding utf8 |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=head1 NAME |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
Wikibase::Datatype::Print - Wikibase datatype print helpers. |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 DESCRIPTION |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
This distributions is set of print helpers for Wikibase::Datatype objects. |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 SEE ALSO |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=over |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=item L<Wikibase::Datatype::Print::Form> |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
Wikibase form pretty print helpers. |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=item L<Wikibase::Datatype::Print::Item> |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
TODO |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=item L<Wikibase::Datatype::Print::Lexeme> |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
Wikibase lexeme pretty print helpers. |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=item L<Wikibase::Datatype::Print::Mediainfo> |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
TODO |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=item L<Wikibase::Datatype::Print::MediainfoSnak> |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
Wikibase mediainfo snak pretty print helpers. |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=item L<Wikibase::Datatype::Print::MediainfoStatement> |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
Wikibase mediainfo statement pretty print helpers. |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=item L<Wikibase::Datatype::Print::Property> |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
TODO |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=item L<Wikibase::Datatype::Print::Reference> |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
Wikibase reference pretty print helpers. |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=item L<Wikibase::Datatype::Print::Sense> |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
Wikibase sense pretty print helpers. |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=item L<Wikibase::Datatype::Print::Sitelink> |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
Wikibase sitelink pretty print helpers. |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=item L<Wikibase::Datatype::Print::Snak> |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
Wikibase snak pretty print helpers. |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=item L<Wikibase::Datatype::Print::Statement> |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
Wikibase statement pretty print helpers. |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=item L<Wikibase::Datatype::Print::Utils> |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
Wikibase pretty print helper utils. |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=item L<Wikibase::Datatype::Print::Value> |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
Wikibase value pretty print helpers. |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
=item L<Wikibase::Datatype::Print::Value::Globecoordinate> |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
Wikibase globe coordinate item pretty print helpers. |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=item L<Wikibase::Datatype::Print::Value::Item> |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
Wikibase item value pretty print helpers. |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
=item L<Wikibase::Datatype::Print::Value::Monolingual> |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
Wikibase monolingual value pretty print helpers. |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
=item L<Wikibase::Datatype::Print::Value::Property> |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
Wikibase property value pretty print helpers. |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
=item L<Wikibase::Datatype::Print::Value::Quantity> |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
Wikibase quantity value pretty print helpers. |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
=item L<Wikibase::Datatype::Print::Value::String> |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
Wikibase string value pretty print helpers. |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
=item L<Wikibase::Datatype::Print::Value::Time> |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
Wikibase time value pretty print helpers. |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
=back |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
=head1 SEE ALSO |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
=over |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
=item L<Wikibase::Datatype> |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
Wikibase datatypes. |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
=item L<Wikibase::Datatype::JSON> |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
Wikibase structure JSON serialization. |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
=item L<Wikibase::Datatype::Struct> |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
Wikibase structure serialization. |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
=back |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
=head1 REPOSITORY |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
L<https://github.com/michal-josef-spacek/Wikibase-Datatype-Print> |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
=head1 AUTHOR |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
Michal Josef Špaček L<mailto:skim@cpan.org> |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
L<http://skim.cz> |
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
=head1 LICENSE AND COPYRIGHT |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
© 2020-2023 Michal Josef Špaček |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
BSD 2-Clause License |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
=head1 VERSION |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
0.12 |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
=cut |