NAME
Markdent::Event - Represents a single parse event
DESCRIPTION
An object of this class represents a single parse event. These can be either start, end, or inline events.
Warning
This class is likely to change or become many classes in a future release
METHODS
This class provides the following methods:
Markdent::Event->new(...)
This method creates a new event. It accepts the following parameters:
type => $type
This a string which is one of 'start', 'stop', or 'inline'.
name => $name
The event name, such as 'strong', 'blockquote', or 'text'.
attributes => { ... }
An arbitrary hash reference of attributes for the event.
$event->event_name()
This returns a name like 'start_blockquote', 'end_strong', or 'text'.
$event->debug_dump()
Returns a string representation of the event suitable for debugging output.
AUTHOR
Dave Rolsky, >autarch@urth.org<
BUGS
See Markdent for bug reporting details.
AUTHOR
Dave Rolsky, <autarch@urth.org>
COPYRIGHT & LICENSE
Copyright 2009 Dave Rolsky, All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.