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.

AUTHOR

Shlomi Fish, http://www.shlomifish.org/.

BUGS

Please report any bugs or feature requests to bug-xml-grammar-fiction at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=XML-Grammar-Fiction. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2007 Shlomi Fish, all rights reserved.

This program is released under the following license: MIT X11.