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