line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package JSON::Karabiner::Manipulator::Actions::To_if_held_down ; |
2
|
|
|
|
|
|
|
$JSON::Karabiner::Manipulator::Actions::To_if_held_down::VERSION = '0.017'; |
3
|
1
|
|
|
1
|
|
7
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
33
|
|
4
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
25
|
|
5
|
1
|
|
|
1
|
|
5
|
use JSON; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
6
|
|
6
|
1
|
|
|
1
|
|
123
|
use Carp; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
56
|
|
7
|
1
|
|
|
1
|
|
480
|
use parent 'JSON::Karabiner::Manipulator::Actions::To'; |
|
1
|
|
|
|
|
299
|
|
|
1
|
|
|
|
|
6
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
sub new { |
10
|
2
|
|
|
2
|
1
|
5
|
my $class = shift; |
11
|
2
|
|
|
|
|
5
|
my ($type, $value) = @_; |
12
|
2
|
|
|
|
|
10
|
my $obj = $class->SUPER::new($type, $value); |
13
|
2
|
|
50
|
|
|
11
|
$obj->{data} = $value || [], |
14
|
|
|
|
|
|
|
return $obj; |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
# ABSTRACT: to_if_alone action |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
1; |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
__END__ |