Markdent/Role/SpanParser.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 20 / 20 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Markdent/Role/Handler.pm ↑ Summary Markdent/Simple/Fragment.pm »
1 package Markdent::Role::SpanParser;
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.39';
8  
9 35 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 35 with 'Markdent::Role::AnyParser';
12  
13 35 requires 'parse_block';
14  
15 35 1;
16  
17 # ABSTRACT: A role for span parsers
18  
19 __END__
20  
21 =pod
22  
23 =encoding UTF-8
24  
25 =head1 NAME
26  
27 Markdent::Role::SpanParser - A role for span parsers
28  
29 =head1 VERSION
30  
31 version 0.39
32  
33 =head1 DESCRIPTION
34  
35 This role implements behavior shared by all span parsers.
36  
37 =head1 REQUIRED METHODS
38  
39 =over 4
40  
41 =item * $parser->parse_block(\$text)
42  
43 This method takes a scalar reference to a markdown block and parses it for
44 span-level markup.
45  
46 =back
47  
48 =head1 ROLES
49  
50 This role does the L<Markdent::Role::AnyParser> and
51 L<Markdent::Role::DebugPrinter> roles.
52  
53 =head1 BUGS
54  
55 See L<Markdent> for bug reporting details.
56  
57 Bugs may be submitted at L<https://github.com/houseabsolute/Markdent/issues>.
58  
59 I am also usually active on IRC as 'autarch' on C<irc://irc.perl.org>.
60  
61 =head1 SOURCE
62  
63 The source code repository for Markdent can be found at L<https://github.com/houseabsolute/Markdent>.
64  
65 =head1 AUTHOR
66  
67 Dave Rolsky <autarch@urth.org>
68  
69 =head1 COPYRIGHT AND LICENSE
70  
71 This software is copyright (c) 2021 by Dave Rolsky.
72  
73 This is free software; you can redistribute it and/or modify it under
74 the same terms as the Perl 5 programming language system itself.
75  
76 The full text of the license can be found in the
77 F<LICENSE> file included with this distribution.
78  
79 =cut
« Markdent/Role/Handler.pm ↑ Summary Markdent/Simple/Fragment.pm »