Markdent/Event/CodeBlock.pm

filter: Statementstmt 100% 24 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 30 / 30 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Markdent/Event/AutoLink.pm ↑ Summary Markdent/Event/EndBlockquote.pm »
1 package Markdent::Event::CodeBlock;
2  
3 5 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 5 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 5 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 5 our $VERSION = '0.41';
8  
9 5 ▶use Markdent::Types;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 5 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 5 ▶use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 5 has code => (
15 is => 'ro',
16 isa => t('Str'),
17 required => 1,
18 );
19  
20 5 has language => (
21 is => 'ro',
22 isa => t('Str'),
23 predicate => 'has_language',
24 );
25  
26 5 with 'Markdent::Role::Event' => { event_class => __PACKAGE__ };
27  
28 5 __PACKAGE__->meta->make_immutable;
29  
30 5 1;
31  
32 # ABSTRACT: An event for a code block
33  
34 __END__
« Markdent/Event/AutoLink.pm ↑ Summary Markdent/Event/EndBlockquote.pm »