Commits

Shlomi Fish committed 9443692

Get rid of "use ... ::Nodes".

Comments (0)

Files changed (6)

perl/modules/XML-Grammar-Fiction/lib/XML/Grammar/Fiction/FromProto/Node/Element.pm

 
 =head1 NAME
 
-XML::Grammar::Fiction::FromProto::Nodes - contains several nodes for
-use in XML::Grammar::Fiction::FromProto.
+XML::Grammar::Fiction::FromProto::Node::Element - an XML element node.
 
 =cut
 

perl/modules/XML-Grammar-Fiction/lib/XML/Grammar/Fiction/FromProto/Node/WithContent.pm

 
 =head1 NAME
 
-XML::Grammar::Fiction::FromProto::Nodes - contains several nodes for
-use in XML::Grammar::Fiction::FromProto.
+XML::Grammar::Fiction::FromProto::Node::WithContent - contains a node
+with content.
 
 =head1 VERSION
 

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

 
 use List::MoreUtils;
 
-use XML::Grammar::Fiction::FromProto::Nodes;
-
 =head1 NAME
 
 XML::Grammar::Fiction::Struct::Tag - information about an XML/SGML opening or

perl/modules/XML-Grammar-Fiction/lib/XML/Grammar/FictionBase/Event.pm

 
 use MooX 'late';
 
-use XML::Grammar::Fiction::FromProto::Nodes;
+use XML::Grammar::Fiction::FromProto::Node;
 
 has 'type' => (isa => "Str", is => "ro");
 has 'tag' => (isa => "Maybe[Str]", is => "ro", predicate => '_has_tag',);

perl/modules/XML-Grammar-Fiction/lib/XML/Grammar/FictionBase/FromProto/Parser/XmlIterator.pm

 use XML::Grammar::Fiction::Struct::Tag;
 use XML::Grammar::FictionBase::Event;
 
+use XML::Grammar::Fiction::FromProto::Node::WithContent;
+use XML::Grammar::Fiction::FromProto::Node::Element;
+use XML::Grammar::Fiction::FromProto::Node::List;
+use XML::Grammar::Fiction::FromProto::Node::Text;
+use XML::Grammar::Fiction::FromProto::Node::Saying;
+use XML::Grammar::Fiction::FromProto::Node::Description;
+use XML::Grammar::Fiction::FromProto::Node::Paragraph;
+use XML::Grammar::Fiction::FromProto::Node::InnerDesc;
+use XML::Grammar::Fiction::FromProto::Node::Comment;
+
 extends("XML::Grammar::FictionBase::FromProto::Parser::LineIterator");
 
 has "_tags_stack" =>

perl/modules/XML-Grammar-Fiction/lib/XML/Grammar/FictionBase/TagsTree2XML.pm

 use XML::Writer;
 use HTML::Entities ();
 
-use XML::Grammar::Fiction::FromProto::Nodes;
-
 sub _get_xml_xml_ns
 {
     return "http://www.w3.org/XML/1998/namespace";