| Markdent documentation | Contained in the Markdent distribution. |
Markdent::Event::EndEmphasis - An event for the end of an emphasis span
version 0.17
This class represents the end of an emphasis span.
This class has the following attributes:
The delimiter for the emphasis span.
This class has the following methods:
Returns the event's delimiter.
This class does the Markdent::Role::Event and Markdent::Role::BalancedEvent 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::Event::EndEmphasis; BEGIN { $Markdent::Event::EndEmphasis::VERSION = '0.17'; } use strict; use warnings; use Markdent::Types qw( Str ); use namespace::autoclean; use Moose; use MooseX::StrictConstructor; has delimiter => ( is => 'ro', isa => Str, required => 1, ); with 'Markdent::Role::Event'; with 'Markdent::Role::BalancedEvent' => { compare => [ 'delimiter' ] }; with 'Markdent::Role::EventAsText'; sub as_text { $_[0]->delimiter() } __PACKAGE__->meta()->make_immutable(); 1; # ABSTRACT: An event for the end of an emphasis span
__END__