Commits

shl...@52c325ad-5fd0-0310-8a0f-c43feede02cc  committed 9af70cd

Extracted the Struct/Tag.pm module with documentation.

  • Participants
  • Parent commits 7fa9268

Comments (0)

Files changed (3)

File perl/modules/XML-Grammar-Fiction/MANIFEST

 lib/XML/Grammar/Fiction/FromProto/Parser/QnD.pm
 lib/XML/Grammar/Fiction/FromProto.pm
 lib/XML/Grammar/Fiction.pm
+lib/XML/Grammar/Fiction/Struct/Tag.pm
 lib/XML/Grammar/Fiction/ToDocBook.pm
 lib/XML/Grammar/Fiction/ToHTML.pm
 Makefile.PL

File perl/modules/XML-Grammar-Fiction/lib/XML/Grammar/Fiction/FromProto/Parser/QnD.pm

 
 use XML::Grammar::Fiction::FromProto::Nodes;
 
+use XML::Grammar::Fiction::Struct::Tag;
 use XML::Grammar::Fiction::Err;
 
 =head1 NAME
 
 =cut
 
-package XML::Grammar::Fiction::Struct::Tag;
-
-use Moose;
-
-has 'name' => (is => "rw", isa => "Str");
-has 'line' => (is => "rw", isa => "Int");
-
 1;
 

File perl/modules/XML-Grammar-Fiction/lib/XML/Grammar/Fiction/Struct/Tag.pm

+package XML::Grammar::Fiction::Struct::Tag;
+
+use strict;
+use warnings;
+
+use Moose;
+
+
+=head1 NAME
+
+XML::Grammar::Fiction::Struct::Tag - information about an XML/SGML opening or 
+closing tag.
+
+B<For internal use only>.
+
+=head1 VERSION
+
+Version 0.0.1
+
+=cut
+
+our $VERSION = '0.0.1';
+
+has 'name' => (is => "rw", isa => "Str");
+has 'line' => (is => "rw", isa => "Int");
+
+=head1 METHODS
+
+=head2 $self->name()
+
+The tag's name.
+
+=head2 $self->line()
+
+The tag's line number.
+
+=head1 AUTHOR
+
+Shlomi Fish, L<http://www.shlomifish.org/>.
+
+=head1 BUGS
+
+Please report any bugs or feature requests to
+C<bug-xml-grammar-fiction at rt.cpan.org>, or through the web interface at
+L<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.
+
+=head1 ACKNOWLEDGEMENTS
+
+=head1 COPYRIGHT & LICENSE
+
+Copyright 2007 Shlomi Fish, all rights reserved.
+
+This program is released under the following license: MIT X11.
+
+=cut
+
+1;
+