Commits

Anonymous committed 9af70cd

Extracted the Struct/Tag.pm module with documentation.

Comments (0)

Files changed (3)

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

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;
 

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;
+
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.