Markdent/Event/StartLink.pm

filter: Statementstmt 100% 26 / 26 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 32 / 32 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Markdent/Event/StartHeader.pm ↑ Summary Markdent/Event/StartListItem.pm »
1 package Markdent::Event::StartLink;
2  
3 35 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 35 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 35 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 35 our $VERSION = '0.41';
8  
9 35 ▶use Markdent::Types;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 35 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 35 ▶use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 35 has uri => (
15 is => 'ro',
16 isa => t('Str'),
17 required => 1,
18 );
19  
20 35 has title => (
21 is => 'ro',
22 isa => t('Str'),
23 predicate => 'has_title',
24 );
25  
26 35 has id => (
27 is => 'ro',
28 isa => t('Str'),
29 predicate => 'has_id',
30 );
31  
32 35 has is_implicit_id => (
33 is => 'ro',
34 isa => t('Bool'),
35 default => 0,
36 );
37  
38 35 with(
39 'Markdent::Role::Event' => { event_class => __PACKAGE__ },
40 'Markdent::Role::BalancedEvent',
41 );
42  
43 35 __PACKAGE__->meta->make_immutable;
44  
45 35 1;
46  
47 # ABSTRACT: An event for the start of a link
48  
49 __END__
« Markdent/Event/StartHeader.pm ↑ Summary Markdent/Event/StartListItem.pm »