Markdent/Event/StartTableCell.pm

filter: Statementstmt 100% 25 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 31 / 31 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Markdent/Event/StartTableBody.pm ↑ Summary Markdent/Event/StartTableHeader.pm »
1 package Markdent::Event::StartTableCell;
2  
3 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 4 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 4 our $VERSION = '0.41';
8  
9 4 ▶use Markdent::Types;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 4 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 4 ▶use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 4 has alignment => (
15 is => 'ro',
16 isa => t('TableCellAlignment'),
17 required => 1,
18 );
19  
20 4 has colspan => (
21 is => 'ro',
22 isa => t('PositiveInt'),
23 required => 1,
24 );
25  
26 4 has is_header_cell => (
27 is => 'ro',
28 isa => t('Bool'),
29 default => 0,
30 );
31  
32 4 with 'Markdent::Role::Event' => { event_class => __PACKAGE__ };
33  
34 4 __PACKAGE__->meta->make_immutable;
35  
36 4 1;
37  
38 # ABSTRACT: An event for the start of a table cell
39  
40 __END__
« Markdent/Event/StartTableBody.pm ↑ Summary Markdent/Event/StartTableHeader.pm »