line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Markdent::Event::EndHeader; |
2
|
|
|
|
|
|
|
|
3
|
35
|
|
|
35
|
|
288
|
use strict; |
|
35
|
|
|
|
|
85
|
|
|
35
|
|
|
|
|
1258
|
|
4
|
35
|
|
|
35
|
|
271
|
use warnings; |
|
35
|
|
|
|
|
78
|
|
|
35
|
|
|
|
|
1117
|
|
5
|
35
|
|
|
35
|
|
206
|
use namespace::autoclean; |
|
35
|
|
|
|
|
71
|
|
|
35
|
|
|
|
|
355
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '0.40'; |
8
|
|
|
|
|
|
|
|
9
|
35
|
|
|
35
|
|
3473
|
use Markdent::Types; |
|
35
|
|
|
|
|
82
|
|
|
35
|
|
|
|
|
328
|
|
10
|
|
|
|
|
|
|
|
11
|
35
|
|
|
35
|
|
910497
|
use Moose; |
|
35
|
|
|
|
|
148
|
|
|
35
|
|
|
|
|
389
|
|
12
|
35
|
|
|
35
|
|
256896
|
use MooseX::StrictConstructor; |
|
35
|
|
|
|
|
104
|
|
|
35
|
|
|
|
|
357
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
has level => ( |
15
|
|
|
|
|
|
|
is => 'ro', |
16
|
|
|
|
|
|
|
isa => t('HeaderLevel'), |
17
|
|
|
|
|
|
|
required => 1, |
18
|
|
|
|
|
|
|
); |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
with 'Markdent::Role::Event' => { event_class => __PACKAGE__ }; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
# ABSTRACT: An event for the end of a header |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
__END__ |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=pod |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=encoding UTF-8 |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 NAME |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
Markdent::Event::EndHeader - An event for the end of a header |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 VERSION |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
version 0.40 |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 DESCRIPTION |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
This class represents the end of a header. |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
This class has the following attributes: |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head2 level |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
A number from 1-6 indicating the header's level. |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 ROLES |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
This class does the L<Markdent::Role::Event> role. |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head1 BUGS |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
See L<Markdent> for bug reporting details. |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
Bugs may be submitted at L<https://github.com/houseabsolute/Markdent/issues>. |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
I am also usually active on IRC as 'autarch' on C<irc://irc.perl.org>. |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=head1 SOURCE |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
The source code repository for Markdent can be found at L<https://github.com/houseabsolute/Markdent>. |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=head1 AUTHOR |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
Dave Rolsky <autarch@urth.org> |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
This software is copyright (c) 2021 by Dave Rolsky. |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
79
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
The full text of the license can be found in the |
82
|
|
|
|
|
|
|
F<LICENSE> file included with this distribution. |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
=cut |