line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Markdent::Event::HTMLEntity; |
2
|
|
|
|
|
|
|
|
3
|
34
|
|
|
34
|
|
279
|
use strict; |
|
34
|
|
|
|
|
119
|
|
|
34
|
|
|
|
|
1135
|
|
4
|
34
|
|
|
34
|
|
216
|
use warnings; |
|
34
|
|
|
|
|
78
|
|
|
34
|
|
|
|
|
967
|
|
5
|
34
|
|
|
34
|
|
215
|
use namespace::autoclean; |
|
34
|
|
|
|
|
79
|
|
|
34
|
|
|
|
|
274
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '0.38'; |
8
|
|
|
|
|
|
|
|
9
|
34
|
|
|
34
|
|
3613
|
use Markdent::Types; |
|
34
|
|
|
|
|
106
|
|
|
34
|
|
|
|
|
361
|
|
10
|
|
|
|
|
|
|
|
11
|
34
|
|
|
34
|
|
877733
|
use Moose; |
|
34
|
|
|
|
|
98
|
|
|
34
|
|
|
|
|
319
|
|
12
|
34
|
|
|
34
|
|
238470
|
use MooseX::StrictConstructor; |
|
34
|
|
|
|
|
82
|
|
|
34
|
|
|
|
|
293
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
has entity => ( |
15
|
|
|
|
|
|
|
is => 'ro', |
16
|
|
|
|
|
|
|
isa => t('Str'), |
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 an HTML entity |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
__END__ |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=pod |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=encoding UTF-8 |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 NAME |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
Markdent::Event::HTMLEntity - An event for an HTML entity |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 VERSION |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
version 0.38 |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 DESCRIPTION |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
This class represents an HTML entity, like "amp" or "#0xc3". |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
This class has the following attributes: |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head2 entity |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
The text of the entity. This omits the leading ampersand and ending |
53
|
|
|
|
|
|
|
semi-colon. |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head1 ROLES |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
This class does the L<Markdent::Role::Event> role. |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head1 BUGS |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
See L<Markdent> for bug reporting details. |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
Bugs may be submitted at L<https://github.com/houseabsolute/Markdent/issues>. |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
I am also usually active on IRC as 'autarch' on C<irc://irc.perl.org>. |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=head1 SOURCE |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
The source code repository for Markdent can be found at L<https://github.com/houseabsolute/Markdent>. |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=head1 AUTHOR |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
Dave Rolsky <autarch@urth.org> |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
This software is copyright (c) 2020 by Dave Rolsky. |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
80
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
The full text of the license can be found in the |
83
|
|
|
|
|
|
|
F<LICENSE> file included with this distribution. |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=cut |