line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# Copyrights 2003-2013 by [Mark Overmeer]. |
2
|
|
|
|
|
|
|
# For other contributors see ChangeLog. |
3
|
|
|
|
|
|
|
# See the manual pages for details on the licensing terms. |
4
|
|
|
|
|
|
|
# Pod stripped from pm file by OODoc 2.00. |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
package OODoc::Text::Diagnostic; |
7
|
1
|
|
|
1
|
|
888
|
use vars '$VERSION'; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
83
|
|
8
|
|
|
|
|
|
|
$VERSION = '2.00'; |
9
|
|
|
|
|
|
|
|
10
|
1
|
|
|
1
|
|
8
|
use base 'OODoc::Text'; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
104
|
|
11
|
|
|
|
|
|
|
|
12
|
1
|
|
|
1
|
|
7
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
40
|
|
13
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
26
|
|
14
|
|
|
|
|
|
|
|
15
|
1
|
|
|
1
|
|
5
|
use Log::Report 'oodoc'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
13
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub init($) |
19
|
0
|
|
|
0
|
0
|
|
{ my ($self, $args) = @_; |
20
|
0
|
|
0
|
|
|
|
$args->{type} ||= 'Diagnostic'; |
21
|
0
|
0
|
|
|
|
|
$args->{container} = delete $args->{subroutine} or panic; |
22
|
|
|
|
|
|
|
|
23
|
0
|
0
|
|
|
|
|
$self->SUPER::init($args) or return; |
24
|
|
|
|
|
|
|
|
25
|
0
|
|
|
|
|
|
$self; |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
#------------------------------------------- |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
0
|
|
|
0
|
1
|
|
sub subroutine() { shift->container } |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
#------------------------------------------- |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
1; |