NAME

XML::Grammar::FictionBase::Event - a parser event.

For internal use only.

SLOTS

$event->elem()

The DOM (Document Object Model) element that the event refers to. See XML::Grammar::Fiction::FromProto::Node .

$event->tag_elem()

Extra tag_elem.

$event->type()

A string specifying the type.

tag

An optional string (or undef) with the tag name.

METHODS

$event->is_tag_of_name($name)

Determines if the $event is a tag and of name $name.

$event->is_open()

Returns true if the $event 's type is "open".

$event->is_open_or_close()

Returns true if the $event 's type is either "open" or "close".

$self->meta()

Leftover from Moo.