logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Markdent::CapturedEvents - Represents a series of captured events

Author

       Dave Rolsky <autarch@urth.org>

Bugs

       See Markdent for bug reporting details.

       Bugs may be submitted at <https://github.com/houseabsolute/Markdent/issues>.

       I am also usually active on IRC as 'autarch' on "irc://irc.perl.org".

Description

       This represents a series of captured parser events, and can be used to replay them with a handle.

Methods

       This class provides the following methods:

   Markdent::CapturedEvents->new(events=>\@events);
       Creates a new Markdent::CapturedEvents object.

   $captured->events
       Returns the captured events as an array.

   $captured->capture_events(@events)
       Captures one or more events.

   $captured->replay_events($handler)
       Given an object which does the Markdent::Role::Handler role, this method will replay all the captured
       events to that handler.

Name

       Markdent::CapturedEvents - Represents a series of captured events

Source

       The source code repository for Markdent can be found at <https://github.com/houseabsolute/Markdent>.

Version

       version 0.40

See Also