line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Markdent::Role::Handler; |
2
|
|
|
|
|
|
|
|
3
|
34
|
|
|
34
|
|
18869
|
use strict; |
|
34
|
|
|
|
|
96
|
|
|
34
|
|
|
|
|
1160
|
|
4
|
34
|
|
|
34
|
|
206
|
use warnings; |
|
34
|
|
|
|
|
76
|
|
|
34
|
|
|
|
|
914
|
|
5
|
34
|
|
|
34
|
|
192
|
use namespace::autoclean; |
|
34
|
|
|
|
|
95
|
|
|
34
|
|
|
|
|
200
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '0.38'; |
8
|
|
|
|
|
|
|
|
9
|
34
|
|
|
34
|
|
2571
|
use Moose::Role; |
|
34
|
|
|
|
|
86
|
|
|
34
|
|
|
|
|
255
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
requires 'handle_event'; |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
1; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
# ABSTRACT: A required role for all handlers |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
__END__ |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=pod |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=encoding UTF-8 |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=head1 NAME |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
Markdent::Role::Handler - A required role for all handlers |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head1 VERSION |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
version 0.38 |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 DESCRIPTION |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
This role implements an interface shared by all handlers. |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 REQUIRED METHODS |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=over 4 |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=item * $handler->handle_event($event) |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
This method will always be called with a single object which does the |
42
|
|
|
|
|
|
|
L<Markdent::Role::Event> role. |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=back |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 BUGS |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
See L<Markdent> for bug reporting details. |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
Bugs may be submitted at L<https://github.com/houseabsolute/Markdent/issues>. |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
I am also usually active on IRC as 'autarch' on C<irc://irc.perl.org>. |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 SOURCE |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
The source code repository for Markdent can be found at L<https://github.com/houseabsolute/Markdent>. |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head1 AUTHOR |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
Dave Rolsky <autarch@urth.org> |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
This software is copyright (c) 2020 by Dave Rolsky. |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
67
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
The full text of the license can be found in the |
70
|
|
|
|
|
|
|
F<LICENSE> file included with this distribution. |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=cut |