line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Bat::Interpreter::Delegate::LineLogger::SilentSaveLines; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
495
|
use utf8; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
6
|
|
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
34
|
use Moo; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
6
|
1
|
|
|
1
|
|
355
|
use Types::Standard qw(ArrayRef); |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
22
|
|
7
|
1
|
|
|
1
|
|
581
|
use namespace::autoclean; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
7
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
with 'Bat::Interpreter::Role::LineLogger'; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
our $VERSION = '0.025'; # VERSION |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
has 'lines' => ( is => 'ro', |
14
|
|
|
|
|
|
|
isa => ArrayRef, |
15
|
|
|
|
|
|
|
default => sub { [] }, |
16
|
|
|
|
|
|
|
); |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub log_line { |
19
|
22
|
|
|
22
|
1
|
184
|
my $self = shift(); |
20
|
22
|
|
|
|
|
33
|
push @{ $self->lines }, @_; |
|
22
|
|
|
|
|
78
|
|
21
|
22
|
|
|
|
|
53
|
return 0; |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
__END__ |