The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Search results for "module:Tree::Simple::VisitorFactory"

Tree::Simple::VisitorFactory - A factory object for dispensing Visitor objects River stage two • 5 direct dependents • 22 total dependents

This object is really just a factory for dispensing Tree::Simple::Visitor::* objects. It is not required to use this package in order to use all the Visitors, it is just a somewhat convenient way to avoid having to type their long class names. I cons...

RSAVAGE/Tree-Simple-VisitorFactory-0.16 - 02 Feb 2021 02:04:51 UTC

Tree::Simple::Visitor::Sort - A Visitor for sorting a Tree::Simple object hierarchy River stage two • 5 direct dependents • 22 total dependents

This implements a recursive multi-level sort of a Tree::Simple hierarchy. I think this deserves some more explanation, and the best way to do that is visually. Given the tree: 1 1.3 1.2 1.2.2 1.2.1 1.1 4 4.1 2 2.1 3 3.3 3.2 3.1 A normal sort would pr...

RSAVAGE/Tree-Simple-VisitorFactory-0.16 - 02 Feb 2021 02:04:51 UTC

Tree::Simple::Visitor::FindByUID - A Visitor for finding an element in a Tree::Simple hierarchy by UID River stage two • 5 direct dependents • 22 total dependents

Given a UID and Tree::Simple hierarchy, this Visitor will attempt to find the node with the same UID....

RSAVAGE/Tree-Simple-VisitorFactory-0.16 - 02 Feb 2021 02:04:51 UTC

Tree::Simple::Visitor::FindByPath - A Visitor for finding an element in a Tree::Simple hierarchy with a path River stage two • 5 direct dependents • 22 total dependents

Given a path and Tree::Simple hierarchy, this Visitor will attempt to find the node specified by the path....

RSAVAGE/Tree-Simple-VisitorFactory-0.16 - 02 Feb 2021 02:04:51 UTC

Tree::Simple::Visitor::PathToRoot - A Visitor for finding the path back a Tree::Simple object's root River stage two • 5 direct dependents • 22 total dependents

Given a Tree::Simple object, this Visitor will find the path back to the tree's root node....

RSAVAGE/Tree-Simple-VisitorFactory-0.16 - 02 Feb 2021 02:04:51 UTC

Tree::Simple::Visitor::ToNestedHash - A Visitor for creating nested hash trees from Tree::Simple objects. River stage two • 5 direct dependents • 22 total dependents

Given a tree constructed from a Tree::Simple hierarchy, this Visitor will create the equivalent tree of nested hashes....

RSAVAGE/Tree-Simple-VisitorFactory-0.16 - 02 Feb 2021 02:04:51 UTC

Tree::Simple::Visitor::ToNestedArray - A Visitor for creating nested array trees from Tree::Simple objects. River stage two • 5 direct dependents • 22 total dependents

Given a tree constructed from a Tree::Simple hierarchy, this Visitor will create the equivalent tree of nested arrays....

RSAVAGE/Tree-Simple-VisitorFactory-0.16 - 02 Feb 2021 02:04:51 UTC

Tree::Simple::Visitor::FromNestedHash - A Visitor for creating Tree::Simple objects from nested hash trees. River stage two • 5 direct dependents • 22 total dependents

Given a tree constructed from nested hashes, this Visitor will create the equivalent Tree::Simple hierarchy....

RSAVAGE/Tree-Simple-VisitorFactory-0.16 - 02 Feb 2021 02:04:51 UTC

Tree::Simple::Visitor::FromNestedArray - A Visitor for creating Tree::Simple objects from nested array trees. River stage two • 5 direct dependents • 22 total dependents

Given a tree constructed from nested arrays, this Visitor will create the equivalent Tree::Simple hierarchy....

RSAVAGE/Tree-Simple-VisitorFactory-0.16 - 02 Feb 2021 02:04:51 UTC

Tree::Simple::Visitor::FindByNodeValue - A Visitor for finding an element in a Tree::Simple hierarchy by node value River stage two • 5 direct dependents • 22 total dependents

Given a node value and Tree::Simple hierarchy, this Visitor will attempt to find the node with the same node value....

RSAVAGE/Tree-Simple-VisitorFactory-0.16 - 02 Feb 2021 02:04:51 UTC

