| Markdent documentation | Contained in the Markdent distribution. |
Markdent::Role::BlockParser - A role for block parsers
version 0.17
This role implements behavior shared by all block parsers
This method takes a scalar reference to a markdown document and parses it for block-level markup.
This roles provides the following attributes:
This is a read-only attribute. It is an object which does the Markdent::Role::SpanParser role.
This is required for all block parsers.
This role does the Markdent::Role::AnyParser and Markdent::Role::DebugPrinter roles.
See Markdent for bug reporting details.
Dave Rolsky <autarch@urth.org>
This software is copyright (c) 2010 by Dave Rolsky.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
| Markdent documentation | Contained in the Markdent distribution. |
package Markdent::Role::BlockParser; BEGIN { $Markdent::Role::BlockParser::VERSION = '0.17'; } use strict; use warnings; use namespace::autoclean; use Moose::Role; with 'Markdent::Role::AnyParser'; requires 'parse_document'; has _span_parser => ( is => 'ro', does => 'Markdent::Role::SpanParser', init_arg => 'span_parser', required => 1, ); 1; # ABSTRACT: A role for block parsers
__END__