line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Markdent::Event::EndEmphasis; |
2
|
|
|
|
|
|
|
|
3
|
35
|
|
|
35
|
|
264
|
use strict; |
|
35
|
|
|
|
|
85
|
|
|
35
|
|
|
|
|
1169
|
|
4
|
35
|
|
|
35
|
|
187
|
use warnings; |
|
35
|
|
|
|
|
78
|
|
|
35
|
|
|
|
|
1074
|
|
5
|
35
|
|
|
35
|
|
211
|
use namespace::autoclean; |
|
35
|
|
|
|
|
75
|
|
|
35
|
|
|
|
|
290
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '0.39'; |
8
|
|
|
|
|
|
|
|
9
|
35
|
|
|
35
|
|
3262
|
use Markdent::Types; |
|
35
|
|
|
|
|
84
|
|
|
35
|
|
|
|
|
292
|
|
10
|
|
|
|
|
|
|
|
11
|
35
|
|
|
35
|
|
856435
|
use Moose; |
|
35
|
|
|
|
|
130
|
|
|
35
|
|
|
|
|
391
|
|
12
|
35
|
|
|
35
|
|
246913
|
use MooseX::StrictConstructor; |
|
35
|
|
|
|
|
94
|
|
|
35
|
|
|
|
|
347
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
has delimiter => ( |
15
|
|
|
|
|
|
|
is => 'ro', |
16
|
|
|
|
|
|
|
isa => t('Str'), |
17
|
|
|
|
|
|
|
required => 1, |
18
|
|
|
|
|
|
|
); |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
with( |
21
|
|
|
|
|
|
|
'Markdent::Role::Event' => { event_class => __PACKAGE__ }, |
22
|
|
|
|
|
|
|
'Markdent::Role::BalancedEvent' => { compare => ['delimiter'] }, |
23
|
|
|
|
|
|
|
'Markdent::Role::EventAsText' |
24
|
|
|
|
|
|
|
); |
25
|
|
|
|
|
|
|
|
26
|
0
|
|
|
0
|
1
|
|
sub as_text { $_[0]->delimiter } |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
1; |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
# ABSTRACT: An event for the end of an emphasis span |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
__END__ |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=pod |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=encoding UTF-8 |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 NAME |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
Markdent::Event::EndEmphasis - An event for the end of an emphasis span |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 VERSION |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
version 0.39 |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head1 DESCRIPTION |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
This class represents the end of an emphasis span. |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
This class has the following attributes: |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head2 delimiter |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
The delimiter for the emphasis span. |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=head1 METHODS |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
This class has the following methods: |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=head2 $event->as_text |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
Returns the event's delimiter. |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=head1 ROLES |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
This class does the L<Markdent::Role::Event> and |
71
|
|
|
|
|
|
|
L<Markdent::Role::BalancedEvent> roles. |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=head1 BUGS |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
See L<Markdent> for bug reporting details. |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
Bugs may be submitted at L<https://github.com/houseabsolute/Markdent/issues>. |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
I am also usually active on IRC as 'autarch' on C<irc://irc.perl.org>. |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=head1 SOURCE |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
The source code repository for Markdent can be found at L<https://github.com/houseabsolute/Markdent>. |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=head1 AUTHOR |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
Dave Rolsky <autarch@urth.org> |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
This software is copyright (c) 2021 by Dave Rolsky. |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
94
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
The full text of the license can be found in the |
97
|
|
|
|
|
|
|
F<LICENSE> file included with this distribution. |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=cut |