Tree::Simple::Visitor::LoadDirectoryTree - A Visitor for loading the contents of a directory into a Tree::Simple object River stage two • 5 direct dependents • 22 total dependents

This visitor can be used to load a directory tree into a Tree::Simple hierarchy....

RSAVAGE/Tree-Simple-VisitorFactory-0.16 - 02 Feb 2021 02:04:51 UTC

Tree::Simple::Visitor::PreOrderTraversal - A Visitor for pre-order traversal a Tree::Simple hierarchy River stage two • 5 direct dependents • 22 total dependents

Pre-order traversal is a depth-first traversal method in which the sub-tree's are processed *after* the parent. It is essentially a wrapper around the base Tree::Simple::Visitor class, and is a separate module here for completeness. (If you have a po...

RSAVAGE/Tree-Simple-VisitorFactory-0.16 - 02 Feb 2021 02:04:51 UTC

Tree::Simple::Visitor::GetAllDescendents - A Visitor for fetching all the descendents of a Tree::Simple object River stage two • 5 direct dependents • 22 total dependents

Given a Tree::Simple instance this Visitor will return all the descendents recursively on down the hierarchy....

RSAVAGE/Tree-Simple-VisitorFactory-0.16 - 02 Feb 2021 02:04:51 UTC

Tree::Simple::Visitor::LoadClassHierarchy - A Visitor for loading class hierarchies into a Tree::Simple hierarchy River stage two • 5 direct dependents • 22 total dependents

This visitor will traverse a class's inheritance hierarchy (through the @ISA arrays) and create a Tree::Simple hierarchy which mirrors it....

RSAVAGE/Tree-Simple-VisitorFactory-0.16 - 02 Feb 2021 02:04:51 UTC

Tree::Simple::Visitor::PostOrderTraversal - A Visitor for post-order traversal a Tree::Simple hierarchy River stage two • 5 direct dependents • 22 total dependents

Post-order traversal is a variation of the depth-first traversal in which the sub-tree's are processed *before* the parent. It is another alternative to Tree::Simple's "traverse" method which implements a depth-first, pre-order traversal....

RSAVAGE/Tree-Simple-VisitorFactory-0.16 - 02 Feb 2021 02:04:51 UTC

Tree::Simple::Visitor::VariableDepthClone - A Visitor for cloning parts of Tree::Simple hierarchy River stage two • 5 direct dependents • 22 total dependents

This visitor will clone...

RSAVAGE/Tree-Simple-VisitorFactory-0.16 - 02 Feb 2021 02:04:51 UTC

Tree::Simple::Visitor::CreateDirectoryTree - A Visitor for create a set of directories and files from a Tree::Simple object River stage two • 5 direct dependents • 22 total dependents

This visitor can be used to create a set of directories and files from a Tree::Simple object hierarchy....

RSAVAGE/Tree-Simple-VisitorFactory-0.16 - 02 Feb 2021 02:04:51 UTC

Tree::Simple::Visitor::BreadthFirstTraversal - A Visitor for breadth-first traversal a Tree::Simple hierarchy River stage two • 5 direct dependents • 22 total dependents

This implements a breadth-first traversal of a Tree::Simple hierarchy. This can be an alternative to the built in depth-first traversal of the Tree::Simple "traverse" method....

RSAVAGE/Tree-Simple-VisitorFactory-0.16 - 02 Feb 2021 02:04:51 UTC

Tree::Simple - A simple tree object River stage two • 15 direct dependents • 34 total dependents

This module in an fully object-oriented implementation of a simple n-ary tree. It is built upon the concept of parent-child relationships, so therefore every Tree::Simple object has both a parent and a set of children (who themselves may have childre...

RSAVAGE/Tree-Simple-1.34 - 02 Feb 2021 01:26:51 UTC

Tree::Binary - An Object Oriented Binary Tree for Perl River stage one • 2 direct dependents • 2 total dependents

This module is a fully object oriented implementation of a binary tree. Binary trees are a specialized type of tree which has only two possible branches, a left branch and a right branch. While it is possible to use an *n*-ary tree, like Tree::Simple...

RSAVAGE/Tree-Binary-1.09 - 01 Feb 2021 23:46:40 UTC
23 results (0.065 seconds)