line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Markdent::Event::StartTableCell; |
2
|
|
|
|
|
|
|
|
3
|
4
|
|
|
4
|
|
31
|
use strict; |
|
4
|
|
|
|
|
10
|
|
|
4
|
|
|
|
|
163
|
|
4
|
4
|
|
|
4
|
|
26
|
use warnings; |
|
4
|
|
|
|
|
10
|
|
|
4
|
|
|
|
|
123
|
|
5
|
4
|
|
|
4
|
|
28
|
use namespace::autoclean; |
|
4
|
|
|
|
|
11
|
|
|
4
|
|
|
|
|
31
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '0.38'; |
8
|
|
|
|
|
|
|
|
9
|
4
|
|
|
4
|
|
403
|
use Markdent::Types; |
|
4
|
|
|
|
|
11
|
|
|
4
|
|
|
|
|
62
|
|
10
|
|
|
|
|
|
|
|
11
|
4
|
|
|
4
|
|
106294
|
use Moose; |
|
4
|
|
|
|
|
18
|
|
|
4
|
|
|
|
|
71
|
|
12
|
4
|
|
|
4
|
|
28965
|
use MooseX::StrictConstructor; |
|
4
|
|
|
|
|
13
|
|
|
4
|
|
|
|
|
39
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
has alignment => ( |
15
|
|
|
|
|
|
|
is => 'ro', |
16
|
|
|
|
|
|
|
isa => t('TableCellAlignment'), |
17
|
|
|
|
|
|
|
required => 1, |
18
|
|
|
|
|
|
|
); |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
has colspan => ( |
21
|
|
|
|
|
|
|
is => 'ro', |
22
|
|
|
|
|
|
|
isa => t('PositiveInt'), |
23
|
|
|
|
|
|
|
required => 1, |
24
|
|
|
|
|
|
|
); |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
has is_header_cell => ( |
27
|
|
|
|
|
|
|
is => 'ro', |
28
|
|
|
|
|
|
|
isa => t('Bool'), |
29
|
|
|
|
|
|
|
default => 0, |
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 the start of a table cell |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
__END__ |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=pod |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=encoding UTF-8 |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 NAME |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
Markdent::Event::StartTableCell - An event for the start of a table cell |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head1 VERSION |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
version 0.38 |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 DESCRIPTION |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
This class represents the start of a table cell. |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
This class has the following attributes: |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head2 alignment |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
The alignment for the cell. This will be one of "left", "right", or "center". |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=head2 colspan |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
The colspan for the cell. This will be a positive integer. |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=head2 is_header_cell |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
A boolean indicating whether the cell is a header cell. This will be true for |
73
|
|
|
|
|
|
|
all cells in the table's header, but can also be true for cells in the table's |
74
|
|
|
|
|
|
|
body. |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=head1 ROLES |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
This class does the L<Markdent::Role::Event> role. |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=head1 BUGS |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
See L<Markdent> for bug reporting details. |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
Bugs may be submitted at L<https://github.com/houseabsolute/Markdent/issues>. |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
I am also usually active on IRC as 'autarch' on C<irc://irc.perl.org>. |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=head1 SOURCE |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
The source code repository for Markdent can be found at L<https://github.com/houseabsolute/Markdent>. |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
=head1 AUTHOR |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
Dave Rolsky <autarch@urth.org> |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
This software is copyright (c) 2020 by Dave Rolsky. |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
101
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
The full text of the license can be found in the |
104
|
|
|
|
|
|
|
F<LICENSE> file included with this distribution. |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
=cut |