Lines Matching defs:Tree
2 package Tree::Simple::Visitor::VariableDepthClone;
11 use base qw(Tree::Simple::Visitor);
42 (blessed($tree) && $tree->isa("Tree::Simple"))
43 || die "Insufficient Arguments : You must supply a valid Tree::Simple object";
54 Tree::Simple::_cloneNode($tree->getNodeValue())
72 Tree::Simple::_cloneNode($child->getNodeValue())
86 Tree::Simple::Visitor::VariableDepthClone - A Visitor for cloning parts of Tree::Simple hierarchy
90 use Tree::Simple::Visitor::VariableDepthClone;
93 my $visitor = Tree::Simple::Visitor::VariableDepthClone->new();
126 This is the method that is used by Tree::Simple's C<accept> method. It can also be used on its own, it requires the C<$tree> argument to be a Tree::Simple object (or derived from a Tree::Simple object), and will throw and exception otherwise.
140 See the B<CODE COVERAGE> section in L<Tree::Simple::VisitorFactory> for more inforamtion.
144 These Visitor classes are all subclasses of B<Tree::Simple::Visitor>, which can be found in the B<Tree::Simple> module, you should refer to that module for more information.