line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Makefile::AST::Command; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
11
|
use strict; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
59
|
|
4
|
2
|
|
|
2
|
|
10
|
use warnings; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
49
|
|
5
|
|
|
|
|
|
|
|
6
|
2
|
|
|
2
|
|
10
|
use base 'Class::Accessor::Fast'; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
337
|
|
7
|
|
|
|
|
|
|
#use Smart::Comments; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
__PACKAGE__->mk_accessors(qw{ |
10
|
|
|
|
|
|
|
silent tolerant critical content target |
11
|
|
|
|
|
|
|
}); |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub as_str { |
14
|
0
|
|
|
0
|
0
|
|
my $self = shift; |
15
|
0
|
|
|
|
|
|
my $str; |
16
|
0
|
0
|
|
|
|
|
if ($self->silent) { |
17
|
0
|
|
|
|
|
|
$str .= '@'; |
18
|
|
|
|
|
|
|
} |
19
|
0
|
0
|
|
|
|
|
if ($self->tolerant) { |
20
|
0
|
|
|
|
|
|
$str .= '-'; |
21
|
|
|
|
|
|
|
} |
22
|
0
|
0
|
|
|
|
|
if ($self->critical) { |
23
|
0
|
|
|
|
|
|
$str .= '+'; |
24
|
|
|
|
|
|
|
} |
25
|
0
|
|
|
|
|
|
$str .= $self->content; |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
1; |
29
|
|
|
|
|
|
|
|